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

Unified Diff: ui/aura_shell/root_window_event_filter.h

Issue 8926004: Revert 114095 - Move the concept of Activation to the Shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | « ui/aura_shell/modal_container_layout_manager_unittest.cc ('k') | ui/aura_shell/root_window_event_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/root_window_event_filter.h
===================================================================
--- ui/aura_shell/root_window_event_filter.h (revision 114099)
+++ ui/aura_shell/root_window_event_filter.h (working copy)
@@ -40,11 +40,14 @@
aura::TouchEvent* event) OVERRIDE;
private:
+ // If necessary, activates |window| and changes focus.
+ void ActivateIfNecessary(aura::Window* window, aura::Event* event);
+
// Updates the cursor if the target provides a custom one, and provides
// default resize cursors for window edges.
void UpdateCursor(aura::Window* target, aura::MouseEvent* event);
- // Dispatches event to additional filters. Returns false or
+ // Dispatches event to addtional filters. Returns false or
// ui::TOUCH_STATUS_UNKNOWN if event is consumed.
bool FilterKeyEvent(aura::Window* target, aura::KeyEvent* event);
bool FilterMouseEvent(aura::Window* target, aura::MouseEvent* event);
Property changes on: ui\aura_shell\root_window_event_filter.h
___________________________________________________________________
Added: svn:mergeinfo
« no previous file with comments | « ui/aura_shell/modal_container_layout_manager_unittest.cc ('k') | ui/aura_shell/root_window_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698