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

Unified Diff: content/browser/renderer_host/gtk_im_context_wrapper.h

Issue 10383239: Move NativeWebKeyboardEvent to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 7 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/test/base/ui_test_utils.cc ('k') | content/browser/renderer_host/gtk_im_context_wrapper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/gtk_im_context_wrapper.h
===================================================================
--- content/browser/renderer_host/gtk_im_context_wrapper.h (revision 137859)
+++ content/browser/renderer_host/gtk_im_context_wrapper.h (working copy)
@@ -17,15 +17,18 @@
#include "ui/base/ime/composition_text.h"
#include "ui/base/ime/text_input_type.h"
+class RenderWidgetHostViewGtk;
+typedef struct _GtkIMContext GtkIMContext;
+typedef struct _GtkWidget GtkWidget;
+
+namespace content {
+struct NativeWebKeyboardEvent;
+}
+
namespace gfx {
class Rect;
}
-class RenderWidgetHostViewGtk;
-struct NativeWebKeyboardEvent;
-typedef struct _GtkIMContext GtkIMContext;
-typedef struct _GtkWidget GtkWidget;
-
// This class is a convenience wrapper for GtkIMContext.
// It creates and manages two GtkIMContext instances, one is GtkIMMulticontext,
// for plain text input box, another is GtkIMContextSimple, for password input
@@ -66,8 +69,8 @@
// Check if the input method returned any result, eg. preedit and commit text.
bool HasInputMethodResult() const;
- void ProcessFilteredKeyPressEvent(NativeWebKeyboardEvent* wke);
- void ProcessUnfilteredKeyPressEvent(NativeWebKeyboardEvent* wke);
+ void ProcessFilteredKeyPressEvent(content::NativeWebKeyboardEvent* wke);
+ void ProcessUnfilteredKeyPressEvent(content::NativeWebKeyboardEvent* wke);
// Processes result returned from input method after filtering a key event.
// |filtered| indicates if the key event was filtered by the input method.
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | content/browser/renderer_host/gtk_im_context_wrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698