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

Side by Side Diff: chrome/browser/chromeos/input_method/textinput_test_helper.h

Issue 13932030: Delayed loading of the virtual keyboard. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix failing test Created 7 years, 8 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 | Annotate | Revision Log
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 CHROME_BROWSER_CHROMEOS_INPUT_METHOD_TEXTINPUT_TEST_HELPER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_INPUT_METHOD_TEXTINPUT_TEST_HELPER_H_
6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_TEXTINPUT_TEST_HELPER_H_ 6 #define CHROME_BROWSER_CHROMEOS_INPUT_METHOD_TEXTINPUT_TEST_HELPER_H_
7 7
8 #include "chrome/test/base/in_process_browser_test.h" 8 #include "chrome/test/base/in_process_browser_test.h"
9 #include "ui/base/ime/mock_input_method.h" 9 #include "ui/base/ime/mock_input_method.h"
10 #include "ui/base/ime/text_input_client.h" 10 #include "ui/base/ime/text_input_client.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 }; 71 };
72 72
73 // ui::MockInputMethod::MockObserver overrides. 73 // ui::MockInputMethod::MockObserver overrides.
74 virtual void OnTextInputTypeChanged( 74 virtual void OnTextInputTypeChanged(
75 const ui::TextInputClient* client) OVERRIDE; 75 const ui::TextInputClient* client) OVERRIDE;
76 virtual void OnFocus() OVERRIDE; 76 virtual void OnFocus() OVERRIDE;
77 virtual void OnBlur() OVERRIDE; 77 virtual void OnBlur() OVERRIDE;
78 virtual void OnCaretBoundsChanged(const ui::TextInputClient* client) OVERRIDE; 78 virtual void OnCaretBoundsChanged(const ui::TextInputClient* client) OVERRIDE;
79 virtual void OnTextInputStateChanged( 79 virtual void OnTextInputStateChanged(
80 const ui::TextInputClient* client) OVERRIDE; 80 const ui::TextInputClient* client) OVERRIDE;
81 virtual void OnInputMethodDestroyed(
82 const ui::InputMethod* input_method) OVERRIDE;
81 83
82 // Represents waiting type of text input event. 84 // Represents waiting type of text input event.
83 WaitImeEventType waiting_type_; 85 WaitImeEventType waiting_type_;
84 86
85 string16 surrounding_text_; 87 string16 surrounding_text_;
86 gfx::Rect caret_rect_; 88 gfx::Rect caret_rect_;
87 gfx::Rect composition_head_; 89 gfx::Rect composition_head_;
88 ui::Range selection_range_; 90 ui::Range selection_range_;
89 bool focus_state_; 91 bool focus_state_;
90 ui::TextInputType latest_text_input_type_; 92 ui::TextInputType latest_text_input_type_;
91 93
92 DISALLOW_COPY_AND_ASSIGN(TextInputTestHelper); 94 DISALLOW_COPY_AND_ASSIGN(TextInputTestHelper);
93 }; 95 };
94 96
95 } // namespace chromeos 97 } // namespace chromeos
96 98
97 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_TEXTINPUT_TEST_HELPER_H_ 99 #endif // CHROME_BROWSER_CHROMEOS_INPUT_METHOD_TEXTINPUT_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | chrome/browser/chromeos/input_method/textinput_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698