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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 const base::Closure& closure) OVERRIDE; | 105 const base::Closure& closure) OVERRIDE; |
106 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 106 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
107 virtual bool AllowPopup() OVERRIDE; | 107 virtual bool AllowPopup() OVERRIDE; |
108 virtual bool ShouldFork(blink::WebFrame* frame, | 108 virtual bool ShouldFork(blink::WebFrame* frame, |
109 const GURL& url, | 109 const GURL& url, |
110 const std::string& http_method, | 110 const std::string& http_method, |
111 bool is_initial_navigation, | 111 bool is_initial_navigation, |
112 bool is_server_redirect, | 112 bool is_server_redirect, |
113 bool* send_referrer) OVERRIDE; | 113 bool* send_referrer) OVERRIDE; |
114 virtual bool WillSendRequest(blink::WebFrame* frame, | 114 virtual bool WillSendRequest(blink::WebFrame* frame, |
115 content::PageTransition transition_type, | 115 ui::PageTransition transition_type, |
116 const GURL& url, | 116 const GURL& url, |
117 const GURL& first_party_for_cookies, | 117 const GURL& first_party_for_cookies, |
118 GURL* new_url) OVERRIDE; | 118 GURL* new_url) OVERRIDE; |
119 virtual void DidCreateScriptContext(blink::WebFrame* frame, | 119 virtual void DidCreateScriptContext(blink::WebFrame* frame, |
120 v8::Handle<v8::Context> context, | 120 v8::Handle<v8::Context> context, |
121 int extension_group, | 121 int extension_group, |
122 int world_id) OVERRIDE; | 122 int world_id) OVERRIDE; |
123 virtual unsigned long long VisitedLinkHash(const char* canonical_url, | 123 virtual unsigned long long VisitedLinkHash(const char* canonical_url, |
124 size_t length) OVERRIDE; | 124 size_t length) OVERRIDE; |
125 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; | 125 virtual bool IsLinkVisited(unsigned long long link_hash) OVERRIDE; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 #if defined(ENABLE_FULL_PRINTING) | 234 #if defined(ENABLE_FULL_PRINTING) |
235 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 235 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
236 #endif | 236 #endif |
237 #if defined(ENABLE_PLUGINS) | 237 #if defined(ENABLE_PLUGINS) |
238 std::set<std::string> allowed_compositor_origins_; | 238 std::set<std::string> allowed_compositor_origins_; |
239 std::set<std::string> allowed_video_decode_origins_; | 239 std::set<std::string> allowed_video_decode_origins_; |
240 #endif | 240 #endif |
241 }; | 241 }; |
242 | 242 |
243 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 243 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |