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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 const WebKit::WebURLError& error) OVERRIDE; | 51 const WebKit::WebURLError& error) OVERRIDE; |
52 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 52 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
53 virtual bool AllowPopup(const GURL& creator) OVERRIDE; | 53 virtual bool AllowPopup(const GURL& creator) OVERRIDE; |
54 virtual bool ShouldFork(WebKit::WebFrame* frame, | 54 virtual bool ShouldFork(WebKit::WebFrame* frame, |
55 const GURL& url, | 55 const GURL& url, |
56 bool is_content_initiated, | 56 bool is_content_initiated, |
57 bool* send_referrer) OVERRIDE; | 57 bool* send_referrer) OVERRIDE; |
58 virtual bool WillSendRequest(WebKit::WebFrame* frame, | 58 virtual bool WillSendRequest(WebKit::WebFrame* frame, |
59 const GURL& url, | 59 const GURL& url, |
60 GURL* new_url) OVERRIDE; | 60 GURL* new_url) OVERRIDE; |
61 virtual FilePath GetMediaLibraryPath() OVERRIDE; | |
62 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; | 61 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; |
63 virtual void DidCreateScriptContext(WebKit::WebFrame* frame) OVERRIDE; | 62 virtual void DidCreateScriptContext(WebKit::WebFrame* frame) OVERRIDE; |
64 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) OVERRIDE; | 63 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) OVERRIDE; |
65 virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame) OVERRIDE; | 64 virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame) OVERRIDE; |
66 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 65 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
67 size_t length) OVERRIDE; | 66 size_t length) OVERRIDE; |
68 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 67 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
69 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; | 68 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; |
70 virtual bool ShouldOverridePageVisibilityState( | 69 virtual bool ShouldOverridePageVisibilityState( |
71 const RenderView* render_view, | 70 const RenderView* render_view, |
(...skipping 22 matching lines...) Expand all Loading... |
94 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; | 93 scoped_ptr<RendererHistogramSnapshots> histogram_snapshots_; |
95 scoped_ptr<RendererNetPredictor> net_predictor_; | 94 scoped_ptr<RendererNetPredictor> net_predictor_; |
96 scoped_ptr<SpellCheck> spellcheck_; | 95 scoped_ptr<SpellCheck> spellcheck_; |
97 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 96 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
98 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 97 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
99 }; | 98 }; |
100 | 99 |
101 } // namespace chrome | 100 } // namespace chrome |
102 | 101 |
103 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 102 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |