summaryrefslogtreecommitdiffstats
path: root/views/ime/mock_input_method.h
diff options
context:
space:
mode:
Diffstat (limited to 'views/ime/mock_input_method.h')
-rw-r--r--views/ime/mock_input_method.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/ime/mock_input_method.h b/views/ime/mock_input_method.h
index af4e0a5..01373eb 100644
--- a/views/ime/mock_input_method.h
+++ b/views/ime/mock_input_method.h
@@ -6,6 +6,8 @@
#define VIEWS_IME_MOCK_INPUT_METHOD_H_
#pragma once
+#include <string>
+
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "views/ime/input_method_base.h"
@@ -48,7 +50,7 @@ class VIEWS_EXPORT MockInputMethod : public InputMethodBase {
private:
// Overridden from InputMethodBase.
- virtual void FocusedViewWillChange() OVERRIDE;
+ virtual void OnWillChangeFocus(View* focused_before, View* focused) OVERRIDE;
// Clears boolean states defined below.
void ClearStates();