| 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" |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 return true; | 125 return true; |
| 126 } | 126 } |
| 127 | 127 |
| 128 bool WebContentsDelegate::OnGoToEntryOffset(int offset) { | 128 bool WebContentsDelegate::OnGoToEntryOffset(int offset) { |
| 129 return true; | 129 return true; |
| 130 } | 130 } |
| 131 | 131 |
| 132 bool WebContentsDelegate::ShouldCreateWebContents( | 132 bool WebContentsDelegate::ShouldCreateWebContents( |
| 133 WebContents* web_contents, | 133 WebContents* web_contents, |
| 134 int route_id, | 134 int route_id, |
| 135 int main_frame_route_id, |
| 135 WindowContainerType window_container_type, | 136 WindowContainerType window_container_type, |
| 136 const base::string16& frame_name, | 137 const base::string16& frame_name, |
| 137 const GURL& target_url, | 138 const GURL& target_url, |
| 138 const std::string& partition_id, | 139 const std::string& partition_id, |
| 139 SessionStorageNamespace* session_storage_namespace) { | 140 SessionStorageNamespace* session_storage_namespace) { |
| 140 return true; | 141 return true; |
| 141 } | 142 } |
| 142 | 143 |
| 143 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( | 144 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( |
| 144 WebContents* source) { | 145 WebContents* source) { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 | 215 |
| 215 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { | 216 bool WebContentsDelegate::IsNeverVisible(WebContents* web_contents) { |
| 216 return false; | 217 return false; |
| 217 } | 218 } |
| 218 | 219 |
| 219 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { | 220 bool WebContentsDelegate::SaveFrame(const GURL& url, const Referrer& referrer) { |
| 220 return false; | 221 return false; |
| 221 } | 222 } |
| 222 | 223 |
| 223 } // namespace content | 224 } // namespace content |
| OLD | NEW |