| 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 blink::WebDragOperationsMask operations_allowed) { | 125 blink::WebDragOperationsMask operations_allowed) { |
| 126 return true; | 126 return true; |
| 127 } | 127 } |
| 128 | 128 |
| 129 bool WebContentsDelegate::OnGoToEntryOffset(int offset) { | 129 bool WebContentsDelegate::OnGoToEntryOffset(int offset) { |
| 130 return true; | 130 return true; |
| 131 } | 131 } |
| 132 | 132 |
| 133 bool WebContentsDelegate::ShouldCreateWebContents( | 133 bool WebContentsDelegate::ShouldCreateWebContents( |
| 134 WebContents* web_contents, | 134 WebContents* web_contents, |
| 135 int route_id, | 135 int32 route_id, |
| 136 int main_frame_route_id, | 136 int32 main_frame_route_id, |
| 137 int32 main_frame_widget_route_id, |
| 138 int32 surface_id, |
| 137 WindowContainerType window_container_type, | 139 WindowContainerType window_container_type, |
| 138 const std::string& frame_name, | 140 const std::string& frame_name, |
| 139 const GURL& target_url, | 141 const GURL& target_url, |
| 140 const std::string& partition_id, | 142 const std::string& partition_id, |
| 141 SessionStorageNamespace* session_storage_namespace) { | 143 SessionStorageNamespace* session_storage_namespace) { |
| 142 return true; | 144 return true; |
| 143 } | 145 } |
| 144 | 146 |
| 145 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( | 147 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( |
| 146 WebContents* source) { | 148 WebContents* source) { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 return false; | 236 return false; |
| 235 } | 237 } |
| 236 | 238 |
| 237 SecurityStyle WebContentsDelegate::GetSecurityStyle( | 239 SecurityStyle WebContentsDelegate::GetSecurityStyle( |
| 238 WebContents* web_contents, | 240 WebContents* web_contents, |
| 239 SecurityStyleExplanations* security_style_explanations) { | 241 SecurityStyleExplanations* security_style_explanations) { |
| 240 return content::SECURITY_STYLE_UNKNOWN; | 242 return content::SECURITY_STYLE_UNKNOWN; |
| 241 } | 243 } |
| 242 | 244 |
| 243 } // namespace content | 245 } // namespace content |
| OLD | NEW |