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

Unified Diff: services/navigation/view_impl.h

Issue 2301353003: Changes ownership of WindowTreeClient (Closed)
Patch Set: fix navigation Created 4 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 | « content/renderer/mus/compositor_mus_connection.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/view_impl.h
diff --git a/services/navigation/view_impl.h b/services/navigation/view_impl.h
index f502bce19160b8ea637562efb70e17690e3b0a2b..0f4199c4273785a21678e3463e7ab74c130865df 100644
--- a/services/navigation/view_impl.h
+++ b/services/navigation/view_impl.h
@@ -81,7 +81,8 @@ class ViewImpl : public mojom::View,
// ui::WindowTreeClientDelegate:
void OnEmbed(ui::Window* root) override;
- void OnDidDestroyClient(ui::WindowTreeClient* client) override;
+ void OnEmbedRootDestroyed(ui::Window* root) override;
+ void OnLostConnection(ui::WindowTreeClient* client) override;
void OnPointerEventObserved(const ui::PointerEvent& event,
ui::Window* target) override;
@@ -95,6 +96,8 @@ class ViewImpl : public mojom::View,
mojom::ViewClientPtr client_;
std::unique_ptr<shell::ServiceContextRef> ref_;
+ std::unique_ptr<ui::WindowTreeClient> window_tree_client_;
+
views::WebView* web_view_;
std::unique_ptr<content::WebContents> web_contents_;
« no previous file with comments | « content/renderer/mus/compositor_mus_connection.cc ('k') | services/navigation/view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698