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

Unified Diff: chrome/browser/chromeos/input_method/mock_ibus_controller.cc

Issue 10092006: Add Reset() to IBusController. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_ibus_controller.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/input_method/mock_ibus_controller.cc
diff --git a/chrome/browser/chromeos/input_method/mock_ibus_controller.cc b/chrome/browser/chromeos/input_method/mock_ibus_controller.cc
index 340e0e369e3545b358ff04436ee24e02621d2b7d..a94b7af5b42131ef3e1dc1f742dbdcf04b4e0dbd 100644
--- a/chrome/browser/chromeos/input_method/mock_ibus_controller.cc
+++ b/chrome/browser/chromeos/input_method/mock_ibus_controller.cc
@@ -13,6 +13,7 @@ namespace input_method {
MockIBusController::MockIBusController()
: start_count_(0),
start_return_(true),
+ reset_count_(0),
stop_count_(0),
stop_return_(true),
change_input_method_count_(0),
@@ -31,6 +32,10 @@ bool MockIBusController::Start() {
return start_return_;
}
+void MockIBusController::Reset() {
+ ++reset_count_;
+}
+
bool MockIBusController::Stop() {
++stop_count_;
return stop_return_;
« no previous file with comments | « chrome/browser/chromeos/input_method/mock_ibus_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698