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

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: Created 5 years, 4 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 class WebGeolocationClient; 74 class WebGeolocationClient;
75 class WebMediaPlayer; 75 class WebMediaPlayer;
76 class WebMediaPlayerClient; 76 class WebMediaPlayerClient;
77 class WebMediaPlayerEncryptedMediaClient; 77 class WebMediaPlayerEncryptedMediaClient;
78 class WebMIDIClient; 78 class WebMIDIClient;
79 class WebNotificationPermissionCallback; 79 class WebNotificationPermissionCallback;
80 class WebPermissionClient; 80 class WebPermissionClient;
81 class WebServiceWorkerProvider; 81 class WebServiceWorkerProvider;
82 class WebSocketHandle; 82 class WebSocketHandle;
83 class WebPlugin; 83 class WebPlugin;
84 class WebPluginPlaceholder;
85 class WebPresentationClient; 84 class WebPresentationClient;
86 class WebPushClient; 85 class WebPushClient;
87 class WebRTCPeerConnectionHandler; 86 class WebRTCPeerConnectionHandler;
88 class WebScreenOrientationClient; 87 class WebScreenOrientationClient;
89 class WebString; 88 class WebString;
90 class WebURL; 89 class WebURL;
91 class WebURLResponse; 90 class WebURLResponse;
92 class WebUSBClient; 91 class WebUSBClient;
93 class WebUserMediaClient; 92 class WebUserMediaClient;
94 class WebVRClient; 93 class WebVRClient;
95 class WebWakeLockClient; 94 class WebWakeLockClient;
96 class WebWorkerContentSettingsClientProxy; 95 class WebWorkerContentSettingsClientProxy;
97 struct WebColorSuggestion; 96 struct WebColorSuggestion;
98 struct WebConsoleMessage; 97 struct WebConsoleMessage;
99 struct WebContextMenuData; 98 struct WebContextMenuData;
100 struct WebPluginParams; 99 struct WebPluginParams;
101 struct WebPopupMenuInfo; 100 struct WebPopupMenuInfo;
102 struct WebRect; 101 struct WebRect;
103 struct WebURLError; 102 struct WebURLError;
104 103
105 class WebFrameClient { 104 class WebFrameClient {
106 public: 105 public:
107 // Factory methods ----------------------------------------------------- 106 // Factory methods -----------------------------------------------------
108 107
109 // May return null. 108 // May return null.
110 virtual WebPluginPlaceholder* createPluginPlaceholder(WebLocalFrame*, const WebPluginParams&) { return 0; }
111
112 // May return null.
113 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; } 109 virtual WebPlugin* createPlugin(WebLocalFrame*, const WebPluginParams&) { re turn 0; }
114 110
115 // May return null. 111 // May return null.
116 // WebContentDecryptionModule* may be null if one has not yet been set. 112 // WebContentDecryptionModule* may be null if one has not yet been set.
117 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; } 113 virtual WebMediaPlayer* createMediaPlayer(WebLocalFrame*, const WebURL&, Web MediaPlayerClient*, WebMediaPlayerEncryptedMediaClient*, WebContentDecryptionMod ule*) { return 0; }
118 114
119 // May return null. 115 // May return null.
120 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; } 116 virtual WebApplicationCacheHost* createApplicationCacheHost(WebLocalFrame*, WebApplicationCacheHostClient*) { return 0; }
121 117
122 // May return null. 118 // May return null.
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 // WebUSB -------------------------------------------------------------- 677 // WebUSB --------------------------------------------------------------
682 virtual WebUSBClient* usbClient() { return nullptr; } 678 virtual WebUSBClient* usbClient() { return nullptr; }
683 679
684 protected: 680 protected:
685 virtual ~WebFrameClient() { } 681 virtual ~WebFrameClient() { }
686 }; 682 };
687 683
688 } // namespace blink 684 } // namespace blink
689 685
690 #endif 686 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698