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

Unified Diff: ui/aura/client/activation_client.h

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | « ui/aura/bench/bench_main.cc ('k') | ui/aura/client/activation_delegate.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/activation_client.h
===================================================================
--- ui/aura/client/activation_client.h (revision 150582)
+++ ui/aura/client/activation_client.h (working copy)
@@ -8,8 +8,11 @@
#include "ui/aura/aura_export.h"
#include "ui/aura/window.h"
+namespace ui {
+class Event;
+}
+
namespace aura {
-class Event;
class RootWindow;
namespace client {
@@ -30,11 +33,11 @@
virtual void DeactivateWindow(Window* window) = 0;
// Retrieves the active window, or NULL if there is none.
- virtual aura::Window* GetActiveWindow() = 0;
+ virtual Window* GetActiveWindow() = 0;
// Invoked prior to |window| getting focus as a result of the |event|. |event|
// may be NULL. Returning false blocks |window| from getting focus.
- virtual bool OnWillFocusWindow(Window* window, const Event* event) = 0;
+ virtual bool OnWillFocusWindow(Window* window, const ui::Event* event) = 0;
// Returns true if |window| can be activated, false otherwise. If |window| has
// a modal child it can not be activated.
« no previous file with comments | « ui/aura/bench/bench_main.cc ('k') | ui/aura/client/activation_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698