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

Side by Side Diff: ui/views/corewm/focus_controller.h

Issue 26116008: Remove old FocusManager code from Aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/corewm/compound_event_filter.cc ('k') | ui/views/corewm/focus_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_ 5 #ifndef UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_
6 #define UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_ 6 #define UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/scoped_observer.h" 9 #include "base/scoped_observer.h"
10 #include "ui/aura/client/activation_client.h" 10 #include "ui/aura/client/activation_client.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE; 57 virtual bool CanActivateWindow(aura::Window* window) const OVERRIDE;
58 58
59 // Overridden from aura::client::FocusClient: 59 // Overridden from aura::client::FocusClient:
60 virtual void AddObserver( 60 virtual void AddObserver(
61 aura::client::FocusChangeObserver* observer) OVERRIDE; 61 aura::client::FocusChangeObserver* observer) OVERRIDE;
62 virtual void RemoveObserver( 62 virtual void RemoveObserver(
63 aura::client::FocusChangeObserver* observer) OVERRIDE; 63 aura::client::FocusChangeObserver* observer) OVERRIDE;
64 virtual void FocusWindow(aura::Window* window) OVERRIDE; 64 virtual void FocusWindow(aura::Window* window) OVERRIDE;
65 virtual void ResetFocusWithinActiveWindow(aura::Window* window) OVERRIDE; 65 virtual void ResetFocusWithinActiveWindow(aura::Window* window) OVERRIDE;
66 virtual aura::Window* GetFocusedWindow() OVERRIDE; 66 virtual aura::Window* GetFocusedWindow() OVERRIDE;
67 virtual void OnWindowHiddenInRootWindow(aura::Window* window,
68 aura::RootWindow* root_window,
69 bool destroyed) OVERRIDE;
70 67
71 // Overridden from ui::EventHandler: 68 // Overridden from ui::EventHandler:
72 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE; 69 virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
73 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 70 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
74 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE; 71 virtual void OnScrollEvent(ui::ScrollEvent* event) OVERRIDE;
75 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 72 virtual void OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
76 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 73 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
77 74
78 // Overridden from aura::WindowObserver: 75 // Overridden from aura::WindowObserver:
79 virtual void OnWindowVisibilityChanged(aura::Window* window, 76 virtual void OnWindowVisibilityChanged(aura::Window* window,
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 118
122 ScopedObserver<aura::Window, aura::WindowObserver> observer_manager_; 119 ScopedObserver<aura::Window, aura::WindowObserver> observer_manager_;
123 120
124 DISALLOW_COPY_AND_ASSIGN(FocusController); 121 DISALLOW_COPY_AND_ASSIGN(FocusController);
125 }; 122 };
126 123
127 } // namespace corewm 124 } // namespace corewm
128 } // namespace views 125 } // namespace views
129 126
130 #endif // UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_ 127 #endif // UI_VIEWS_COREWM_FOCUS_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/views/corewm/compound_event_filter.cc ('k') | ui/views/corewm/focus_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698