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

Unified Diff: chrome/browser/ui/views/frame/desktop_user_action_handler_aura.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
Index: chrome/browser/ui/views/frame/desktop_user_action_handler_aura.h
diff --git a/chrome/browser/ui/views/frame/desktop_user_action_handler_aura.h b/chrome/browser/ui/views/frame/desktop_user_action_handler_aura.h
deleted file mode 100644
index a3a61ee6f96fe8c5086da5dfb0a1da217e5a761c..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/views/frame/desktop_user_action_handler_aura.h
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright (c) 2013 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 CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_USER_ACTION_HANDLER_AURA_H_
-#define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_USER_ACTION_HANDLER_AURA_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/aura/client/user_action_client.h"
-
-class Browser;
-
-namespace content {
-class WebContents;
-}
-
-// Handles back/forward commands on a per-browser basis.
-class DesktopUserActionHandlerAura : public aura::client::UserActionClient {
- public:
- explicit DesktopUserActionHandlerAura(Browser* browser);
- virtual ~DesktopUserActionHandlerAura();
-
- // Overridden from aura::client::UserActionClient:
- virtual bool OnUserAction(
- aura::client::UserActionClient::Command command) OVERRIDE;
-
- private:
- // Returns the active web contents of |browser_|.
- content::WebContents* GetActiveWebContents() const;
-
- Browser* browser_;
-
- DISALLOW_COPY_AND_ASSIGN(DesktopUserActionHandlerAura);
-};
-
-#endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_USER_ACTION_HANDLER_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698