| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 bool is_server_redirect, | 114 bool is_server_redirect, |
| 115 bool* send_referrer) override; | 115 bool* send_referrer) override; |
| 116 #if defined(ENABLE_EXTENSIONS) | 116 #if defined(ENABLE_EXTENSIONS) |
| 117 bool ShouldForwardToGuestContainer(const IPC::Message& msg) override; | 117 bool ShouldForwardToGuestContainer(const IPC::Message& msg) override; |
| 118 #endif | 118 #endif |
| 119 bool WillSendRequest(blink::WebFrame* frame, | 119 bool WillSendRequest(blink::WebFrame* frame, |
| 120 ui::PageTransition transition_type, | 120 ui::PageTransition transition_type, |
| 121 const GURL& url, | 121 const GURL& url, |
| 122 const GURL& first_party_for_cookies, | 122 const GURL& first_party_for_cookies, |
| 123 GURL* new_url) override; | 123 GURL* new_url) override; |
| 124 void DidCreateScriptContext(blink::WebFrame* frame, | 124 void DidCreateScriptContext(blink::WebLocalFrame* frame, |
| 125 v8::Handle<v8::Context> context, | 125 v8::Handle<v8::Context> context, |
| 126 int extension_group, | 126 int extension_group, |
| 127 int world_id) override; | 127 int world_id) override; |
| 128 unsigned long long VisitedLinkHash(const char* canonical_url, | 128 unsigned long long VisitedLinkHash(const char* canonical_url, |
| 129 size_t length) override; | 129 size_t length) override; |
| 130 bool IsLinkVisited(unsigned long long link_hash) override; | 130 bool IsLinkVisited(unsigned long long link_hash) override; |
| 131 blink::WebPrescientNetworking* GetPrescientNetworking() override; | 131 blink::WebPrescientNetworking* GetPrescientNetworking() override; |
| 132 bool ShouldOverridePageVisibilityState( | 132 bool ShouldOverridePageVisibilityState( |
| 133 const content::RenderFrame* render_frame, | 133 const content::RenderFrame* render_frame, |
| 134 blink::WebPageVisibilityState* override_state) override; | 134 blink::WebPageVisibilityState* override_state) override; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 240 #if defined(ENABLE_PRINT_PREVIEW) | 240 #if defined(ENABLE_PRINT_PREVIEW) |
| 241 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; | 241 scoped_ptr<ChromePDFPrintClient> pdf_print_client_; |
| 242 #endif | 242 #endif |
| 243 #if defined(ENABLE_PLUGINS) | 243 #if defined(ENABLE_PLUGINS) |
| 244 std::set<std::string> allowed_camera_device_origins_; | 244 std::set<std::string> allowed_camera_device_origins_; |
| 245 std::set<std::string> allowed_compositor_origins_; | 245 std::set<std::string> allowed_compositor_origins_; |
| 246 #endif | 246 #endif |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 249 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |