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

Unified Diff: ash/touch_hud/mus/touch_hud_application.cc

Issue 2296763009: mash: Fix launching touch hud app in mash mode. (Closed)
Patch Set: deps and define 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 | « ash/mus/manifest.json ('k') | chrome/app/mojo/chrome_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/touch_hud/mus/touch_hud_application.cc
diff --git a/ash/touch_hud/mus/touch_hud_application.cc b/ash/touch_hud/mus/touch_hud_application.cc
index 702560b61d5014f2178068aa30d84772847484e4..0c82b98120c375c1c67710dcfce031ffb42217b6 100644
--- a/ash/touch_hud/mus/touch_hud_application.cc
+++ b/ash/touch_hud/mus/touch_hud_application.cc
@@ -33,7 +33,7 @@ class TouchHudUI : public views::WidgetDelegateView,
: window_manager_connection_(window_manager_connection),
touch_hud_renderer_(new TouchHudRenderer(widget)) {
window_manager_connection_->pointer_watcher_event_router()
- ->AddPointerWatcher(this, false /* want_moves */);
+ ->AddPointerWatcher(this, true /* want_moves */);
}
~TouchHudUI() override {
window_manager_connection_->pointer_watcher_event_router()
@@ -108,6 +108,7 @@ void TouchHudApplication::Launch(uint32_t what, mash::mojom::LaunchMode how) {
void TouchHudApplication::Create(const shell::Identity& remote_identity,
mash::mojom::LaunchableRequest request) {
+ binding_.Close();
binding_.Bind(std::move(request));
}
« no previous file with comments | « ash/mus/manifest.json ('k') | chrome/app/mojo/chrome_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698