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

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

Issue 7955001: Update Chrome to use new context notification APIs from WebKit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup Created 9 years, 3 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
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <string> 9 #include <string>
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 virtual bool AllowPopup(const GURL& creator) OVERRIDE; 56 virtual bool AllowPopup(const GURL& creator) OVERRIDE;
57 virtual bool ShouldFork(WebKit::WebFrame* frame, 57 virtual bool ShouldFork(WebKit::WebFrame* frame,
58 const GURL& url, 58 const GURL& url,
59 bool is_content_initiated, 59 bool is_content_initiated,
60 bool is_initial_navigation, 60 bool is_initial_navigation,
61 bool* send_referrer) OVERRIDE; 61 bool* send_referrer) OVERRIDE;
62 virtual bool WillSendRequest(WebKit::WebFrame* frame, 62 virtual bool WillSendRequest(WebKit::WebFrame* frame,
63 const GURL& url, 63 const GURL& url,
64 GURL* new_url) OVERRIDE; 64 GURL* new_url) OVERRIDE;
65 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE; 65 virtual bool ShouldPumpEventsDuringCookieMessage() OVERRIDE;
66 virtual void DidCreateScriptContext(WebKit::WebFrame* frame) OVERRIDE; 66 virtual void DidCreateScriptContext(WebKit::WebFrame* frame,
67 virtual void DidDestroyScriptContext(WebKit::WebFrame* frame) OVERRIDE; 67 v8::Handle<v8::Context> context,
68 virtual void DidCreateIsolatedScriptContext( 68 int world_id) OVERRIDE;
69 WebKit::WebFrame* frame, int world_id, 69 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame,
70 v8::Handle<v8::Context> context) OVERRIDE; 70 v8::Handle<v8::Context> context,
71 int world_id) OVERRIDE;
71 virtual unsigned long long VisitedLinkHash(const char* canonical_url, 72 virtual unsigned long long VisitedLinkHash(const char* canonical_url,
72 size_t length) OVERRIDE; 73 size_t length) OVERRIDE;
73 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; 74 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE;
74 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; 75 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE;
75 virtual bool ShouldOverridePageVisibilityState( 76 virtual bool ShouldOverridePageVisibilityState(
76 const RenderView* render_view, 77 const RenderView* render_view,
77 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; 78 WebKit::WebPageVisibilityState* override_state) const OVERRIDE;
78 virtual bool HandleGetCookieRequest(RenderView* sender, 79 virtual bool HandleGetCookieRequest(RenderView* sender,
79 const GURL& url, 80 const GURL& url,
80 const GURL& first_party_for_cookies, 81 const GURL& first_party_for_cookies,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 // The SpellCheckProvider is a RenderViewObserver, and handles its own 123 // The SpellCheckProvider is a RenderViewObserver, and handles its own
123 // destruction. 124 // destruction.
124 SpellCheckProvider* spellcheck_provider_; 125 SpellCheckProvider* spellcheck_provider_;
125 scoped_ptr<VisitedLinkSlave> visited_link_slave_; 126 scoped_ptr<VisitedLinkSlave> visited_link_slave_;
126 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; 127 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_;
127 }; 128 };
128 129
129 } // namespace chrome 130 } // namespace chrome
130 131
131 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 132 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698