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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 11234032: Webview tag creation should be using storage partitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added IndexedDB test. Created 8 years, 1 month 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
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 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 static WebContentsImpl* CreateWithOpener( 87 static WebContentsImpl* CreateWithOpener(
88 BrowserContext* browser_context, 88 BrowserContext* browser_context,
89 SiteInstance* site_instance, 89 SiteInstance* site_instance,
90 int routing_id, 90 int routing_id,
91 const WebContentsImpl* base_web_contents, 91 const WebContentsImpl* base_web_contents,
92 WebContentsImpl* opener); 92 WebContentsImpl* opener);
93 93
94 // Creates a WebContents to be used as a browser plugin guest. 94 // Creates a WebContents to be used as a browser plugin guest.
95 static WebContentsImpl* CreateGuest(BrowserContext* browser_context, 95 static WebContentsImpl* CreateGuest(BrowserContext* browser_context,
96 const std::string& host, 96 SiteInstance* site_instance,
97 int guest_instance_id, 97 int guest_instance_id,
98 bool focused, 98 bool focused,
99 bool visible); 99 bool visible);
100 100
101 // Returns the content specific prefs for the given RVH. 101 // Returns the content specific prefs for the given RVH.
102 static webkit_glue::WebPreferences GetWebkitPrefs( 102 static webkit_glue::WebPreferences GetWebkitPrefs(
103 RenderViewHost* rvh, const GURL& url); 103 RenderViewHost* rvh, const GURL& url);
104 104
105 // Creates a swapped out RenderView. This is used by the browser plugin to 105 // Creates a swapped out RenderView. This is used by the browser plugin to
106 // create a swapped out RenderView in the embedder render process for the 106 // create a swapped out RenderView in the embedder render process for the
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
854 // All live RenderWidgetHostImpls that are created by this object and may 854 // All live RenderWidgetHostImpls that are created by this object and may
855 // outlive it. 855 // outlive it.
856 std::set<RenderWidgetHostImpl*> created_widgets_; 856 std::set<RenderWidgetHostImpl*> created_widgets_;
857 857
858 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 858 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
859 }; 859 };
860 860
861 } // namespace content 861 } // namespace content
862 862
863 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 863 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698