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

Side by Side Diff: content/public/browser/render_view_host.h

Issue 10831116: Move SessionStorageNamespace entirely into NavigationController and support StoragePartitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix content shell 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
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_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 7
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/public/browser/render_widget_host.h" 10 #include "content/public/browser/render_widget_host.h"
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 virtual void FilesSelectedInChooser( 210 virtual void FilesSelectedInChooser(
211 const std::vector<ui::SelectedFileInfo>& files, 211 const std::vector<ui::SelectedFileInfo>& files,
212 int permissions) = 0; 212 int permissions) = 0;
213 213
214 virtual RenderViewHostDelegate* GetDelegate() const = 0; 214 virtual RenderViewHostDelegate* GetDelegate() const = 0;
215 215
216 // Returns a bitwise OR of bindings types that have been enabled for this 216 // Returns a bitwise OR of bindings types that have been enabled for this
217 // RenderView. See BindingsPolicy for details. 217 // RenderView. See BindingsPolicy for details.
218 virtual int GetEnabledBindings() const = 0; 218 virtual int GetEnabledBindings() const = 0;
219 219
220 virtual SessionStorageNamespace* GetSessionStorageNamespace() = 0;
221
222 virtual SiteInstance* GetSiteInstance() const = 0; 220 virtual SiteInstance* GetSiteInstance() const = 0;
223 221
224 // Requests the renderer to evaluate an xpath to a frame and insert css 222 // Requests the renderer to evaluate an xpath to a frame and insert css
225 // into that frame's document. 223 // into that frame's document.
226 virtual void InsertCSS(const string16& frame_xpath, 224 virtual void InsertCSS(const string16& frame_xpath,
227 const std::string& css) = 0; 225 const std::string& css) = 0;
228 226
229 // Returns true if the RenderView is active and has not crashed. Virtual 227 // Returns true if the RenderView is active and has not crashed. Virtual
230 // because it is overridden by TestRenderViewHost. 228 // because it is overridden by TestRenderViewHost.
231 virtual bool IsRenderViewLive() const = 0; 229 virtual bool IsRenderViewLive() const = 0;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0; 263 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0;
266 264
267 // Passes a list of Webkit preferences to the renderer. 265 // Passes a list of Webkit preferences to the renderer.
268 virtual void UpdateWebkitPreferences( 266 virtual void UpdateWebkitPreferences(
269 const webkit_glue::WebPreferences& prefs) = 0; 267 const webkit_glue::WebPreferences& prefs) = 0;
270 }; 268 };
271 269
272 } // namespace content 270 } // namespace content
273 271
274 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 272 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698