| 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/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/renderer/content_renderer_client.h" | 10 #include "content/renderer/content_renderer_client.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 36 virtual void RenderThreadStarted(); | 36 virtual void RenderThreadStarted(); |
| 37 virtual void RenderViewCreated(RenderView* render_view); | 37 virtual void RenderViewCreated(RenderView* render_view); |
| 38 virtual void SetNumberOfViews(int number_of_views); | 38 virtual void SetNumberOfViews(int number_of_views); |
| 39 virtual SkBitmap* GetSadPluginBitmap(); | 39 virtual SkBitmap* GetSadPluginBitmap(); |
| 40 virtual std::string GetDefaultEncoding(); | 40 virtual std::string GetDefaultEncoding(); |
| 41 virtual WebKit::WebPlugin* CreatePlugin( | 41 virtual WebKit::WebPlugin* CreatePlugin( |
| 42 RenderView* render_view, | 42 RenderView* render_view, |
| 43 WebKit::WebFrame* frame, | 43 WebKit::WebFrame* frame, |
| 44 const WebKit::WebPluginParams& params); | 44 const WebKit::WebPluginParams& params); |
| 45 virtual void ShowErrorPage(RenderView* render_view, |
| 46 WebKit::WebFrame* frame, |
| 47 int http_status_code); |
| 45 virtual std::string GetNavigationErrorHtml( | 48 virtual std::string GetNavigationErrorHtml( |
| 46 const WebKit::WebURLRequest& failed_request, | 49 const WebKit::WebURLRequest& failed_request, |
| 47 const WebKit::WebURLError& error); | 50 const WebKit::WebURLError& error); |
| 48 virtual bool RunIdleHandlerWhenWidgetsHidden(); | 51 virtual bool RunIdleHandlerWhenWidgetsHidden(); |
| 49 virtual bool AllowPopup(const GURL& creator); | 52 virtual bool AllowPopup(const GURL& creator); |
| 50 virtual bool ShouldFork(WebKit::WebFrame* frame, | 53 virtual bool ShouldFork(WebKit::WebFrame* frame, |
| 51 const GURL& url, | 54 const GURL& url, |
| 52 bool is_content_initiated, | 55 bool is_content_initiated, |
| 53 bool* send_referrer); | 56 bool* send_referrer); |
| 54 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 57 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; | 95 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; |
| 93 scoped_ptr<RendererNetPredictor> net_predictor_; | 96 scoped_ptr<RendererNetPredictor> net_predictor_; |
| 94 scoped_ptr<SpellCheck> spellcheck_; | 97 scoped_ptr<SpellCheck> spellcheck_; |
| 95 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 98 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
| 96 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 99 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 97 }; | 100 }; |
| 98 | 101 |
| 99 } // namespace chrome | 102 } // namespace chrome |
| 100 | 103 |
| 101 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 104 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |