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

Unified Diff: chrome/browser/views/extensions/extension_shelf.cc

Issue 542001: Fixes two fullscreen bugs on views/gtk:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 11 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 | « no previous file | chrome/browser/views/frame/browser_frame_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/extensions/extension_shelf.cc
===================================================================
--- chrome/browser/views/extensions/extension_shelf.cc (revision 35755)
+++ chrome/browser/views/extensions/extension_shelf.cc (working copy)
@@ -1129,8 +1129,5 @@
fullscreen_ = fullscreen;
if (!IsAlwaysShown() || IsOnTop())
return;
- if (fullscreen_)
- size_animation_->Hide();
- else
- size_animation_->Show();
+ size_animation_->Reset(fullscreen ? 0 : 1);
}
« no previous file with comments | « no previous file | chrome/browser/views/frame/browser_frame_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698