OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual void DidCreateScriptContext(WebKit::WebFrame* frame, | 106 virtual void DidCreateScriptContext(WebKit::WebFrame* frame, |
107 v8::Handle<v8::Context> context, | 107 v8::Handle<v8::Context> context, |
108 int extension_group, | 108 int extension_group, |
109 int world_id) OVERRIDE; | 109 int world_id) OVERRIDE; |
110 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame, | 110 virtual void WillReleaseScriptContext(WebKit::WebFrame* frame, |
111 v8::Handle<v8::Context> context, | 111 v8::Handle<v8::Context> context, |
112 int world_id) OVERRIDE; | 112 int world_id) OVERRIDE; |
113 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 113 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
114 size_t length) OVERRIDE; | 114 size_t length) OVERRIDE; |
115 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 115 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
116 virtual void PrefetchHostName(const char* hostname, size_t length) OVERRIDE; | |
117 virtual WebKit::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; | 116 virtual WebKit::WebPrescientNetworking* GetPrescientNetworking() OVERRIDE; |
118 virtual bool ShouldOverridePageVisibilityState( | 117 virtual bool ShouldOverridePageVisibilityState( |
119 const content::RenderView* render_view, | 118 const content::RenderView* render_view, |
120 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; | 119 WebKit::WebPageVisibilityState* override_state) const OVERRIDE; |
121 virtual bool HandleGetCookieRequest(content::RenderView* sender, | 120 virtual bool HandleGetCookieRequest(content::RenderView* sender, |
122 const GURL& url, | 121 const GURL& url, |
123 const GURL& first_party_for_cookies, | 122 const GURL& first_party_for_cookies, |
124 std::string* cookies) OVERRIDE; | 123 std::string* cookies) OVERRIDE; |
125 virtual bool HandleSetCookieRequest(content::RenderView* sender, | 124 virtual bool HandleSetCookieRequest(content::RenderView* sender, |
126 const GURL& url, | 125 const GURL& url, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 #endif | 203 #endif |
205 | 204 |
206 #if defined(ENABLE_PLUGINS) | 205 #if defined(ENABLE_PLUGINS) |
207 std::set<std::string> allowed_file_handle_origins_; | 206 std::set<std::string> allowed_file_handle_origins_; |
208 #endif | 207 #endif |
209 }; | 208 }; |
210 | 209 |
211 } // namespace chrome | 210 } // namespace chrome |
212 | 211 |
213 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 212 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |