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

Unified Diff: ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 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
Index: ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc
diff --git a/ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc b/ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc
deleted file mode 100644
index 6e6187657b497ce36ec7a36a4b67523d9d8c09a5..0000000000000000000000000000000000000000
--- a/ui/base/ime/chromeos/mock_ime_candidate_window_handler.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/base/ime/chromeos/mock_ime_candidate_window_handler.h"
-
-namespace chromeos {
-
-MockIMECandidateWindowHandler::MockIMECandidateWindowHandler()
- : set_cursor_bounds_call_count_(0),
- update_lookup_table_call_count_(0) {
-}
-
-MockIMECandidateWindowHandler::~MockIMECandidateWindowHandler() {
-
-}
-
-void MockIMECandidateWindowHandler::UpdateLookupTable(
- const ui::CandidateWindow& table,
- bool visible) {
- ++update_lookup_table_call_count_;
- last_update_lookup_table_arg_.lookup_table.CopyFrom(table);
- last_update_lookup_table_arg_.is_visible = visible;
-}
-
-void MockIMECandidateWindowHandler::UpdatePreeditText(
- const base::string16& text,
- uint32 cursor_pos,
- bool visible) {}
-
-void MockIMECandidateWindowHandler::SetCursorBounds(
- const gfx::Rect& cursor_bounds,
- const gfx::Rect& composition_head) {
- ++set_cursor_bounds_call_count_;
-}
-
-void MockIMECandidateWindowHandler::Reset() {
- set_cursor_bounds_call_count_ = 0;
- update_lookup_table_call_count_ = 0;
-}
-
-} // namespace chromeos
« no previous file with comments | « ui/base/ime/chromeos/mock_ime_candidate_window_handler.h ('k') | ui/base/ime/chromeos/mock_ime_engine_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698