OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ | |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ | |
7 | |
8 #include "ui/events/event_handler.h" | |
9 #include "ui/gfx/native_widget_types.h" | |
10 | |
11 class BrowserView; | |
12 | |
13 class BrowserCommandHandlerX11 : public ui::EventHandler { | |
14 public: | |
15 explicit BrowserCommandHandlerX11(BrowserView* browser_view); | |
16 ~BrowserCommandHandlerX11() override; | |
17 | |
18 private: | |
19 // ui::EventHandler: | |
20 void OnMouseEvent(ui::MouseEvent* event) override; | |
21 | |
22 BrowserView* browser_view_; | |
23 | |
24 DISALLOW_COPY_AND_ASSIGN(BrowserCommandHandlerX11); | |
25 }; | |
26 | |
27 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ | |
OLD | NEW |