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

Unified Diff: chrome/browser/views/tabs/dragged_tab_view.h

Issue 149367: Replace instances of LINUX2 with OS_CHROMEOS and linux2 with chromeos. (Closed)
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/views/tabs/dragged_tab_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tabs/dragged_tab_view.h
diff --git a/chrome/browser/views/tabs/dragged_tab_view.h b/chrome/browser/views/tabs/dragged_tab_view.h
index 6e63ed7c26b437cb3ac2541bddf73d64af4b95d4..e01db5c3bed5e8213d25ed08346d442f57a37b7f 100644
--- a/chrome/browser/views/tabs/dragged_tab_view.h
+++ b/chrome/browser/views/tabs/dragged_tab_view.h
@@ -9,11 +9,16 @@
#include "base/gfx/point.h"
#include "base/gfx/size.h"
#include "base/task.h"
+#include "build/build_config.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "views/view.h"
namespace views {
+#if defined(OS_WIN)
class WidgetWin;
+#elif defined(OS_LINUX)
+class WidgetGtk;
+#endif
}
namespace gfx {
class Point;
@@ -78,9 +83,11 @@ class DraggedTabView : public views::View,
// Utility for scaling a size by the current scaling factor.
int ScaleValue(int value);
-#if defined(OS_WIN)
// The window that contains the DraggedTabView.
+#if defined(OS_WIN)
scoped_ptr<views::WidgetWin> container_;
+#elif defined(OS_LINUX)
+ scoped_ptr<views::WidgetGtk> container_;
#endif
// The renderer that paints the Tab shape.
« no previous file with comments | « chrome/browser/tab_contents/tab_contents.cc ('k') | chrome/browser/views/tabs/dragged_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698