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; | |
93 class WebServiceWorkerProvider; | 92 class WebServiceWorkerProvider; |
94 class WebSocketHandle; | 93 class WebSocketHandle; |
95 class WebPlugin; | 94 class WebPlugin; |
96 class WebPresentationClient; | 95 class WebPresentationClient; |
97 class WebPushClient; | 96 class WebPushClient; |
98 class WebRTCPeerConnectionHandler; | 97 class WebRTCPeerConnectionHandler; |
99 class WebScreenOrientationClient; | 98 class WebScreenOrientationClient; |
100 class WebString; | 99 class WebString; |
101 class WebURL; | 100 class WebURL; |
102 class WebURLResponse; | 101 class WebURLResponse; |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 // The frame's theme color has changed. | 363 // The frame's theme color has changed. |
365 virtual void didChangeThemeColor() { } | 364 virtual void didChangeThemeColor() { } |
366 | 365 |
367 // Called to dispatch a load event for this frame in the FrameOwner of an | 366 // Called to dispatch a load event for this frame in the FrameOwner of an |
368 // out-of-process parent frame. | 367 // out-of-process parent frame. |
369 virtual void dispatchLoad() { } | 368 virtual void dispatchLoad() { } |
370 | 369 |
371 // Returns the effective connection type when the frame was fetched. | 370 // Returns the effective connection type when the frame was fetched. |
372 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } | 371 virtual WebEffectiveConnectionType getEffectiveConnectionType() { return Web
EffectiveConnectionType::TypeUnknown; } |
373 | 372 |
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 | |
379 | 373 |
380 // Push API --------------------------------------------------- | 374 // Push API --------------------------------------------------- |
381 | 375 |
382 // Used to access the embedder for the Push API. | 376 // Used to access the embedder for the Push API. |
383 virtual WebPushClient* pushClient() { return 0; } | 377 virtual WebPushClient* pushClient() { return 0; } |
384 | 378 |
385 | 379 |
386 // Presentation API ---------------------------------------------------- | 380 // Presentation API ---------------------------------------------------- |
387 | 381 |
388 // Used to access the embedder for the Presentation API. | 382 // Used to access the embedder for the Presentation API. |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
709 return WebURL(); | 703 return WebURL(); |
710 } | 704 } |
711 | 705 |
712 protected: | 706 protected: |
713 virtual ~WebFrameClient() { } | 707 virtual ~WebFrameClient() { } |
714 }; | 708 }; |
715 | 709 |
716 } // namespace blink | 710 } // namespace blink |
717 | 711 |
718 #endif | 712 #endif |
OLD | NEW |