| 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, |
| 97 int opener_id, |
| 95 WebKit::WebFrame* frame, | 98 WebKit::WebFrame* frame, |
| 96 const WebKit::WebURLRequest& request, | 99 const WebKit::WebURLRequest& request, |
| 97 WebKit::WebNavigationType type, | 100 WebKit::WebNavigationType type, |
| 98 WebKit::WebNavigationPolicy default_policy, | 101 WebKit::WebNavigationPolicy default_policy, |
| 99 bool is_redirect) { | 102 bool is_redirect) { |
| 100 return false; | 103 return false; |
| 101 } | 104 } |
| 102 | 105 |
| 103 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame, | 106 bool ContentRendererClient::ShouldFork(WebKit::WebFrame* frame, |
| 104 const GURL& url, | 107 const GURL& url, |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 192 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 190 const base::string16& source) const { | 193 const base::string16& source) const { |
| 191 return false; | 194 return false; |
| 192 } | 195 } |
| 193 | 196 |
| 194 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 197 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
| 195 return true; | 198 return true; |
| 196 } | 199 } |
| 197 | 200 |
| 198 } // namespace content | 201 } // namespace content |
| OLD | NEW |