| 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, |
| 137 WindowContainerType window_container_type, | 138 WindowContainerType window_container_type, |
| 138 const std::string& frame_name, | 139 const std::string& frame_name, |
| 139 const GURL& target_url, | 140 const GURL& target_url, |
| 140 const std::string& partition_id, | 141 const std::string& partition_id, |
| 141 SessionStorageNamespace* session_storage_namespace) { | 142 SessionStorageNamespace* session_storage_namespace) { |
| 142 return true; | 143 return true; |
| 143 } | 144 } |
| 144 | 145 |
| 145 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( | 146 JavaScriptDialogManager* WebContentsDelegate::GetJavaScriptDialogManager( |
| 146 WebContents* source) { | 147 WebContents* source) { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 return false; | 235 return false; |
| 235 } | 236 } |
| 236 | 237 |
| 237 SecurityStyle WebContentsDelegate::GetSecurityStyle( | 238 SecurityStyle WebContentsDelegate::GetSecurityStyle( |
| 238 WebContents* web_contents, | 239 WebContents* web_contents, |
| 239 SecurityStyleExplanations* security_style_explanations) { | 240 SecurityStyleExplanations* security_style_explanations) { |
| 240 return content::SECURITY_STYLE_UNKNOWN; | 241 return content::SECURITY_STYLE_UNKNOWN; |
| 241 } | 242 } |
| 242 | 243 |
| 243 } // namespace content | 244 } // namespace content |
| OLD | NEW |