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

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

Issue 7669040: content: Move render_widget_host_view_gtk to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix. Created 9 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: content/browser/renderer_host/gtk_im_context_wrapper.h
diff --git a/chrome/browser/renderer_host/gtk_im_context_wrapper.h b/content/browser/renderer_host/gtk_im_context_wrapper.h
similarity index 96%
rename from chrome/browser/renderer_host/gtk_im_context_wrapper.h
rename to content/browser/renderer_host/gtk_im_context_wrapper.h
index 4caa63dda921abcd5586f1ba3bb079947e55af27..a783296aeb4d8c70f370f414faa050f875180e83 100644
--- a/chrome/browser/renderer_host/gtk_im_context_wrapper.h
+++ b/content/browser/renderer_host/gtk_im_context_wrapper.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_
-#define CHROME_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_
+#ifndef CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_
+#define CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_
#pragma once
#include <gdk/gdk.h>
@@ -21,9 +21,6 @@ namespace gfx {
class Rect;
}
-#if !defined(TOOLKIT_VIEWS)
-class MenuGtk;
-#endif
class RenderWidgetHostViewGtk;
struct NativeWebKeyboardEvent;
typedef struct _GtkIMContext GtkIMContext;
@@ -58,7 +55,7 @@ class GtkIMContextWrapper {
#if !defined(TOOLKIT_VIEWS)
// Not defined for views because the views context menu doesn't
// implement input methods yet.
- void AppendInputMethodsContextMenu(MenuGtk* menu);
+ GtkWidget* BuildInputMethodsGtkMenu();
#endif
void CancelComposition();
@@ -197,4 +194,4 @@ class GtkIMContextWrapper {
DISALLOW_COPY_AND_ASSIGN(GtkIMContextWrapper);
};
-#endif // CHROME_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_
+#endif // CONTENT_BROWSER_RENDERER_HOST_GTK_IM_CONTEXT_WRAPPER_H_
« no previous file with comments | « chrome/test/data/gtk_key_bindings_test_gtkrc ('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