OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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_ASH_CHROME_KEYBOARD_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ |
6 #define CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ | 6 #define CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "content/public/browser/web_contents_observer.h" | 11 #include "content/public/browser/web_contents_observer.h" |
12 #include "ui/keyboard/content/keyboard_ui_content.h" | 12 #include "ui/keyboard/content/keyboard_ui_content.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 class BrowserContext; | 15 class BrowserContext; |
16 class WebContents; | 16 class WebContents; |
17 } | 17 } |
18 namespace extensions { | |
19 class ExtensionFunctionDispatcher; | |
20 class WindowController; | |
21 } | |
22 namespace gfx { | |
23 class Rect; | |
24 } | |
25 namespace keyboard { | 18 namespace keyboard { |
26 class KeyboardController; | 19 class KeyboardController; |
27 class KeyboardControllerObserver; | 20 class KeyboardControllerObserver; |
28 } | 21 } |
29 namespace ui { | 22 namespace ui { |
30 class InputMethod; | 23 class InputMethod; |
31 } | 24 } |
32 | 25 |
33 // Subclass of KeyboardUIContent. It is used by KeyboardController to get | 26 // Subclass of KeyboardUIContent. It is used by KeyboardController to get |
34 // access to the virtual keyboard window and setup Chrome extension functions. | 27 // access to the virtual keyboard window and setup Chrome extension functions. |
(...skipping 28 matching lines...) Expand all Loading... |
63 | 56 |
64 // content::WebContentsObserver overrides | 57 // content::WebContentsObserver overrides |
65 void RenderViewCreated(content::RenderViewHost* render_view_host) override; | 58 void RenderViewCreated(content::RenderViewHost* render_view_host) override; |
66 | 59 |
67 std::unique_ptr<keyboard::KeyboardControllerObserver> observer_; | 60 std::unique_ptr<keyboard::KeyboardControllerObserver> observer_; |
68 | 61 |
69 DISALLOW_COPY_AND_ASSIGN(ChromeKeyboardUI); | 62 DISALLOW_COPY_AND_ASSIGN(ChromeKeyboardUI); |
70 }; | 63 }; |
71 | 64 |
72 #endif // CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ | 65 #endif // CHROME_BROWSER_UI_ASH_CHROME_KEYBOARD_UI_H_ |
OLD | NEW |