Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Key Takeaways
Chrome 48 introduces custom buttons in notifications, a new DevTools Security panel, and Presentation mode for mobile apps, allowing developers to enhance user engagement, ensure site security, and cast content to a second screen.
Full Transcript
[Music] Chrome 48 allows users to take immediate action on notifications with custom buttons the new developer tools security panel makes it easier to debug mix content issues and ensure your site is properly served over https and you can now add presentation mode to mobile apps easily casting content to a second screen these are just some of the new features for developers in Chrome 48 let's dive in and see what's new in Chrome until recently re-engaging with users of your website has been a challenge often involving bulk email but browser-based notifications changes that allowing you to send users timely relevant notifications for example letting them know that tickets to their favorite band are on sale or about a new chat message in Chrome 48 you can now add custom buttons to Notifications enabling users to complete the task entirely within the notification imagine that previous example a notification that tickets to your favorite band just went on sale with a buy now button to add buttons to your notifications add an array of actions including a title an action ID to the not notification info object if the user clicks on one of the actions that information is passed in the notification click event be sure to provide buttons that are specific and allow users to quickly respond to the notification and make sure that they're different from the default action Peter beverl has a cool sample you can try at the URL below we all expect sites that deal with our personal information to be served over https it's just standard practice as we start to build apps that take advantage of powerful features like service worker it's simply a requirement some apis that we've used for years without https like geolocation or device motion may require secure Connections in the future https helps to protect the Integrity of our apps and our users information there's a new security panel and developer tools to help with this at a glance it tells you whether the page is secure or not and can help you diagnose https issues it shows information about the certificate the protocol and Cipher and the status of all of the sub resources to see how it works in some of the different errors it'll help you debug open the new security panel and developer tools and check out https bad ssl.com how often have you gathered aou group of friends or co-workers around your phone to show them the latest meme or work video or something wouldn't it be awesome to be able to send it to a second larger screen directly from your phone Chrome 48 on Android now allows sites to present to Google Cast devices using the standard space presentation API and the cast web SDK the presentation API allows you to leverage a second display while using your mobile device as the controller not only to move between slides or choose which video plays next but as a game controller or input device imagine a racing game that uses your phone as the steering wheel or an interactive tutorial to help students improve their math skills there's some other cool new features in Chrome 48 like Network information. download Maxs which provides the maximum bandwidth of a device one use case warn users about a large transfer on cellular networks that might eat up their allotted band withd and there's the new get all methods that simplify bulk index DB interactions these are just some of the new features in Chrome 48 for developers be sure to check out the description below to get links to more details and learn about some of the other new features if you haven't already subscribe to our Chrome Developers YouTube channel to stay up to date with the latest news I'm Pete leage and as soon as Chrome 49 is released I'll be right here to tell you what's new in Chrome [Music]
Original Description
Chrome 48 allows users to take immediate action on notifications with custom buttons; the new Developer Tools Security panel makes it easier debug mixed content issues and ensure your site is properly served over HTTPS and you can now add presentation mode to mobile apps, easily casting content to a second screen. Pete LePage has all the details and how you can use these new developer features in Chrome 48!
Custom Buttons in Notifications
* Using actions from a service worker in the Notification Spec - https://notifications.spec.whatwg.org...
* Peter Beverloo’s Notification Generator - https://tests.peter.sh/notification-g...
New Developer Tools Security Panel
* DevTools docs on the new Security Panel - https://developers.google.com/web/too...
* BadSSL.com for testing BadSSL errors - https://badssl.com
Presentation Mode
* Presentation mode demo - https://storage.googleapis.com/presen...
* W3C Spec for the Presentation API - https://w3c.github.io/presentation-api/
* Cast Web SDK Docs - https://developers.google.com/cast/do...
Other cool stuff
* Detecting maximum connection speed - https://developer.mozilla.org/en-US/d...
* getAll methods added to IndexedDB - https://googlechrome.github.io/sample...
More info
* Chrome 48 Beta announcement - http://blog.chromium.org/2015/12/chro...
Subscribe to the Chrome Developers channel here: https://goo.gl/WkxCU5
Playlist
Uploads from Chrome for Developers · Chrome for Developers · 57 of 60
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
▶
58
59
60
Polymer Performance Patterns (The Polymer Summit 2015)
Chrome for Developers
Polymer Power Tools (The Polymer Summit 2015)
Chrome for Developers
Chrome Dev Summit 2014 – Chrome Case Studies
Chrome for Developers
Web Directions Code 2015 round up
Chrome for Developers
Maintainable Code - HTTP203
Chrome for Developers
iron-ajax… wat?! -- Polycasts #26
Chrome for Developers
The Guardian - Supercharged
Chrome for Developers
ES2015 (next version of JavaScript), Totally Tooling Tips (S2 Ep1)
Chrome for Developers
#AskPolymer: Rob answers all the questions ever -- Polycasts #27
Chrome for Developers
The Future of JavaScript - HTTP203
Chrome for Developers
Data Binding 101 -- Polycasts #28
Chrome for Developers
The Guardian part 2 - Supercharged
Chrome for Developers
The Future of Web Audio: with Chris Wilson and Chris Lowis
Chrome for Developers
Chrome 46: New motion-path animations, client hints and service worker improvements
Chrome for Developers
Sublime Snippets, Totally Tooling Tips (S2 Ep2)
Chrome for Developers
#AskPolymer: How do you make the show? -- Polycasts #29
Chrome for Developers
Critical Path CSS, Totally Tooling Tips (S2 Mini Tip #1)
Chrome for Developers
Binding to Objects -- Polycasts #30
Chrome for Developers
Player FM - Supercharged
Chrome for Developers
Where’s the Designer? #AskPolymer -- Polycasts #31
Chrome for Developers
Jake Beats Wikipedia - HTTP203
Chrome for Developers
Supercharged Observers! -- Polycasts #32
Chrome for Developers
Jai's Web blog - Supercharged
Chrome for Developers
Windows Command-line Tooling, Totally Tooling Tips (S2, Ep4)
Chrome for Developers
What about internationalization? #AskPolymer -- Polycasts #33
Chrome for Developers
Developing for Billions (Chrome Dev Summit 2015)
Chrome for Developers
Google+ Performance Improvement Comparison
Chrome for Developers
Deploying HTTPS: The Green Lock and Beyond (Chrome Dev Summit 2015)
Chrome for Developers
Progressive Web Apps (Chrome Dev Summit 2015)
Chrome for Developers
Instant Loading with Service Workers (Chrome Dev Summit 2015)
Chrome for Developers
Increase Engagement with Web Push Notifications (Chrome Dev Summit 2015)
Chrome for Developers
Engaging with the Real World: Web Bluetooth and Physical Web (Chrome Dev Summit 2015)
Chrome for Developers
Asking for Permission: respectful, opinionated UI (Chrome Dev Summit 2015)
Chrome for Developers
Polymer - State of the Union (Chrome Dev Summit 2015)
Chrome for Developers
Building Progressive Web Apps with Polymer (Chrome Dev Summit 2015)
Chrome for Developers
Introduction to RAIL (Chrome Dev Summit 2015)
Chrome for Developers
DevTools in 2015: Authoring to the max (Chrome Dev Summit 2015)
Chrome for Developers
RAIL in the real world (Chrome Dev Summit 2015)
Chrome for Developers
#ChromeDevSummit talks are up - W00T! -- Polycast #34
Chrome for Developers
V8 Performance from the Driver's Seat (Chrome Dev Summit 2015)
Chrome for Developers
Quantify and improve real-world RAIL (Chrome Dev Summit 2015)
Chrome for Developers
Owning your performance: RAIL (Chrome Dev Summit 2015)
Chrome for Developers
HTTP/2 101 (Chrome Dev Summit 2015)
Chrome for Developers
Leadership Panel (Chrome Dev Summit 2015)
Chrome for Developers
Build Processes, Totally Tooling Tips (S2, Ep 5)
Chrome for Developers
Accessibility (Chrome Dev Summit 2015)
Chrome for Developers
Binding to Arrays -- Polycasts #35
Chrome for Developers
HTTP2 - HTTP203
Chrome for Developers
Chrome 47: Splash Screens, requestIdleCallback and better desktop notifications (New in Chrome)
Chrome for Developers
Call For Submissions - Supercharged
Chrome for Developers
Cross Device Testing, Totally Tooling Tips (S2 Ep6)
Chrome for Developers
Testing AJAX with Web Component Tester -- Polycasts #37
Chrome for Developers
Slack: Extended Xmas Special - Supercharged
Chrome for Developers
Browser testing with Travis & Sauce Labs -- Polycasts #38
Chrome for Developers
Optimize for production with Vulcanize -- Polycasts #39
Chrome for Developers
Highlights from Chrome Dev Summit 2015
Chrome for Developers
Chrome 48: Custom buttons in notifications, DevTools Security panel, and Presentation mode
Chrome for Developers
Crisper: Protecting your Polymer app with CSP -- Polycasts #40
Chrome for Developers
How do I use Sass with Polymer? #AskPolymer -- Polycasts #41
Chrome for Developers
Colors – DevTools Tonight #0 (Pilot)
Chrome for Developers
🎓
Tutor Explanation
DeepCamp AI