Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: public/web/WebFrameClient.h

Issue 832263007: Added plumbing for the availablechange event from Blink to WebPresentationClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added onClientDestroyed Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « public/platform/WebPresentationController.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 class WebFormElement; 69 class WebFormElement;
70 class WebGeolocationClient; 70 class WebGeolocationClient;
71 class WebMediaPlayer; 71 class WebMediaPlayer;
72 class WebMediaPlayerClient; 72 class WebMediaPlayerClient;
73 class WebMIDIClient; 73 class WebMIDIClient;
74 class WebNotificationPermissionCallback; 74 class WebNotificationPermissionCallback;
75 class WebServiceWorkerProvider; 75 class WebServiceWorkerProvider;
76 class WebSocketHandle; 76 class WebSocketHandle;
77 class WebPlugin; 77 class WebPlugin;
78 class WebPluginPlaceholder; 78 class WebPluginPlaceholder;
79 class WebPresentationClient;
79 class WebPushClient; 80 class WebPushClient;
80 class WebRTCPeerConnectionHandler; 81 class WebRTCPeerConnectionHandler;
81 class WebScreenOrientationClient; 82 class WebScreenOrientationClient;
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;
88 struct WebConsoleMessage; 89 struct WebConsoleMessage;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
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; }
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 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 }; 625 };
619 virtual void suddenTerminationDisablerChanged(int variation, SuddenTerminati onDisablerType) { } 626 virtual void suddenTerminationDisablerChanged(int variation, SuddenTerminati onDisablerType) { }
620 627
621 protected: 628 protected:
622 virtual ~WebFrameClient() { } 629 virtual ~WebFrameClient() { }
623 }; 630 };
624 631
625 } // namespace blink 632 } // namespace blink
626 633
627 #endif 634 #endif
OLDNEW
« no previous file with comments | « public/platform/WebPresentationController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698