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

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

Issue 830733004: Removing dead code setNumberViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « chrome/common/crash_keys.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 #endif 74 #endif
75 75
76 class ChromeContentRendererClient : public content::ContentRendererClient { 76 class ChromeContentRendererClient : public content::ContentRendererClient {
77 public: 77 public:
78 ChromeContentRendererClient(); 78 ChromeContentRendererClient();
79 ~ChromeContentRendererClient() override; 79 ~ChromeContentRendererClient() override;
80 80
81 void RenderThreadStarted() override; 81 void RenderThreadStarted() override;
82 void RenderFrameCreated(content::RenderFrame* render_frame) override; 82 void RenderFrameCreated(content::RenderFrame* render_frame) override;
83 void RenderViewCreated(content::RenderView* render_view) override; 83 void RenderViewCreated(content::RenderView* render_view) override;
84 void SetNumberOfViews(int number_of_views) override;
85 SkBitmap* GetSadPluginBitmap() override; 84 SkBitmap* GetSadPluginBitmap() override;
86 SkBitmap* GetSadWebViewBitmap() override; 85 SkBitmap* GetSadWebViewBitmap() override;
87 bool OverrideCreatePlugin(content::RenderFrame* render_frame, 86 bool OverrideCreatePlugin(content::RenderFrame* render_frame,
88 blink::WebLocalFrame* frame, 87 blink::WebLocalFrame* frame,
89 const blink::WebPluginParams& params, 88 const blink::WebPluginParams& params,
90 blink::WebPlugin** plugin) override; 89 blink::WebPlugin** plugin) override;
91 scoped_ptr<blink::WebPluginPlaceholder> CreatePluginPlaceholder( 90 scoped_ptr<blink::WebPluginPlaceholder> CreatePluginPlaceholder(
92 content::RenderFrame* render_frame, 91 content::RenderFrame* render_frame,
93 blink::WebLocalFrame* frame, 92 blink::WebLocalFrame* frame,
94 const blink::WebPluginParams& params) override; 93 const blink::WebPluginParams& params) override;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 #if defined(ENABLE_PRINT_PREVIEW) 240 #if defined(ENABLE_PRINT_PREVIEW)
242 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; 241 scoped_ptr<ChromePDFPrintClient> pdf_print_client_;
243 #endif 242 #endif
244 #if defined(ENABLE_PLUGINS) 243 #if defined(ENABLE_PLUGINS)
245 std::set<std::string> allowed_compositor_origins_; 244 std::set<std::string> allowed_compositor_origins_;
246 std::set<std::string> allowed_video_decode_origins_; 245 std::set<std::string> allowed_video_decode_origins_;
247 #endif 246 #endif
248 }; 247 };
249 248
250 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 249 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/common/crash_keys.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698