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

Unified Diff: ash/wm/maximize_mode/maximize_mode_controller.cc

Issue 834163002: Fixes smart deploy causing crash on shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments by Sky. Created 5 years, 11 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/wm/maximize_mode/maximize_mode_controller.cc
diff --git a/ash/wm/maximize_mode/maximize_mode_controller.cc b/ash/wm/maximize_mode/maximize_mode_controller.cc
index 511df7b94d65201e23329e30b5aea7c71f6ed56b..05669bff5ad1468e3467a1c615994019049fc9b6 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller.cc
+++ b/ash/wm/maximize_mode/maximize_mode_controller.cc
@@ -514,4 +514,9 @@ void MaximizeModeController::SetTickClockForTest(
tick_clock_ = tick_clock.Pass();
}
+void MaximizeModeController::InstallEventBlockerForTest(
+ scoped_ptr<ScopedDisableInternalMouseAndKeyboard> blocker) {
+ event_blocker_ = blocker.Pass();
+}
+
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698