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

Side by Side Diff: components/web_view/frame_tree.cc

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase Created 5 years, 2 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
« no previous file with comments | « components/web_view/frame_tree.h ('k') | components/web_view/frame_tree_delegate.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "components/web_view/frame_tree.h" 5 #include "components/web_view/frame_tree.h"
6 6
7 #include "components/web_view/frame_tree_delegate.h" 7 #include "components/web_view/frame_tree_delegate.h"
8 #include "components/web_view/frame_user_data.h" 8 #include "components/web_view/frame_user_data.h"
9 9
10 namespace web_view { 10 namespace web_view {
11 11
12 FrameTree::FrameTree(uint32_t root_app_id, 12 FrameTree::FrameTree(uint32_t root_app_id,
13 mus::Window* view, 13 mus::Window* view,
14 mojo::ViewTreeClientPtr view_tree_client, 14 mus::mojom::WindowTreeClientPtr view_tree_client,
15 FrameTreeDelegate* delegate, 15 FrameTreeDelegate* delegate,
16 mojom::FrameClient* root_client, 16 mojom::FrameClient* root_client,
17 scoped_ptr<FrameUserData> user_data, 17 scoped_ptr<FrameUserData> user_data,
18 const Frame::ClientPropertyMap& client_properties, 18 const Frame::ClientPropertyMap& client_properties,
19 base::TimeTicks navigation_start_time) 19 base::TimeTicks navigation_start_time)
20 : view_(view), 20 : view_(view),
21 delegate_(delegate), 21 delegate_(delegate),
22 root_(new Frame(this, 22 root_(new Frame(this,
23 view, 23 view,
24 view->id(), 24 view->id(),
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 delegate_->DidNavigateLocally(source, url); 87 delegate_->DidNavigateLocally(source, url);
88 } 88 }
89 89
90 void FrameTree::ClientPropertyChanged(const Frame* source, 90 void FrameTree::ClientPropertyChanged(const Frame* source,
91 const mojo::String& name, 91 const mojo::String& name,
92 const mojo::Array<uint8_t>& value) { 92 const mojo::Array<uint8_t>& value) {
93 root_->NotifyClientPropertyChanged(source, name, value); 93 root_->NotifyClientPropertyChanged(source, name, value);
94 } 94 }
95 95
96 } // namespace web_view 96 } // namespace web_view
OLDNEW
« no previous file with comments | « components/web_view/frame_tree.h ('k') | components/web_view/frame_tree_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698