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

Unified Diff: chrome/browser/chromeos/status/status_area_view.cc

Issue 8817016: Revert 113185 - [cros, Aura] Refresh status area widget bounds on StatusAreaView layout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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 | ui/aura_shell/aura_shell.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/status_area_view.cc
===================================================================
--- chrome/browser/chromeos/status/status_area_view.cc (revision 113185)
+++ chrome/browser/chromeos/status/status_area_view.cc (working copy)
@@ -13,10 +13,6 @@
#include "ui/gfx/canvas.h"
#include "ui/views/border.h"
-#if defined(USE_AURA)
-#include "ui/views/widget/widget.h"
-#endif
-
// Number of pixels to separate each icon.
#if defined(TOUCH_UI)
const int kSeparation = 25;
@@ -96,10 +92,6 @@
// BrowserView know to relayout, which will reset the bounds of this view.
Layout();
PreferredSizeChanged();
-#if defined(USE_AURA)
- if (GetWidget())
- GetWidget()->SetSize(GetPreferredSize());
-#endif
}
void StatusAreaView::MakeButtonsActive(bool active) {
« no previous file with comments | « no previous file | ui/aura_shell/aura_shell.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698