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

Unified Diff: components/web_view/frame_tree.h

Issue 1347023003: Rename frame classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge 2 trunk Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/web_view/frame_connection.cc ('k') | components/web_view/frame_tree.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/web_view/frame_tree.h
diff --git a/components/web_view/frame_tree.h b/components/web_view/frame_tree.h
index 517250c47609d152def14e87edaa94acb10b987d..a3f50d3ed2d77d9f5ccc938ae4e294a9d6671516 100644
--- a/components/web_view/frame_tree.h
+++ b/components/web_view/frame_tree.h
@@ -15,10 +15,13 @@ class String;
namespace web_view {
-class FrameTreeClient;
class FrameTreeDelegate;
class FrameUserData;
+namespace mojom {
+class FrameClient;
+}
+
// FrameTree manages the set of Frames that comprise a single url. FrameTree
// owns the root Frame and each Frame owns its children. Frames are
// automatically deleted and removed from the tree if the corresponding view is
@@ -35,7 +38,7 @@ class FrameTree {
mus::View* view,
mojo::ViewTreeClientPtr view_tree_client,
FrameTreeDelegate* delegate,
- FrameTreeClient* root_client,
+ mojom::FrameClient* root_client,
scoped_ptr<FrameUserData> user_data,
const Frame::ClientPropertyMap& client_properties);
~FrameTree();
@@ -48,16 +51,14 @@ class FrameTree {
friend class Frame;
// Creates a new Frame parented to |parent|. The Frame is considered shared in
- // that it is sharing the FrameTreeClient/FrameTreeServer of |parent|. There
- // may or may not be a View identified by |frame_id| yet. See Frame for
- // details.
- Frame* CreateChildFrame(
- Frame* parent,
- mojo::InterfaceRequest<FrameTreeServer> server_request,
- FrameTreeClientPtr client,
- uint32_t frame_id,
- uint32_t app_id,
- const Frame::ClientPropertyMap& client_properties);
+ // that it is sharing the FrameClient/Frame of |parent|. There may or may not
+ // be a View identified by |frame_id| yet. See Frame for details.
+ Frame* CreateChildFrame(Frame* parent,
+ mojo::InterfaceRequest<mojom::Frame> frame_request,
+ mojom::FrameClientPtr client,
+ uint32_t frame_id,
+ uint32_t app_id,
+ const Frame::ClientPropertyMap& client_properties);
// Increments the change id, returning the new value.
uint32_t AdvanceChangeID();
« no previous file with comments | « components/web_view/frame_connection.cc ('k') | components/web_view/frame_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698