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

Unified Diff: chrome/browser/gtk/browser_window_gtk.cc

Issue 126185: Improved tab overview animations with better animation and wiring to... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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: chrome/browser/gtk/browser_window_gtk.cc
===================================================================
--- chrome/browser/gtk/browser_window_gtk.cc (revision 18480)
+++ chrome/browser/gtk/browser_window_gtk.cc (working copy)
@@ -44,6 +44,10 @@
#include "chrome/common/pref_service.h"
#include "grit/theme_resources.h"
+#if defined(LINUX2)
+#include "chrome/browser/views/tabs/tab_overview_types.h"
+#endif
+
namespace {
// The number of milliseconds between loading animation frames.
@@ -414,6 +418,11 @@
void BrowserWindowGtk::Show() {
gtk_widget_show(GTK_WIDGET(window_));
+#if defined(LINUX2)
+ TabOverviewTypes::instance()->SetWindowType(
+ GTK_WIDGET(window_), TabOverviewTypes::WINDOW_TYPE_CHROME_TOPLEVEL,
+ NULL);
+#endif
}
void BrowserWindowGtk::SetBounds(const gfx::Rect& bounds) {

Powered by Google App Engine
This is Rietveld 408576698