1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chromeos/ime/mock_ime_property_handler.h"
9 MockIMEPropertyHandler::MockIMEPropertyHandler()
10 : register_properties_call_count_(0) {
13 MockIMEPropertyHandler::~MockIMEPropertyHandler() {
16 void MockIMEPropertyHandler::RegisterProperties(
17 const input_method::InputMethodPropertyList
& properties
) {
18 ++register_properties_call_count_
;
19 last_registered_properties_
= properties
;
22 void MockIMEPropertyHandler::Reset() {
23 register_properties_call_count_
= 0;
26 } // namespace chromeos