Chromium Code Reviews| 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 <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "base/string16.h" | |
|
mmenke
2011/10/05 16:05:18
nit: alphabetize.
mkosiba (inactive)
2011/10/05 17:53:18
Done.
| |
| 12 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 13 #include "content/public/renderer/content_renderer_client.h" | 14 #include "content/public/renderer/content_renderer_client.h" |
| 14 | 15 |
| 15 class ChromeRenderProcessObserver; | 16 class ChromeRenderProcessObserver; |
| 16 class ExtensionDispatcher; | 17 class ExtensionDispatcher; |
| 17 class RendererHistogramSnapshots; | 18 class RendererHistogramSnapshots; |
| 18 class RendererNetPredictor; | 19 class RendererNetPredictor; |
| 19 class SpellCheck; | 20 class SpellCheck; |
| 20 class SpellCheckProvider; | 21 class SpellCheckProvider; |
| 21 class VisitedLinkSlave; | 22 class VisitedLinkSlave; |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 46 RenderView* render_view, | 47 RenderView* render_view, |
| 47 WebKit::WebFrame* frame, | 48 WebKit::WebFrame* frame, |
| 48 const WebKit::WebPluginParams& params, | 49 const WebKit::WebPluginParams& params, |
| 49 WebKit::WebPlugin** plugin) OVERRIDE; | 50 WebKit::WebPlugin** plugin) OVERRIDE; |
| 50 virtual void ShowErrorPage(RenderView* render_view, | 51 virtual void ShowErrorPage(RenderView* render_view, |
| 51 WebKit::WebFrame* frame, | 52 WebKit::WebFrame* frame, |
| 52 int http_status_code) OVERRIDE; | 53 int http_status_code) OVERRIDE; |
| 53 virtual std::string GetNavigationErrorHtml( | 54 virtual std::string GetNavigationErrorHtml( |
| 54 const WebKit::WebURLRequest& failed_request, | 55 const WebKit::WebURLRequest& failed_request, |
| 55 const WebKit::WebURLError& error) OVERRIDE; | 56 const WebKit::WebURLError& error) OVERRIDE; |
| 57 virtual string16 GetNavigationErrorDescription( | |
| 58 const WebKit::WebURLRequest& failed_request, | |
| 59 const WebKit::WebURLError& error) OVERRIDE; | |
| 56 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 60 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 57 virtual bool AllowPopup(const GURL& creator) OVERRIDE; | 61 virtual bool AllowPopup(const GURL& creator) OVERRIDE; |
| 58 virtual bool ShouldFork(WebKit::WebFrame* frame, | 62 virtual bool ShouldFork(WebKit::WebFrame* frame, |
| 59 const GURL& url, | 63 const GURL& url, |
| 60 bool is_content_initiated, | 64 bool is_content_initiated, |
| 61 bool is_initial_navigation, | 65 bool is_initial_navigation, |
| 62 bool* send_referrer) OVERRIDE; | 66 bool* send_referrer) OVERRIDE; |
| 63 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 67 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
| 64 const GURL& url, | 68 const GURL& url, |
| 65 GURL* new_url) OVERRIDE; | 69 GURL* new_url) OVERRIDE; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 125 // The SpellCheckProvider is a RenderViewObserver, and handles its own | 129 // The SpellCheckProvider is a RenderViewObserver, and handles its own |
| 126 // destruction. | 130 // destruction. |
| 127 SpellCheckProvider* spellcheck_provider_; | 131 SpellCheckProvider* spellcheck_provider_; |
| 128 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 132 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
| 129 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 133 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 130 }; | 134 }; |
| 131 | 135 |
| 132 } // namespace chrome | 136 } // namespace chrome |
| 133 | 137 |
| 134 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 138 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |