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

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

Issue 10827078: Support frame tree propagation between renderers in the same browsing instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes based on Albert's comments and added explicit test for adding/removing frames using JavaScrip… 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 virtual void NotifyContextMenuClosed( 232 virtual void NotifyContextMenuClosed(
233 const CustomContextMenuContext& context) = 0; 233 const CustomContextMenuContext& context) = 0;
234 234
235 // Notification that a move or resize renderer's containing window has 235 // Notification that a move or resize renderer's containing window has
236 // started. 236 // started.
237 virtual void NotifyMoveOrResizeStarted() = 0; 237 virtual void NotifyMoveOrResizeStarted() = 0;
238 238
239 // Reloads the current focused frame. 239 // Reloads the current focused frame.
240 virtual void ReloadFrame() = 0; 240 virtual void ReloadFrame() = 0;
241 241
242 // Retrieves a JSON serialized representation of the frame tree for the
243 // current document in the render view.
244 virtual const std::string& GetFrameTree() const = 0;
Charlie Reis 2012/08/21 01:40:39 Is this ever needed outside the content module? I
nasko 2012/08/21 17:49:42 Done.
245
242 // Sets the alternate error page URL (link doctor) for the renderer process. 246 // Sets the alternate error page URL (link doctor) for the renderer process.
243 virtual void SetAltErrorPageURL(const GURL& url) = 0; 247 virtual void SetAltErrorPageURL(const GURL& url) = 0;
244 248
245 // Sets a property with the given name and value on the Web UI binding object. 249 // Sets a property with the given name and value on the Web UI binding object.
246 // Must call AllowWebUIBindings() on this renderer first. 250 // Must call AllowWebUIBindings() on this renderer first.
247 virtual void SetWebUIProperty(const std::string& name, 251 virtual void SetWebUIProperty(const std::string& name,
248 const std::string& value) = 0; 252 const std::string& value) = 0;
249 253
250 // Set the zoom level for the current main frame 254 // Set the zoom level for the current main frame
251 virtual void SetZoomLevel(double level) = 0; 255 virtual void SetZoomLevel(double level) = 0;
(...skipping 11 matching lines...) Expand all
263 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0; 267 virtual webkit_glue::WebPreferences GetWebkitPreferences() = 0;
264 268
265 // Passes a list of Webkit preferences to the renderer. 269 // Passes a list of Webkit preferences to the renderer.
266 virtual void UpdateWebkitPreferences( 270 virtual void UpdateWebkitPreferences(
267 const webkit_glue::WebPreferences& prefs) = 0; 271 const webkit_glue::WebPreferences& prefs) = 0;
268 }; 272 };
269 273
270 } // namespace content 274 } // namespace content
271 275
272 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 276 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698