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

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

Issue 2393513004: Convert app banners to use Mojo. (Closed)
Patch Set: Rebase Created 4 years, 2 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 bool IsPluginAllowedToUseDevChannelAPIs() override; 161 bool IsPluginAllowedToUseDevChannelAPIs() override;
162 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override; 162 bool IsPluginAllowedToUseCameraDeviceAPI(const GURL& url) override;
163 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 163 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
164 content::BrowserPluginDelegate* CreateBrowserPluginDelegate( 164 content::BrowserPluginDelegate* CreateBrowserPluginDelegate(
165 content::RenderFrame* render_frame, 165 content::RenderFrame* render_frame,
166 const std::string& mime_type, 166 const std::string& mime_type,
167 const GURL& original_url) override; 167 const GURL& original_url) override;
168 void RecordRappor(const std::string& metric, 168 void RecordRappor(const std::string& metric,
169 const std::string& sample) override; 169 const std::string& sample) override;
170 void RecordRapporURL(const std::string& metric, const GURL& url) override; 170 void RecordRapporURL(const std::string& metric, const GURL& url) override;
171 std::unique_ptr<blink::WebAppBannerClient> CreateAppBannerClient(
172 content::RenderFrame* render_frame) override;
173 void AddImageContextMenuProperties( 171 void AddImageContextMenuProperties(
174 const blink::WebURLResponse& response, 172 const blink::WebURLResponse& response,
175 std::map<std::string, std::string>* properties) override; 173 std::map<std::string, std::string>* properties) override;
176 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override; 174 void RunScriptsAtDocumentStart(content::RenderFrame* render_frame) override;
177 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override; 175 void RunScriptsAtDocumentEnd(content::RenderFrame* render_frame) override;
178 void DidInitializeServiceWorkerContextOnWorkerThread( 176 void DidInitializeServiceWorkerContextOnWorkerThread(
179 v8::Local<v8::Context> context, 177 v8::Local<v8::Context> context,
180 int embedded_worker_id, 178 int embedded_worker_id,
181 const GURL& url) override; 179 const GURL& url) override;
182 void WillDestroyServiceWorkerContextOnWorkerThread( 180 void WillDestroyServiceWorkerContextOnWorkerThread(
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 std::set<std::string> allowed_camera_device_origins_; 248 std::set<std::string> allowed_camera_device_origins_;
251 std::set<std::string> allowed_compositor_origins_; 249 std::set<std::string> allowed_compositor_origins_;
252 #endif 250 #endif
253 251
254 #if defined(OS_CHROMEOS) 252 #if defined(OS_CHROMEOS)
255 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; 253 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_;
256 #endif 254 #endif
257 }; 255 };
258 256
259 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 257 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698