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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2928033002: Move GetDocument method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Split a DCHECK in two as suggested by boliu@. Created 3 years, 6 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 bool ShouldOverridePageVisibilityState( 152 bool ShouldOverridePageVisibilityState(
153 const content::RenderFrame* render_frame, 153 const content::RenderFrame* render_frame,
154 blink::WebPageVisibilityState* override_state) override; 154 blink::WebPageVisibilityState* override_state) override;
155 bool IsExternalPepperPlugin(const std::string& module_name) override; 155 bool IsExternalPepperPlugin(const std::string& module_name) override;
156 std::unique_ptr<blink::WebSpeechSynthesizer> OverrideSpeechSynthesizer( 156 std::unique_ptr<blink::WebSpeechSynthesizer> OverrideSpeechSynthesizer(
157 blink::WebSpeechSynthesizerClient* client) override; 157 blink::WebSpeechSynthesizerClient* client) override;
158 bool ShouldReportDetailedMessageForSource( 158 bool ShouldReportDetailedMessageForSource(
159 const base::string16& source) const override; 159 const base::string16& source) const override;
160 bool ShouldGatherSiteIsolationStats() const override; 160 bool ShouldGatherSiteIsolationStats() const override;
161 std::unique_ptr<blink::WebContentSettingsClient> 161 std::unique_ptr<blink::WebContentSettingsClient>
162 CreateWorkerContentSettingsClient(content::RenderFrame* render_frame, 162 CreateWorkerContentSettingsClient(
163 blink::WebFrame* frame) override; 163 content::RenderFrame* render_frame) override;
164 bool AllowPepperMediaStreamAPI(const GURL& url) override; 164 bool AllowPepperMediaStreamAPI(const GURL& url) override;
165 void AddSupportedKeySystems( 165 void AddSupportedKeySystems(
166 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems) 166 std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems)
167 override; 167 override;
168 bool IsKeySystemsUpdateNeeded() override; 168 bool IsKeySystemsUpdateNeeded() override;
169 bool IsPluginAllowedToUseDevChannelAPIs() override; 169 bool IsPluginAllowedToUseDevChannelAPIs() override;
170 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; 170 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override;
171 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 171 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
172 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 172 content::BrowserPluginDelegate* CreateBrowserPluginDelegate(
173 content::RenderFrame* render_frame, 173 content::RenderFrame* render_frame,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 // Observes module load and unload events and notifies the ModuleDatabase in 273 // Observes module load and unload events and notifies the ModuleDatabase in
274 // the browser process. 274 // the browser process.
275 std::unique_ptr<ModuleWatcher> module_watcher_; 275 std::unique_ptr<ModuleWatcher> module_watcher_;
276 mojom::ModuleEventSinkPtr module_event_sink_; 276 mojom::ModuleEventSinkPtr module_event_sink_;
277 #endif 277 #endif
278 278
279 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); 279 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient);
280 }; 280 };
281 281
282 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 282 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/autofill/password_autofill_agent_browsertest.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698