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

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

Issue 10804031: Move more files into the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
Index: content/browser/renderer_host/gtk_im_context_wrapper.h
===================================================================
--- content/browser/renderer_host/gtk_im_context_wrapper.h (revision 147462)
+++ content/browser/renderer_host/gtk_im_context_wrapper.h (working copy)
@@ -16,18 +16,17 @@
#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;
}
+namespace content {
+class RenderWidgetHostViewGtk;
+struct NativeWebKeyboardEvent;
+
// 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
@@ -68,8 +67,8 @@
// Check if the input method returned any result, eg. preedit and commit text.
bool HasInputMethodResult() const;
- void ProcessFilteredKeyPressEvent(content::NativeWebKeyboardEvent* wke);
- void ProcessUnfilteredKeyPressEvent(content::NativeWebKeyboardEvent* wke);
+ void ProcessFilteredKeyPressEvent(NativeWebKeyboardEvent* wke);
+ void ProcessUnfilteredKeyPressEvent(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.
@@ -197,4 +196,6 @@
DISALLOW_COPY_AND_ASSIGN(GtkIMContextWrapper);
};
+} // namespace content
+
#endif // CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_
« no previous file with comments | « content/browser/renderer_host/gpu_message_filter.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