1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_USER_ACTION_HANDLER_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_USER_ACTION_HANDLER_AURA_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "ui/aura/client/user_action_client.h"
18 // Handles back/forward commands on a per-browser basis.
19 class DesktopUserActionHandlerAura
: public aura::client::UserActionClient
{
21 explicit DesktopUserActionHandlerAura(Browser
* browser
);
22 virtual ~DesktopUserActionHandlerAura();
24 // Overridden from aura::client::UserActionClient:
25 virtual bool OnUserAction(
26 aura::client::UserActionClient::Command command
) OVERRIDE
;
29 // Returns the active web contents of |browser_|.
30 content::WebContents
* GetActiveWebContents() const;
34 DISALLOW_COPY_AND_ASSIGN(DesktopUserActionHandlerAura
);
37 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_DESKTOP_USER_ACTION_HANDLER_AURA_H_