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

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

Issue 1642283002: Deal with frame removal by content scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add more runScriptsAtDocumentElementAvailable + comments Created 4 years, 9 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 const std::string& mime_type, 143 const std::string& mime_type,
144 const GURL& original_url) override; 144 const GURL& original_url) override;
145 void RecordRappor(const std::string& metric, 145 void RecordRappor(const std::string& metric,
146 const std::string& sample) override; 146 const std::string& sample) override;
147 void RecordRapporURL(const std::string& metric, const GURL& url) override; 147 void RecordRapporURL(const std::string& metric, const GURL& url) override;
148 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient( 148 scoped_ptr<blink::WebAppBannerClient> CreateAppBannerClient(
149 content::RenderFrame* render_frame) override; 149 content::RenderFrame* render_frame) override;
150 void AddImageContextMenuProperties( 150 void AddImageContextMenuProperties(
151 const blink::WebURLResponse& response, 151 const blink::WebURLResponse& response,
152 std::map<std::string, std::string>* properties) override; 152 std::map<std::string, std::string>* properties) override;
153 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override;
154 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override;
153 void DidInitializeServiceWorkerContextOnWorkerThread( 155 void DidInitializeServiceWorkerContextOnWorkerThread(
154 v8::Local<v8::Context> context, 156 v8::Local<v8::Context> context,
155 const GURL& url) override; 157 const GURL& url) override;
156 void WillDestroyServiceWorkerContextOnWorkerThread( 158 void WillDestroyServiceWorkerContextOnWorkerThread(
157 v8::Local<v8::Context> context, 159 v8::Local<v8::Context> context,
158 const GURL& url) override; 160 const GURL& url) override;
159 bool ShouldEnforceWebRTCRoutingPreferences() override; 161 bool ShouldEnforceWebRTCRoutingPreferences() override;
160 base::StringPiece GetOriginTrialPublicKey() override; 162 base::StringPiece GetOriginTrialPublicKey() override;
161 163
162 #if defined(ENABLE_SPELLCHECK) 164 #if defined(ENABLE_SPELLCHECK)
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 #if defined(ENABLE_PRINT_PREVIEW) 224 #if defined(ENABLE_PRINT_PREVIEW)
223 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 225 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
224 #endif 226 #endif
225 #if defined(ENABLE_PLUGINS) 227 #if defined(ENABLE_PLUGINS)
226 std::set<std::string> allowed_camera_device_origins_; 228 std::set<std::string> allowed_camera_device_origins_;
227 std::set<std::string> allowed_compositor_origins_; 229 std::set<std::string> allowed_compositor_origins_;
228 #endif 230 #endif
229 }; 231 };
230 232
231 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 233 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698