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

Unified Diff: ui/aura/scoped_window_targeter.h

Issue 230613004: Block keyboard and mouse input when maximize mode is activated by accelerometer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge with master. Created 6 years, 8 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/wm/maximize_mode/maximize_mode_event_blocker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/scoped_window_targeter.h
diff --git a/ui/aura/scoped_window_targeter.h b/ui/aura/scoped_window_targeter.h
index ce65092e8696323a060712df5f549afda2a19c83..f8546c57d0e0521979809045208b83ea20f3d19e 100644
--- a/ui/aura/scoped_window_targeter.h
+++ b/ui/aura/scoped_window_targeter.h
@@ -27,6 +27,10 @@ class AURA_EXPORT ScopedWindowTargeter : public WindowObserver {
virtual ~ScopedWindowTargeter();
+ ui::EventTargeter* old_targeter() {
+ return old_targeter_.get();
+ }
+
private:
// WindowObserver:
virtual void OnWindowDestroyed(Window* window) OVERRIDE;
« no previous file with comments | « ash/wm/maximize_mode/maximize_mode_event_blocker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698