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

Side by Side Diff: components/html_viewer/document_resource_waiter.cc

Issue 1344573002: Mandoline: Rename components/view_manager to components/mus (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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 unified diff | Download patch
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/html_viewer/document_resource_waiter.h" 5 #include "components/html_viewer/document_resource_waiter.h"
6 6
7 #include "components/html_viewer/global_state.h" 7 #include "components/html_viewer/global_state.h"
8 #include "components/html_viewer/html_document.h" 8 #include "components/html_viewer/html_document.h"
9 #include "components/html_viewer/html_frame_tree_manager.h" 9 #include "components/html_viewer/html_frame_tree_manager.h"
10 #include "components/view_manager/public/cpp/view.h" 10 #include "components/mus/public/cpp/view.h"
11 11
12 using web_view::ViewConnectType; 12 using web_view::ViewConnectType;
13 13
14 namespace html_viewer { 14 namespace html_viewer {
15 15
16 DocumentResourceWaiter::DocumentResourceWaiter(GlobalState* global_state, 16 DocumentResourceWaiter::DocumentResourceWaiter(GlobalState* global_state,
17 mojo::URLResponsePtr response, 17 mojo::URLResponsePtr response,
18 HTMLDocument* document) 18 HTMLDocument* document)
19 : global_state_(global_state), 19 : global_state_(global_state),
20 document_(document), 20 document_(document),
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 186
187 void DocumentResourceWaiter::OnHTMLFrameTreeManagerChangeIdAdvanced() { 187 void DocumentResourceWaiter::OnHTMLFrameTreeManagerChangeIdAdvanced() {
188 UpdateIsReady(); 188 UpdateIsReady();
189 } 189 }
190 190
191 void DocumentResourceWaiter::OnHTMLFrameTreeManagerDestroyed() { 191 void DocumentResourceWaiter::OnHTMLFrameTreeManagerDestroyed() {
192 document_->Destroy(); // This destroys us. 192 document_->Destroy(); // This destroys us.
193 } 193 }
194 194
195 } // namespace html_viewer 195 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/document_resource_waiter.h ('k') | components/html_viewer/global_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698