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

Unified Diff: chrome/browser/ui/views/tabs/tab_strip.h

Issue 1906563002: [WIP] Fire a theme changed notification when device scan completes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recalculate tab and new tab button sizes Created 4 years, 8 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/tabs/tab_strip.h
diff --git a/chrome/browser/ui/views/tabs/tab_strip.h b/chrome/browser/ui/views/tabs/tab_strip.h
index fe80352de790519faa91b64a65946b9c61f8333e..31446537cc6666eafce3b4f0a8f47d99769c2d0b 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.h
+++ b/chrome/browser/ui/views/tabs/tab_strip.h
@@ -488,6 +488,9 @@ class TabStrip : public views::View,
// button.
void GenerateIdealBounds();
+ // Calculates and sets the size for |newtab_button_bounds_|.
+ void CalculateNewTabButtonSize();
+
// Generates the ideal bounds for the pinned tabs. Returns the index to
// position the first non-pinned tab and sets |first_non_pinned_index| to the
// index of the first non-pinned tab.

Powered by Google App Engine
This is Rietveld 408576698