OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 14 matching lines...) Expand all Loading... |
25 namespace npapi { | 25 namespace npapi { |
26 class PluginGroup; | 26 class PluginGroup; |
27 } | 27 } |
28 } | 28 } |
29 | 29 |
30 namespace chrome { | 30 namespace chrome { |
31 | 31 |
32 class ChromeContentRendererClient : public content::ContentRendererClient { | 32 class ChromeContentRendererClient : public content::ContentRendererClient { |
33 public: | 33 public: |
34 ChromeContentRendererClient(); | 34 ChromeContentRendererClient(); |
35 ~ChromeContentRendererClient(); | 35 virtual ~ChromeContentRendererClient(); |
36 | 36 |
37 virtual void RenderThreadStarted() OVERRIDE; | 37 virtual void RenderThreadStarted() OVERRIDE; |
38 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; | 38 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; |
39 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 39 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
40 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 40 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
41 virtual std::string GetDefaultEncoding() OVERRIDE; | 41 virtual std::string GetDefaultEncoding() OVERRIDE; |
42 virtual WebKit::WebPlugin* CreatePlugin( | 42 virtual WebKit::WebPlugin* CreatePlugin( |
43 RenderView* render_view, | 43 RenderView* render_view, |
44 WebKit::WebFrame* frame, | 44 WebKit::WebFrame* frame, |
45 const WebKit::WebPluginParams& params) OVERRIDE; | 45 const WebKit::WebPluginParams& params) OVERRIDE; |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; | 91 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; |
92 scoped_ptr<RendererNetPredictor> net_predictor_; | 92 scoped_ptr<RendererNetPredictor> net_predictor_; |
93 scoped_ptr<SpellCheck> spellcheck_; | 93 scoped_ptr<SpellCheck> spellcheck_; |
94 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 94 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
95 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 95 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
96 }; | 96 }; |
97 | 97 |
98 } // namespace chrome | 98 } // namespace chrome |
99 | 99 |
100 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 100 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |