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

Side by Side Diff: components/arc/ime/arc_ime_service.h

Issue 2122873002: Add virtualKeyboardPrivate.onKeyboardClosed API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change OnKeyboardClosed as pure virtual method. Created 4 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ 5 #ifndef COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_
6 #define COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ 6 #define COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 aura::Window* lost_focus) override; 63 aura::Window* lost_focus) override;
64 64
65 // Overridden from ArcImeBridge::Delegate: 65 // Overridden from ArcImeBridge::Delegate:
66 void OnTextInputTypeChanged(ui::TextInputType type) override; 66 void OnTextInputTypeChanged(ui::TextInputType type) override;
67 void OnCursorRectChanged(const gfx::Rect& rect) override; 67 void OnCursorRectChanged(const gfx::Rect& rect) override;
68 void OnCancelComposition() override; 68 void OnCancelComposition() override;
69 void ShowImeIfNeeded() override; 69 void ShowImeIfNeeded() override;
70 70
71 // Overridden from keyboard::KeyboardControllerObserver. 71 // Overridden from keyboard::KeyboardControllerObserver.
72 void OnKeyboardBoundsChanging(const gfx::Rect& rect) override; 72 void OnKeyboardBoundsChanging(const gfx::Rect& rect) override;
73 void OnKeyboardClosed() override {}
73 74
74 // Overridden from ui::TextInputClient: 75 // Overridden from ui::TextInputClient:
75 void SetCompositionText(const ui::CompositionText& composition) override; 76 void SetCompositionText(const ui::CompositionText& composition) override;
76 void ConfirmCompositionText() override; 77 void ConfirmCompositionText() override;
77 void ClearCompositionText() override; 78 void ClearCompositionText() override;
78 void InsertText(const base::string16& text) override; 79 void InsertText(const base::string16& text) override;
79 void InsertChar(const ui::KeyEvent& event) override; 80 void InsertChar(const ui::KeyEvent& event) override;
80 ui::TextInputType GetTextInputType() const override; 81 ui::TextInputType GetTextInputType() const override;
81 gfx::Rect GetCaretBounds() const override; 82 gfx::Rect GetCaretBounds() const override;
82 83
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 keyboard::KeyboardController* keyboard_controller_; 122 keyboard::KeyboardController* keyboard_controller_;
122 123
123 ui::InputMethod* test_input_method_; 124 ui::InputMethod* test_input_method_;
124 125
125 DISALLOW_COPY_AND_ASSIGN(ArcImeService); 126 DISALLOW_COPY_AND_ASSIGN(ArcImeService);
126 }; 127 };
127 128
128 } // namespace arc 129 } // namespace arc
129 130
130 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ 131 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698