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

Unified Diff: ui/base/ime/dummy_input_method_delegate.h

Issue 142043006: Refactors ui::internal::InputMethodDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed an issue of unsigned/signed comparison. Created 6 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
« no previous file with comments | « mojo/examples/launcher/launcher.cc ('k') | ui/base/ime/dummy_input_method_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/dummy_input_method_delegate.h
diff --git a/ui/base/ime/dummy_input_method_delegate.h b/ui/base/ime/dummy_input_method_delegate.h
index 4d512d8905e393f519bc563a05b86e05f59873f8..ce64216c7c3cdf37bb415e1d7f23b3657afd08f9 100644
--- a/ui/base/ime/dummy_input_method_delegate.h
+++ b/ui/base/ime/dummy_input_method_delegate.h
@@ -5,26 +5,20 @@
#ifndef UI_BASE_IME_DUMMY_INPUT_METHOD_DELEGATE_H_
#define UI_BASE_IME_DUMMY_INPUT_METHOD_DELEGATE_H_
-#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/macros.h"
#include "ui/base/ime/input_method_delegate.h"
-#include "ui/base/ui_base_export.h"
namespace ui {
namespace internal {
-class UI_BASE_EXPORT DummyInputMethodDelegate
- : NON_EXPORTED_BASE(public InputMethodDelegate) {
+class UI_BASE_EXPORT DummyInputMethodDelegate : public InputMethodDelegate {
public:
DummyInputMethodDelegate();
virtual ~DummyInputMethodDelegate();
- // InputMethodDelegate overrides:
- virtual bool DispatchKeyEventPostIME(
- const base::NativeEvent& native_key_event) OVERRIDE;
- virtual bool DispatchFabricatedKeyEventPostIME(ui::EventType type,
- ui::KeyboardCode key_code,
- int flags) OVERRIDE;
+ // Overridden from InputMethodDelegate:
+ virtual bool DispatchKeyEventPostIME(const ui::KeyEvent& key_event) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DummyInputMethodDelegate);
« no previous file with comments | « mojo/examples/launcher/launcher.cc ('k') | ui/base/ime/dummy_input_method_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698