OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_EXTENSIONS_EXTENSION_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_VIEWS_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "chrome/browser/extensions/extension_view.h" | 10 #include "chrome/browser/extensions/extension_view.h" |
10 #include "content/public/browser/native_web_keyboard_event.h" | 11 #include "content/public/browser/native_web_keyboard_event.h" |
11 #include "third_party/skia/include/core/SkBitmap.h" | 12 #include "third_party/skia/include/core/SkBitmap.h" |
12 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" | 13 #include "ui/views/controls/webview/unhandled_keyboard_event_handler.h" |
13 #include "ui/views/controls/webview/webview.h" | 14 #include "ui/views/controls/webview/webview.h" |
14 | 15 |
15 class Browser; | 16 class Browser; |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 class RenderViewHost; | 19 class RenderViewHost; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 Container* container_; | 85 Container* container_; |
85 | 86 |
86 // A handler to handle unhandled keyboard messages coming back from the | 87 // A handler to handle unhandled keyboard messages coming back from the |
87 // renderer process. | 88 // renderer process. |
88 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; | 89 views::UnhandledKeyboardEventHandler unhandled_keyboard_event_handler_; |
89 | 90 |
90 DISALLOW_COPY_AND_ASSIGN(ExtensionViewViews); | 91 DISALLOW_COPY_AND_ASSIGN(ExtensionViewViews); |
91 }; | 92 }; |
92 | 93 |
93 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_VIEWS_H_ | 94 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_VIEW_VIEWS_H_ |
OLD | NEW |