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

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

Issue 183853037: aura: Remove client::UserActionClient. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unrevert Created 6 years, 9 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/aura.gyp ('k') | ui/aura/client/user_action_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/client/user_action_client.h
diff --git a/ui/aura/client/user_action_client.h b/ui/aura/client/user_action_client.h
deleted file mode 100644
index 738a8d5fba1e60a6722be5315bec9c0a7820b37a..0000000000000000000000000000000000000000
--- a/ui/aura/client/user_action_client.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_AURA_CLIENT_USER_ACTION_CLIENT_H_
-#define UI_AURA_CLIENT_USER_ACTION_CLIENT_H_
-
-#include "ui/aura/aura_export.h"
-
-namespace aura {
-class Window;
-namespace client {
-
-// An interface for handling a user action that isn't handled by the standard
-// event path.
-class AURA_EXPORT UserActionClient {
- public:
- enum Command {
- BACK = 0,
- FORWARD,
- };
-
- // Returns true if the command was handled and false otherwise.
- virtual bool OnUserAction(Command command) = 0;
-
- virtual ~UserActionClient() {}
-};
-
-// Sets/gets the client for handling user action on the specified root window.
-AURA_EXPORT void SetUserActionClient(Window* root_window,
- UserActionClient* client);
-AURA_EXPORT UserActionClient* GetUserActionClient(Window* root_window);
-
-} // namespace client
-} // namespace aura
-
-#endif // UI_AURA_CLIENT_USER_ACTION_CLIENT_H_
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/client/user_action_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698