Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Side by Side Diff: ui/keyboard/content/keyboard_ui_content.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/test/gl_surface_test_support.h ('k') | ui/message_center/fake_message_center.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_H_ 5 #ifndef UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_H_
6 #define UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_H_ 6 #define UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_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/common/media_stream_request.h" 11 #include "content/public/common/media_stream_request.h"
12 #include "ui/aura/window_observer.h" 12 #include "ui/aura/window_observer.h"
13 #include "ui/base/ime/text_input_type.h" 13 #include "ui/base/ime/text_input_type.h"
14 #include "ui/keyboard/keyboard_export.h" 14 #include "ui/keyboard/keyboard_export.h"
15 #include "ui/keyboard/keyboard_ui.h" 15 #include "ui/keyboard/keyboard_ui.h"
16 16
17 namespace aura { 17 namespace aura {
18 class Window; 18 class Window;
19 } 19 }
20 namespace content { 20 namespace content {
21 class BrowserContext; 21 class BrowserContext;
22 class SiteInstance;
23 class WebContents; 22 class WebContents;
24 } 23 }
25 namespace gfx { 24 namespace gfx {
26 class Rect; 25 class Rect;
27 } 26 }
28 namespace ui {
29 class InputMethod;
30 }
31 namespace wm { 27 namespace wm {
32 class Shadow; 28 class Shadow;
33 } 29 }
34 30
35 namespace keyboard { 31 namespace keyboard {
36 32
37 class KeyboardController;
38 class WindowBoundsChangeObserver; 33 class WindowBoundsChangeObserver;
39 34
40 // An implementation of KeyboardUI that uses a content::WebContents to implement 35 // An implementation of KeyboardUI that uses a content::WebContents to implement
41 //the keyboard. 36 //the keyboard.
42 class KEYBOARD_EXPORT KeyboardUIContent : public KeyboardUI, 37 class KEYBOARD_EXPORT KeyboardUIContent : public KeyboardUI,
43 public aura::WindowObserver { 38 public aura::WindowObserver {
44 public: 39 public:
45 class TestApi { 40 class TestApi {
46 public: 41 public:
47 explicit TestApi(KeyboardUIContent* ui) : ui_(ui) {} 42 explicit TestApi(KeyboardUIContent* ui) : ui_(ui) {}
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 std::unique_ptr<wm::Shadow> shadow_; 118 std::unique_ptr<wm::Shadow> shadow_;
124 119
125 std::unique_ptr<WindowBoundsChangeObserver> window_bounds_observer_; 120 std::unique_ptr<WindowBoundsChangeObserver> window_bounds_observer_;
126 121
127 DISALLOW_COPY_AND_ASSIGN(KeyboardUIContent); 122 DISALLOW_COPY_AND_ASSIGN(KeyboardUIContent);
128 }; 123 };
129 124
130 } // namespace keyboard 125 } // namespace keyboard
131 126
132 #endif // UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_H_ 127 #endif // UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_H_
OLDNEW
« no previous file with comments | « ui/gl/test/gl_surface_test_support.h ('k') | ui/message_center/fake_message_center.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698