OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2011, 2012 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 class WebExternalPopupMenuClient; | 82 class WebExternalPopupMenuClient; |
83 class WebFileChooserCompletion; | 83 class WebFileChooserCompletion; |
84 class WebFormElement; | 84 class WebFormElement; |
85 class WebInstalledAppClient; | 85 class WebInstalledAppClient; |
86 class WebMediaPlayer; | 86 class WebMediaPlayer; |
87 class WebMediaPlayerClient; | 87 class WebMediaPlayerClient; |
88 class WebMediaPlayerEncryptedMediaClient; | 88 class WebMediaPlayerEncryptedMediaClient; |
89 class WebMediaPlayerSource; | 89 class WebMediaPlayerSource; |
90 class WebMediaSession; | 90 class WebMediaSession; |
91 class WebMediaStream; | 91 class WebMediaStream; |
| 92 class WebNotificationPermissionCallback; |
92 class WebServiceWorkerProvider; | 93 class WebServiceWorkerProvider; |
93 class WebSocketHandle; | 94 class WebSocketHandle; |
94 class WebPlugin; | 95 class WebPlugin; |
95 class WebPresentationClient; | 96 class WebPresentationClient; |
96 class WebPushClient; | 97 class WebPushClient; |
97 class WebRTCPeerConnectionHandler; | 98 class WebRTCPeerConnectionHandler; |
98 class WebScreenOrientationClient; | 99 class WebScreenOrientationClient; |
99 class WebString; | 100 class WebString; |
100 class WebURL; | 101 class WebURL; |
101 class WebURLResponse; | 102 class WebURLResponse; |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 // The frame's theme color has changed. | 364 // The frame's theme color has changed. |
364 virtual void didChangeThemeColor() { } | 365 virtual void didChangeThemeColor() { } |
365 | 366 |
366 // Called to dispatch a load event for this frame in the FrameOwner of an | 367 // Called to dispatch a load event for this frame in the FrameOwner of an |
367 // out-of-process parent frame. | 368 // out-of-process parent frame. |
368 virtual void dispatchLoad() { } | 369 virtual void dispatchLoad() { } |
369 | 370 |
370 // Returns the effective connection type when the frame was fetched. | 371 // Returns the effective connection type when the frame was fetched. |
371 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 372 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
372 | 373 |
| 374 // Web Notifications --------------------------------------------------- |
| 375 |
| 376 // Requests permission to display platform notifications on the origin of th
is frame. |
| 377 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti
ficationPermissionCallback* callback) { } |
| 378 |
373 | 379 |
374 // Push API --------------------------------------------------- | 380 // Push API --------------------------------------------------- |
375 | 381 |
376 // Used to access the embedder for the Push API. | 382 // Used to access the embedder for the Push API. |
377 virtual WebPushClient* pushClient() { return 0; } | 383 virtual WebPushClient* pushClient() { return 0; } |
378 | 384 |
379 | 385 |
380 // Presentation API ---------------------------------------------------- | 386 // Presentation API ---------------------------------------------------- |
381 | 387 |
382 // Used to access the embedder for the Presentation API. | 388 // Used to access the embedder for the Presentation API. |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 return WebURL(); | 709 return WebURL(); |
704 } | 710 } |
705 | 711 |
706 protected: | 712 protected: |
707 virtual ~WebFrameClient() { } | 713 virtual ~WebFrameClient() { } |
708 }; | 714 }; |
709 | 715 |
710 } // namespace blink | 716 } // namespace blink |
711 | 717 |
712 #endif | 718 #endif |
OLD | NEW |