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

Unified Diff: ash/root_window_controller.cc

Issue 18163006: Add persisted preference for projection touch HUD (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index b765fff9c3e96e08fef3e7280f5e7fb343d140b6..0454c61a38323ca6c683d93efb7ddb4356b73855 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -468,7 +468,7 @@ void RootWindowController::InitTouchHuds() {
CommandLine* command_line = CommandLine::ForCurrentProcess();
if (command_line->HasSwitch(switches::kAshTouchHud))
set_touch_hud_debug(new TouchHudDebug(root_window_.get()));
- if (Shell::GetInstance()->is_touch_hud_projection_enabled())
+ if (Shell::GetInstance()->delegate()->IsTouchHudProjectionEnabled())
EnableTouchHudProjection();
}

Powered by Google App Engine
This is Rietveld 408576698