summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/info_bubble.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/info_bubble.cc')
-rw-r--r--chrome/browser/views/info_bubble.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/chrome/browser/views/info_bubble.cc b/chrome/browser/views/info_bubble.cc
index 9f88fc8..165bc46 100644
--- a/chrome/browser/views/info_bubble.cc
+++ b/chrome/browser/views/info_bubble.cc
@@ -15,8 +15,8 @@
#include "views/widget/root_view.h"
#include "views/window/window.h"
-#if defined(OS_LINUX)
-#include "chrome/browser/views/tabs/tab_overview_types.h"
+#if defined(OS_CHROMEOS)
+#include "chrome/browser/chromeos/wm_ipc.h"
#endif
// Background color of the bubble.
@@ -240,11 +240,13 @@ void InfoBubble::Init(views::Window* parent,
MakeTransparent();
make_transient_to_parent();
WidgetGtk::Init(GTK_WIDGET(parent->GetNativeWindow()), gfx::Rect());
- TabOverviewTypes::instance()->SetWindowType(
+#if defined(OS_CHROMEOS)
+ chromeos::WmIpc::instance()->SetWindowType(
GetNativeView(),
- TabOverviewTypes::WINDOW_TYPE_CHROME_INFO_BUBBLE,
+ chromeos::WmIpc::WINDOW_TYPE_CHROME_INFO_BUBBLE,
NULL);
#endif
+#endif
// Create a View to hold the contents of the main window.
views::View* contents_view = new views::View;