| 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/browser/web_contents_delegate.h" | 5 #include "content/public/browser/web_contents_delegate.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/singleton.h" | 9 #include "base/memory/singleton.h" |
| 10 #include "content/public/browser/render_view_host.h" | 10 #include "content/public/browser/render_view_host.h" |
| 11 #include "content/public/browser/security_style_explanations.h" |
| 11 #include "content/public/browser/web_contents.h" | 12 #include "content/public/browser/web_contents.h" |
| 12 #include "content/public/common/bindings_policy.h" | 13 #include "content/public/common/bindings_policy.h" |
| 13 #include "content/public/common/security_style.h" | 14 #include "content/public/common/security_style.h" |
| 14 #include "content/public/common/url_constants.h" | 15 #include "content/public/common/url_constants.h" |
| 15 #include "ui/gfx/geometry/rect.h" | 16 #include "ui/gfx/geometry/rect.h" |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| 18 | 19 |
| 19 WebContentsDelegate::WebContentsDelegate() { | 20 WebContentsDelegate::WebContentsDelegate() { |
| 20 } | 21 } |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 } | 220 } |
| 220 | 221 |
| 221 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { | 222 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { |
| 222 return false; | 223 return false; |
| 223 } | 224 } |
| 224 | 225 |
| 225 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { | 226 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { |
| 226 return false; | 227 return false; |
| 227 } | 228 } |
| 228 | 229 |
| 229 SecurityStyle WebContentsDelegate::GetSecurityStyle(WebContents* web_contents) { | 230 SecurityStyle WebContentsDelegate::GetSecurityStyle( |
| 231 WebContents* web_contents, |
| 232 SecurityStyleExplanations* security_style_explanations) { |
| 230 return content::SECURITY_STYLE_UNKNOWN; | 233 return content::SECURITY_STYLE_UNKNOWN; |
| 231 } | 234 } |
| 232 | 235 |
| 233 } // namespace content | 236 } // namespace content |
| OLD | NEW |