| 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/web_contents.h" | 11 #include "content/public/browser/web_contents.h" |
| 12 #include "content/public/common/bindings_policy.h" |
| 12 #include "content/public/common/url_constants.h" | 13 #include "content/public/common/url_constants.h" |
| 13 #include "content/public/common/bindings_policy.h" | 14 #include "ui/gfx/geometry/rect.h" |
| 14 #include "ui/gfx/rect.h" | |
| 15 | 15 |
| 16 namespace content { | 16 namespace content { |
| 17 | 17 |
| 18 WebContentsDelegate::WebContentsDelegate() { | 18 WebContentsDelegate::WebContentsDelegate() { |
| 19 } | 19 } |
| 20 | 20 |
| 21 WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source, | 21 WebContents* WebContentsDelegate::OpenURLFromTab(WebContents* source, |
| 22 const OpenURLParams& params) { | 22 const OpenURLParams& params) { |
| 23 return NULL; | 23 return NULL; |
| 24 } | 24 } |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 | 215 |
| 216 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { | 216 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { |
| 217 return false; | 217 return false; |
| 218 } | 218 } |
| 219 | 219 |
| 220 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { | 220 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { |
| 221 return false; | 221 return false; |
| 222 } | 222 } |
| 223 | 223 |
| 224 } // namespace content | 224 } // namespace content |
| OLD | NEW |