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

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: Created 5 years, 11 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
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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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; }
Peter Beverloo 2015/01/07 14:29:09 nit: two blank lines under here for consistency. E
whywhat 2015/01/07 16:22:16 Done.
341
336 // Editing ------------------------------------------------------------- 342 // Editing -------------------------------------------------------------
337 343
338 // These methods allow the client to intercept and overrule editing 344 // These methods allow the client to intercept and overrule editing
339 // operations. 345 // operations.
340 virtual void didChangeSelection(bool isSelectionEmpty) { } 346 virtual void didChangeSelection(bool isSelectionEmpty) { }
341 347
342 348
343 // Dialogs ------------------------------------------------------------- 349 // Dialogs -------------------------------------------------------------
344 350
345 // This method opens the color chooser and returns a new WebColorChooser 351 // This method opens the color chooser and returns a new WebColorChooser
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 virtual bool enterFullscreen() { return false; } 617 virtual bool enterFullscreen() { return false; }
612 virtual bool exitFullscreen() { return false; } 618 virtual bool exitFullscreen() { return false; }
613 619
614 protected: 620 protected:
615 virtual ~WebFrameClient() { } 621 virtual ~WebFrameClient() { }
616 }; 622 };
617 623
618 } // namespace blink 624 } // namespace blink
619 625
620 #endif 626 #endif
OLDNEW
« public/platform/WebPresentationController.h ('K') | « public/platform/WebPresentationController.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698