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

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

Issue 2968943002: Remove LoadSystemKeyboard() (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | ui/keyboard/content/keyboard_ui_content.cc » ('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"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 }; 52 };
53 53
54 explicit KeyboardUIContent(content::BrowserContext* context); 54 explicit KeyboardUIContent(content::BrowserContext* context);
55 ~KeyboardUIContent() override; 55 ~KeyboardUIContent() override;
56 56
57 // Requests the audio input from microphone for speech input. 57 // Requests the audio input from microphone for speech input.
58 virtual void RequestAudioInput(content::WebContents* web_contents, 58 virtual void RequestAudioInput(content::WebContents* web_contents,
59 const content::MediaStreamRequest& request, 59 const content::MediaStreamRequest& request,
60 const content::MediaResponseCallback& callback) = 0; 60 const content::MediaResponseCallback& callback) = 0;
61 61
62 // Loads system virtual keyboard. Noop if the current virtual keyboard is
63 // system virtual keyboard.
64 virtual void LoadSystemKeyboard();
65
66 // Called when a window being observed changes bounds, to update its insets. 62 // Called when a window being observed changes bounds, to update its insets.
67 void UpdateInsetsForWindow(aura::Window* window); 63 void UpdateInsetsForWindow(aura::Window* window);
68 64
69 // Overridden from KeyboardUI: 65 // Overridden from KeyboardUI:
70 aura::Window* GetKeyboardWindow() override; 66 aura::Window* GetKeyboardWindow() override;
71 bool HasKeyboardWindow() const override; 67 bool HasKeyboardWindow() const override;
72 bool ShouldWindowOverscroll(aura::Window* window) const override; 68 bool ShouldWindowOverscroll(aura::Window* window) const override;
73 void ReloadKeyboardIfNeeded() override; 69 void ReloadKeyboardIfNeeded() override;
74 void InitInsets(const gfx::Rect& new_bounds) override; 70 void InitInsets(const gfx::Rect& new_bounds) override;
75 void ResetInsets() override; 71 void ResetInsets() override;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 std::unique_ptr<wm::Shadow> shadow_; 122 std::unique_ptr<wm::Shadow> shadow_;
127 123
128 std::unique_ptr<WindowBoundsChangeObserver> window_bounds_observer_; 124 std::unique_ptr<WindowBoundsChangeObserver> window_bounds_observer_;
129 125
130 DISALLOW_COPY_AND_ASSIGN(KeyboardUIContent); 126 DISALLOW_COPY_AND_ASSIGN(KeyboardUIContent);
131 }; 127 };
132 128
133 } // namespace keyboard 129 } // namespace keyboard
134 130
135 #endif // UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_H_ 131 #endif // UI_KEYBOARD_CONTENT_KEYBOARD_UI_CONTENT_H_
OLDNEW
« no previous file with comments | « no previous file | ui/keyboard/content/keyboard_ui_content.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698