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

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

Issue 313913004: Block internal PlatformEvents before they are dispatched in touchview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix updating cursor on enter notify. Created 6 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/wm/maximize_mode/maximize_mode_controller.h
diff --git a/ash/wm/maximize_mode/maximize_mode_controller.h b/ash/wm/maximize_mode/maximize_mode_controller.h
index 8445bfa50acc4819604dcf9163136fe09a4fd3e8..54db3f3a48539de4f53fb4781960be6b52876918 100644
--- a/ash/wm/maximize_mode/maximize_mode_controller.h
+++ b/ash/wm/maximize_mode/maximize_mode_controller.h
@@ -23,7 +23,7 @@ class EventHandler;
namespace ash {
class MaximizeModeControllerTest;
-class MaximizeModeEventBlocker;
+class ScopedDisableInternalMouseAndKeyboard;
class MaximizeModeWindowManager;
class MaximizeModeWindowManagerTest;
@@ -136,9 +136,9 @@ class ASH_EXPORT MaximizeModeController : public AccelerometerObserver,
// The maximized window manager (if enabled).
scoped_ptr<MaximizeModeWindowManager> maximize_mode_window_manager_;
- // An event targeter controller which traps mouse and keyboard events while
- // maximize mode is engaged.
- scoped_ptr<MaximizeModeEventBlocker> event_blocker_;
+ // A helper class which when instantiated will block native events from the
+ // internal keyboard and touchpad.
+ scoped_ptr<ScopedDisableInternalMouseAndKeyboard> event_blocker_;
// An event handler used to detect screenshot actions while in maximize mode.
scoped_ptr<ui::EventHandler> event_handler_;
« no previous file with comments | « ash/wm/maximize_mode/internal_input_device_list_x11.cc ('k') | ash/wm/maximize_mode/maximize_mode_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698