Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: content/public/browser/web_contents_delegate.cc

Issue 1303773002: Give the main frame a RenderWidget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix merge conflicts Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_t route_id,
136 int main_frame_route_id, 136 int32_t main_frame_route_id,
137 int32_t 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 SecurityStyleExplanations* security_style_explanations) { 248 SecurityStyleExplanations* security_style_explanations) {
248 return content::SECURITY_STYLE_UNKNOWN; 249 return content::SECURITY_STYLE_UNKNOWN;
249 } 250 }
250 251
251 void WebContentsDelegate::ShowCertificateViewerInDevTools( 252 void WebContentsDelegate::ShowCertificateViewerInDevTools(
252 WebContents* web_contents, 253 WebContents* web_contents,
253 int cert_id) { 254 int cert_id) {
254 } 255 }
255 256
256 } // namespace content 257 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698