| 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 #include "content/public/renderer/content_renderer_client.h" | 5 #include "content/public/renderer/content_renderer_client.h" |
| 6 | 6 |
| 7 namespace content { | 7 namespace content { |
| 8 | 8 |
| 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
| 10 return NULL; | 10 return NULL; |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 86 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 87 return true; | 87 return true; |
| 88 } | 88 } |
| 89 | 89 |
| 90 bool ContentRendererClient::AllowPopup() { | 90 bool ContentRendererClient::AllowPopup() { |
| 91 return false; | 91 return false; |
| 92 } | 92 } |
| 93 | 93 |
| 94 bool ContentRendererClient::HandleNavigation( | 94 bool ContentRendererClient::HandleNavigation( |
| 95 RenderView* view, |
| 96 DocumentState* document_state, |
| 95 WebKit::WebFrame* frame, | 97 WebKit::WebFrame* frame, |
| 96 const WebKit::WebURLRequest& request, | 98 const WebKit::WebURLRequest& request, |
| 97 WebKit::WebNavigationType type, | 99 WebKit::WebNavigationType type, |
| 98 WebKit::WebNavigationPolicy default_policy, | 100 WebKit::WebNavigationPolicy default_policy, |
| 99 bool is_redirect) { | 101 bool is_redirect) { |
| 100 return false; | 102 return false; |
| 101 } | 103 } |
| 102 | 104 |
| 103 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame, | 105 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame, |
| 104 const GURL& url, | 106 const GURL& url, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 191 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 190 const base::string16& source) const { | 192 const base::string16& source) const { |
| 191 return false; | 193 return false; |
| 192 } | 194 } |
| 193 | 195 |
| 194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 196 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
| 195 return true; | 197 return true; |
| 196 } | 198 } |
| 197 | 199 |
| 198 } // namespace content | 200 } // namespace content |
| OLD | NEW |