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

Unified Diff: ui/base/ime/win/tsf_text_store_unittest.cc

Issue 24012002: Move Range code to gfx. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: d Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ime/win/tsf_text_store.h ('k') | ui/base/range/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/win/tsf_text_store_unittest.cc
diff --git a/ui/base/ime/win/tsf_text_store_unittest.cc b/ui/base/ime/win/tsf_text_store_unittest.cc
index 62772f246c736247e1cefd4a2548c8fc48b1cd28..be9c7397eec600865c6798540c3cf509c35b721d 100644
--- a/ui/base/ime/win/tsf_text_store_unittest.cc
+++ b/ui/base/ime/win/tsf_text_store_unittest.cc
@@ -33,12 +33,12 @@ class MockTextInputClient : public TextInputClient {
MOCK_METHOD0(GetCaretBounds, gfx::Rect());
MOCK_METHOD2(GetCompositionCharacterBounds, bool(uint32, gfx::Rect*));
MOCK_METHOD0(HasCompositionText, bool());
- MOCK_METHOD1(GetTextRange, bool(ui::Range*));
- MOCK_METHOD1(GetCompositionTextRange, bool(ui::Range*));
- MOCK_METHOD1(GetSelectionRange, bool(ui::Range*));
- MOCK_METHOD1(SetSelectionRange, bool(const ui::Range&));
- MOCK_METHOD1(DeleteRange, bool(const ui::Range&));
- MOCK_METHOD2(GetTextFromRange, bool(const ui::Range&, string16*));
+ MOCK_METHOD1(GetTextRange, bool(gfx::Range*));
+ MOCK_METHOD1(GetCompositionTextRange, bool(gfx::Range*));
+ MOCK_METHOD1(GetSelectionRange, bool(gfx::Range*));
+ MOCK_METHOD1(SetSelectionRange, bool(const gfx::Range&));
+ MOCK_METHOD1(DeleteRange, bool(const gfx::Range&));
+ MOCK_METHOD2(GetTextFromRange, bool(const gfx::Range&, string16*));
MOCK_METHOD0(OnInputMethodChanged, void());
MOCK_METHOD1(ChangeTextDirectionAndLayoutAlignment,
bool(base::i18n::TextDirection));
@@ -139,7 +139,7 @@ class TSFTextStoreTestCallback {
bool* edit_flag() { return &text_store_->edit_flag_; }
string16* string_buffer() { return &text_store_->string_buffer_; }
size_t* committed_size() { return &text_store_->committed_size_; }
- Range* selection() { return &text_store_->selection_; }
+ gfx::Range* selection() { return &text_store_->selection_; }
CompositionUnderlines* composition_undelines() {
return &text_store_->composition_undelines_;
}
« no previous file with comments | « ui/base/ime/win/tsf_text_store.h ('k') | ui/base/range/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698