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

Side by Side Diff: ui/keyboard/keyboard_controller.h

Issue 2769073002: Remove KEYBOARD_EXPORT. (Closed)
Patch Set: . Created 3 years, 9 months 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/keyboard/content/keyboard_ui_content.h ('k') | ui/keyboard/keyboard_controller_observer.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 (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 UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ 5 #ifndef UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ 6 #define UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/event_types.h" 10 #include "base/event_types.h"
(...skipping 30 matching lines...) Expand all
41 // Full width virtual keyboard. The virtual keyboard window has the same width 41 // Full width virtual keyboard. The virtual keyboard window has the same width
42 // as the display. 42 // as the display.
43 FULL_WIDTH, 43 FULL_WIDTH,
44 // Floating virtual keyboard. The virtual keyboard window has customizable 44 // Floating virtual keyboard. The virtual keyboard window has customizable
45 // width and is draggable. 45 // width and is draggable.
46 FLOATING, 46 FLOATING,
47 }; 47 };
48 48
49 // Provides control of the virtual keyboard, including providing a container 49 // Provides control of the virtual keyboard, including providing a container
50 // and controlling visibility. 50 // and controlling visibility.
51 class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver, 51 class KeyboardController : public ui::InputMethodObserver,
52 public aura::WindowObserver { 52 public aura::WindowObserver {
53 public: 53 public:
54 // Different ways to hide the keyboard. 54 // Different ways to hide the keyboard.
55 enum HideReason { 55 enum HideReason {
56 // System initiated. 56 // System initiated.
57 HIDE_REASON_AUTOMATIC, 57 HIDE_REASON_AUTOMATIC,
58 // User initiated. 58 // User initiated.
59 HIDE_REASON_MANUAL, 59 HIDE_REASON_MANUAL,
60 }; 60 };
61 61
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 static KeyboardController* instance_; 187 static KeyboardController* instance_;
188 188
189 base::WeakPtrFactory<KeyboardController> weak_factory_; 189 base::WeakPtrFactory<KeyboardController> weak_factory_;
190 190
191 DISALLOW_COPY_AND_ASSIGN(KeyboardController); 191 DISALLOW_COPY_AND_ASSIGN(KeyboardController);
192 }; 192 };
193 193
194 } // namespace keyboard 194 } // namespace keyboard
195 195
196 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_ 196 #endif // UI_KEYBOARD_KEYBOARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/keyboard/content/keyboard_ui_content.h ('k') | ui/keyboard/keyboard_controller_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698