OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ |
7 | 7 |
8 #include "ui/events/event_handler.h" | 8 #include "ui/events/event_handler.h" |
9 | 9 |
10 class Browser; | 10 class Browser; |
11 | 11 |
12 class BrowserCommandHandlerX11 : public ui::EventHandler { | 12 class BrowserCommandHandlerX11 : public ui::EventHandler { |
13 public: | 13 public: |
14 explicit BrowserCommandHandlerX11(Browser* browser); | 14 explicit BrowserCommandHandlerX11(Browser* browser); |
15 virtual ~BrowserCommandHandlerX11(); | 15 virtual ~BrowserCommandHandlerX11(); |
16 | 16 |
17 private: | 17 private: |
18 // ui::EventHandler: | 18 // ui::EventHandler: |
19 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE; | 19 virtual void OnMouseEvent(ui::MouseEvent* event) override; |
20 | 20 |
21 Browser* browser_; | 21 Browser* browser_; |
22 | 22 |
23 DISALLOW_COPY_AND_ASSIGN(BrowserCommandHandlerX11); | 23 DISALLOW_COPY_AND_ASSIGN(BrowserCommandHandlerX11); |
24 }; | 24 }; |
25 | 25 |
26 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ | 26 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_COMMAND_HANDLER_X11_H_ |
OLD | NEW |