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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.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/render_widget_host_view_gtk.h
diff --git a/chrome/browser/renderer_host/render_widget_host_view_gtk.h b/content/browser/renderer_host/render_widget_host_view_gtk.h
similarity index 96%
rename from chrome/browser/renderer_host/render_widget_host_view_gtk.h
rename to content/browser/renderer_host/render_widget_host_view_gtk.h
index 40824e926bc0ae7b0df7e5ec39169f04c5a6fd3a..c85765136d5980da6af5dab906cf8cd5f6f91170 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_gtk.h
+++ b/content/browser/renderer_host/render_widget_host_view_gtk.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_RENDER_WIDGET_HOST_VIEW_GTK_H_
-#define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
+#ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
+#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_
#pragma once
#include <gdk/gdk.h>
@@ -13,11 +13,11 @@
#include "base/memory/scoped_ptr.h"
#include "base/time.h"
-#include "chrome/browser/ui/gtk/owned_widget_gtk.h"
#include "content/browser/renderer_host/render_widget_host_view.h"
#include "ui/base/animation/animation_delegate.h"
#include "ui/base/animation/slide_animation.h"
#include "ui/base/gtk/gtk_signal.h"
+#include "ui/base/gtk/owned_widget_gtk.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/rect.h"
#include "webkit/glue/webcursor.h"
@@ -25,9 +25,6 @@
class RenderWidgetHost;
class GtkIMContextWrapper;
-#if !defined(TOOLKIT_VIEWS)
-class MenuGtk;
-#endif
struct NativeWebKeyboardEvent;
#if defined(OS_CHROMEOS)
@@ -134,9 +131,8 @@ class RenderWidgetHostViewGtk : public RenderWidgetHostView,
}
#if !defined(TOOLKIT_VIEWS)
- // Appends the input methods context menu to the specified |menu| object as a
- // submenu.
- void AppendInputMethodsContextMenu(MenuGtk* menu);
+ // Builds a submenu containing all the gtk input method commands.
+ GtkWidget* BuildInputMethodsGtkMenu();
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698