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

Unified Diff: chrome/browser/gtk/constrained_window_gtk.h

Issue 4319003: Replace TabContentsViewGtk with TabContentsViewViews as part of the ongoing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Last patchset was missing canvas_direct2d.cc edit, fixed it and sent to try bots. Created 10 years, 1 month 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/gtk/constrained_window_gtk.h
diff --git a/chrome/browser/gtk/constrained_window_gtk.h b/chrome/browser/gtk/constrained_window_gtk.h
index 16b4b332607f058b2ffc92f8e27c52dbc1ccee05..f3ffaeb495fdf0dcfae7296af8b342fd5f80f64e 100644
--- a/chrome/browser/gtk/constrained_window_gtk.h
+++ b/chrome/browser/gtk/constrained_window_gtk.h
@@ -15,8 +15,14 @@
#include "chrome/browser/tab_contents/constrained_window.h"
class TabContents;
-class TabContentsViewGtk;
typedef struct _GdkColor GdkColor;
+#if defined(TOUCH_UI)
+class TabContentsViewViews;
+typedef TabContentsViewViews TabContentsViewType;
+#else
+class TabContentsViewGtk;
+typedef TabContentsViewGtk TabContentsViewType;
+#endif
class ConstrainedWindowGtkDelegate {
public:
@@ -51,7 +57,7 @@ class ConstrainedWindowGtk : public ConstrainedWindow {
GtkWidget* widget() { return border_.get(); }
// Returns the View that we collaborate with to position ourselves.
- TabContentsViewGtk* ContainingView();
+ TabContentsViewType* ContainingView();
private:
friend class ConstrainedWindow;
@@ -66,7 +72,7 @@ class ConstrainedWindowGtk : public ConstrainedWindow {
// The TabContents that owns and constrains this ConstrainedWindow.
TabContents* owner_;
- // The top level widget container that exports to our TabContentsViewGtk.
+ // The top level widget container that exports to our TabContentsView.
OwnedWidgetGtk border_;
// Delegate that provides the contents of this constrained window.
« no previous file with comments | « no previous file | chrome/browser/gtk/constrained_window_gtk.cc » ('j') | chrome/browser/renderer_host/backing_store_x.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698