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

Side by Side Diff: ui/views/controls/webview/webview.cc

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged ToT Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « content/test/web_contents_tester.cc ('k') | webkit/dom_storage/dom_storage_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "ui/views/controls/webview/webview.h" 5 #include "ui/views/controls/webview/webview.h"
6 6
7 #include "content/public/browser/browser_context.h" 7 #include "content/public/browser/browser_context.h"
8 #include "content/public/browser/navigation_controller.h" 8 #include "content/public/browser/navigation_controller.h"
9 #include "content/public/browser/notification_details.h" 9 #include "content/public/browser/notification_details.h"
10 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 content::WebContents* contents = NULL; 243 content::WebContents* contents = NULL;
244 if (ViewsDelegate::views_delegate) { 244 if (ViewsDelegate::views_delegate) {
245 contents = ViewsDelegate::views_delegate->CreateWebContents( 245 contents = ViewsDelegate::views_delegate->CreateWebContents(
246 browser_context, site_instance); 246 browser_context, site_instance);
247 } 247 }
248 248
249 if (!contents) { 249 if (!contents) {
250 return content::WebContents::Create(browser_context, 250 return content::WebContents::Create(browser_context,
251 site_instance, 251 site_instance,
252 MSG_ROUTING_NONE, 252 MSG_ROUTING_NONE,
253 NULL,
254 NULL); 253 NULL);
255 } 254 }
256 255
257 return contents; 256 return contents;
258 } 257 }
259 258
260 } // namespace views 259 } // namespace views
OLDNEW
« no previous file with comments | « content/test/web_contents_tester.cc ('k') | webkit/dom_storage/dom_storage_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698