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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_gtk.h

Issue 160577: Cleanup GtkIMContext related code by splitting it into separated source file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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: chrome/browser/renderer_host/render_widget_host_view_gtk.h
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_gtk.h (revision 22567)
+++ chrome/browser/renderer_host/render_widget_host_view_gtk.h (working copy)
@@ -6,7 +6,10 @@
#define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
#include <gdk/gdk.h>
+
+#include <map>
#include <vector>
+#include <string>
#include "base/gfx/native_widget_types.h"
#include "base/scoped_ptr.h"
@@ -18,18 +21,17 @@
class RenderWidgetHost;
// A conveience wrapper class for GtkIMContext;
-class RenderWidgetHostViewGtkIMContext;
+class GtkIMContextWrapper;
typedef struct _GtkClipboard GtkClipboard;
typedef struct _GtkSelectionData GtkSelectionData;
-typedef struct _GtkIMContext GtkIMContext;
// -----------------------------------------------------------------------------
// See comments in render_widget_host_view.h about this class and its members.
// -----------------------------------------------------------------------------
class RenderWidgetHostViewGtk : public RenderWidgetHostView {
public:
- RenderWidgetHostViewGtk(RenderWidgetHost* widget);
+ explicit RenderWidgetHostViewGtk(RenderWidgetHost* widget);
~RenderWidgetHostViewGtk();
// Initialize this object for use as a drawing area.
@@ -124,7 +126,7 @@
bool was_focused_before_grab_;
// A conveience wrapper object for GtkIMContext;
- scoped_ptr<RenderWidgetHostViewGtkIMContext> im_context_;
+ scoped_ptr<GtkIMContextWrapper> im_context_;
// Helper class that lets us allocate plugin containers and move them.
GtkPluginContainerManager plugin_container_manager_;
« no previous file with comments | « chrome/browser/renderer_host/gtk_im_context_wrapper.cc ('k') | chrome/browser/renderer_host/render_widget_host_view_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698