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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 7650027: Update Chromium to use new signature for (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more stuff Created 9 years, 4 months 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 | Annotate | Revision Log
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual bool ShouldFork(WebKit::WebFrame* frame, 55 virtual bool ShouldFork(WebKit::WebFrame* frame,
56 const GURL& url, 56 const GURL& url,
57 bool is_content_initiated, 57 bool is_content_initiated,
58 bool* send_referrer) OVERRIDE; 58 bool* send_referrer) OVERRIDE;
59 virtual bool WillSendRequest(WebKit::WebFrame* frame, 59 virtual bool WillSendRequest(WebKit::WebFrame* frame,
60 const GURL& url, 60 const GURL& url,
61 GURL* new_url) OVERRIDE; 61 GURL* new_url) OVERRIDE;
62 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; 62 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE;
63 virtual void DidCreateScriptContext(WebKit::WebFrame* frame) OVERRIDE; 63 virtual void DidCreateScriptContext(WebKit::WebFrame* frame) OVERRIDE;
64 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) OVERRIDE; 64 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) OVERRIDE;
65 virtual void DidCreateIsolatedScriptContext(WebKit::WebFrame* frame) OVERRIDE; 65 virtual void DidCreateIsolatedScriptContext(
66 WebKit::WebFrame* frame, int world_id,
67 v8::Handle<v8::Context> context) OVERRIDE;
66 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 68 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
67 size_t length) OVERRIDE; 69 size_t length) OVERRIDE;
68 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 70 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE;
69 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; 71 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE;
70 virtual bool ShouldOverridePageVisibilityState( 72 virtual bool ShouldOverridePageVisibilityState(
71 const RenderView* render_view, 73 const RenderView* render_view,
72 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; 74 WebKit::WebPageVisibilityState* override_state) const OVERRIDE;
73 75
74 // For testing. 76 // For testing.
75 void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher); 77 void SetExtensionDispatcher(ExtensionDispatcher* extension_dispatcher);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // The SpellCheckProvider is a RenderViewObserver, and handles its own 109 // The SpellCheckProvider is a RenderViewObserver, and handles its own
108 // destruction. 110 // destruction.
109 SpellCheckProvider* spellcheck_provider_; 111 SpellCheckProvider* spellcheck_provider_;
110 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 112 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
111 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 113 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
112 }; 114 };
113 115
114 } // namespace chrome 116 } // namespace chrome
115 117
116 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 118 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698