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

Side by Side Diff: content/shell/renderer/shell_content_renderer_client.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/renderer/content_renderer_client.h" 10 #include "content/public/renderer/content_renderer_client.h"
11 11
12 namespace web_cache { 12 namespace web_cache {
13 class WebCacheRenderProcessObserver; 13 class WebCacheRenderProcessObserver;
14 } 14 }
15 15
16 namespace content { 16 namespace content {
17 17
18 class WebTestProxyBase; 18 class WebTestProxyBase;
19 19
20 class ShellContentRendererClient : public ContentRendererClient { 20 class ShellContentRendererClient : public ContentRendererClient {
21 public: 21 public:
22 ShellContentRendererClient(); 22 ShellContentRendererClient();
23 virtual ~ShellContentRendererClient(); 23 ~ShellContentRendererClient() override;
24 24
25 // ContentRendererClient implementation. 25 // ContentRendererClient implementation.
26 virtual void RenderThreadStarted() override; 26 void RenderThreadStarted() override;
27 virtual void RenderViewCreated(RenderView* render_view) override; 27 void RenderViewCreated(RenderView* render_view) override;
28 28
29 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we 29 // TODO(mkwst): These toggle based on the kEnablePepperTesting flag. Do we
30 // need that outside of layout tests? 30 // need that outside of layout tests?
31 virtual bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override; 31 bool IsPluginAllowedToUseCompositorAPI(const GURL& url) override;
32 virtual bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) override; 32 bool IsPluginAllowedToUseVideoDecodeAPI(const GURL& url) override;
33 virtual bool IsPluginAllowedToUseDevChannelAPIs() override; 33 bool IsPluginAllowedToUseDevChannelAPIs() override;
34 34
35 private: 35 private:
36 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_; 36 scoped_ptr<web_cache::WebCacheRenderProcessObserver> web_cache_observer_;
37 }; 37 };
38 38
39 } // namespace content 39 } // namespace content
40 40
41 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ 41 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/layout_test/webkit_test_runner.cc ('k') | content/shell/renderer/shell_render_view_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698