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

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

Issue 1313763002: Blink Plugins: Remove Shadow DOM Plugin Placeholder (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: merge origin/master Created 5 years, 3 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/blink_resources.grd ('k') | public/web/WebPluginPlaceholder.h » ('j') | 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 class WebGeolocationClient; 73 class WebGeolocationClient;
74 class WebMediaPlayer; 74 class WebMediaPlayer;
75 class WebMediaPlayerClient; 75 class WebMediaPlayerClient;
76 class WebMediaPlayerEncryptedMediaClient; 76 class WebMediaPlayerEncryptedMediaClient;
77 class WebMIDIClient; 77 class WebMIDIClient;
78 class WebNotificationPermissionCallback; 78 class WebNotificationPermissionCallback;
79 class WebPermissionClient; 79 class WebPermissionClient;
80 class WebServiceWorkerProvider; 80 class WebServiceWorkerProvider;
81 class WebSocketHandle; 81 class WebSocketHandle;
82 class WebPlugin; 82 class WebPlugin;
83 class WebPluginPlaceholder;
84 class WebPresentationClient; 83 class WebPresentationClient;
85 class WebPushClient; 84 class WebPushClient;
86 class WebRTCPeerConnectionHandler; 85 class WebRTCPeerConnectionHandler;
87 class WebScreenOrientationClient; 86 class WebScreenOrientationClient;
88 class WebString; 87 class WebString;
89 class WebURL; 88 class WebURL;
90 class WebURLResponse; 89 class WebURLResponse;
91 class WebUSBClient; 90 class WebUSBClient;
92 class WebUserMediaClient; 91 class WebUserMediaClient;
93 class WebVRClient; 92 class WebVRClient;
94 class WebWakeLockClient; 93 class WebWakeLockClient;
95 class WebWorkerContentSettingsClientProxy; 94 class WebWorkerContentSettingsClientProxy;
96 struct WebColorSuggestion; 95 struct WebColorSuggestion;
97 struct WebConsoleMessage; 96 struct WebConsoleMessage;
98 struct WebContextMenuData; 97 struct WebContextMenuData;
99 struct WebPluginParams; 98 struct WebPluginParams;
100 struct WebPopupMenuInfo; 99 struct WebPopupMenuInfo;
101 struct WebRect; 100 struct WebRect;
102 struct WebURLError; 101 struct WebURLError;
103 102
104 class WebFrameClient { 103 class WebFrameClient {
105 public: 104 public:
106 // Factory methods ----------------------------------------------------- 105 // Factory methods -----------------------------------------------------
107 106
108 // May return null. 107 // May return null.
109 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; }
110
111 // May return null.
112 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 108 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
113 109
114 // May return null. 110 // May return null.
115 // WebContentDecryptionModule* may be null if one has not yet been set. 111 // WebContentDecryptionModule* may be null if one has not yet been set.
116 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; } 112 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; }
117 113
118 // May return null. 114 // May return null.
119 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 115 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
120 116
121 // May return null. 117 // May return null.
(...skipping 555 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 // WebUSB -------------------------------------------------------------- 673 // WebUSB --------------------------------------------------------------
678 virtual WebUSBClient* usbClient() { return nullptr; } 674 virtual WebUSBClient* usbClient() { return nullptr; }
679 675
680 protected: 676 protected:
681 virtual ~WebFrameClient() { } 677 virtual ~WebFrameClient() { }
682 }; 678 };
683 679
684 } // namespace blink 680 } // namespace blink
685 681
686 #endif 682 #endif
OLDNEW
« no previous file with comments | « public/blink_resources.grd ('k') | public/web/WebPluginPlaceholder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698