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

Unified Diff: chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc

Issue 343433009: Revert or Reland Window Control Animations for TouchView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ui/views/frame/browser_non_client_frame_view_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
index 6eeb8b8304690d598e4c608e3d49957bdb1a0220..947622c4bbf6d54027ee96fa2b8595998d81cf5d 100644
--- a/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc
@@ -378,20 +378,6 @@ gfx::ImageSkia BrowserNonClientFrameViewAsh::GetFaviconForTabIconView() {
}
///////////////////////////////////////////////////////////////////////////////
-// views::View:
-
-void BrowserNonClientFrameViewAsh::
- ChildPreferredSizeChanged(views::View* child) {
-// FrameCaptionButtonContainerView animates the visibility changes in
-// UpdateSizeButtonVisibility(false). Due to this a new size is not available
-// until the completion of the animation. Layout in response to the preferred
-// size changes.
- if (child != caption_button_container_)
- return;
- frame()->GetRootView()->Layout();
-}
-
-///////////////////////////////////////////////////////////////////////////////
// BrowserNonClientFrameViewAsh, private:
int BrowserNonClientFrameViewAsh::GetTabStripLeftInset() const {

Powered by Google App Engine
This is Rietveld 408576698