[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / browser_command_handler_x11.h
blob785c16d13e9f07c4e8efeeb65c5e91789dd9bd46
1 // Copyright 2014 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_BROWSER_COMMAND_HANDLER_X11_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_
8 #include "ui/events/event_handler.h"
10 class Browser;
12 class BrowserCommandHandlerX11 : public ui::EventHandler {
13 public:
14 explicit BrowserCommandHandlerX11(Browser* browser);
15 virtual ~BrowserCommandHandlerX11();
17 private:
18 // ui::EventHandler:
19 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
21 Browser* browser_;
23 DISALLOW_COPY_AND_ASSIGN(BrowserCommandHandlerX11);
26 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_