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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
68 class WebFormElement; | 68 class WebFormElement; |
69 class WebGeolocationClient; | 69 class WebGeolocationClient; |
70 class WebMediaPlayer; | 70 class WebMediaPlayer; |
71 class WebMediaPlayerClient; | 71 class WebMediaPlayerClient; |
72 class WebMIDIClient; | 72 class WebMIDIClient; |
73 class WebNotificationPermissionCallback; | 73 class WebNotificationPermissionCallback; |
74 class WebServiceWorkerProvider; | 74 class WebServiceWorkerProvider; |
75 class WebSocketHandle; | 75 class WebSocketHandle; |
76 class WebPlugin; | 76 class WebPlugin; |
77 class WebPluginPlaceholder; | 77 class WebPluginPlaceholder; |
78 class WebPresentationClient; | |
78 class WebPushClient; | 79 class WebPushClient; |
79 class WebRTCPeerConnectionHandler; | 80 class WebRTCPeerConnectionHandler; |
80 class WebScreenOrientationClient; | 81 class WebScreenOrientationClient; |
81 class WebSpeechRecognizer; | 82 class WebSpeechRecognizer; |
82 class WebString; | 83 class WebString; |
83 class WebURL; | 84 class WebURL; |
84 class WebURLResponse; | 85 class WebURLResponse; |
85 class WebUserMediaClient; | 86 class WebUserMediaClient; |
86 class WebWorkerPermissionClientProxy; | 87 class WebWorkerPermissionClientProxy; |
87 struct WebColorSuggestion; | 88 struct WebColorSuggestion; |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
326 // Requests permission to display platform notifications on the origin of th is frame. | 327 // Requests permission to display platform notifications on the origin of th is frame. |
327 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { } | 328 virtual void requestNotificationPermission(const WebSecurityOrigin&, WebNoti ficationPermissionCallback* callback) { } |
328 | 329 |
329 | 330 |
330 // Push API --------------------------------------------------- | 331 // Push API --------------------------------------------------- |
331 | 332 |
332 // Used to access the embedder for the Push API. | 333 // Used to access the embedder for the Push API. |
333 virtual WebPushClient* pushClient() { return 0; } | 334 virtual WebPushClient* pushClient() { return 0; } |
334 | 335 |
335 | 336 |
337 // Presentation API ---------------------------------------------------- | |
338 | |
339 // Used to access the embedder for the Presentation API. | |
340 virtual WebPresentationClient* presentationClient() { return 0; } | |
mark a. foltz
2015/01/09 00:35:10
return nullptr?
whywhat
2015/01/22 21:18:17
I did "return 0;" for consistency. There're many "
| |
341 | |
342 | |
336 // Editing ------------------------------------------------------------- | 343 // Editing ------------------------------------------------------------- |
337 | 344 |
338 // These methods allow the client to intercept and overrule editing | 345 // These methods allow the client to intercept and overrule editing |
339 // operations. | 346 // operations. |
340 virtual void didChangeSelection(bool isSelectionEmpty) { } | 347 virtual void didChangeSelection(bool isSelectionEmpty) { } |
341 | 348 |
342 | 349 |
343 // Dialogs ------------------------------------------------------------- | 350 // Dialogs ------------------------------------------------------------- |
344 | 351 |
345 // This method opens the color chooser and returns a new WebColorChooser | 352 // This method opens the color chooser and returns a new WebColorChooser |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
611 virtual bool enterFullscreen() { return false; } | 618 virtual bool enterFullscreen() { return false; } |
612 virtual bool exitFullscreen() { return false; } | 619 virtual bool exitFullscreen() { return false; } |
613 | 620 |
614 protected: | 621 protected: |
615 virtual ~WebFrameClient() { } | 622 virtual ~WebFrameClient() { } |
616 }; | 623 }; |
617 | 624 |
618 } // namespace blink | 625 } // namespace blink |
619 | 626 |
620 #endif | 627 #endif |
OLD | NEW |