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

Unified Diff: chrome/browser/ui/layout_constants.h

Issue 2360803002: Remove some pre-MD code from toolbar/tabstrip/frame. (Closed)
Patch Set: couple more Created 4 years, 3 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/layout_constants.h
diff --git a/chrome/browser/ui/layout_constants.h b/chrome/browser/ui/layout_constants.h
index 5340e6744b1cafff84570aa63fc57e2005627dfe..b9d6ea56fe8888ae7d2eb7b93f90cfc741b30f4a 100644
--- a/chrome/browser/ui/layout_constants.h
+++ b/chrome/browser/ui/layout_constants.h
@@ -54,13 +54,6 @@ enum LayoutConstant {
// The amount of overlap between two adjacent tabs.
TABSTRIP_TAB_OVERLAP,
- // The vertical overlap of the tabstrip atop the toolbar.
- TABSTRIP_TOOLBAR_OVERLAP,
-
- // The amount by which the tab close button should overlap the trailing
- // padding region after the tab's contents region.
- TAB_CLOSE_BUTTON_TRAILING_PADDING_OVERLAP,
-
// The horizontal space between a tab's favicon and its title.
TAB_FAVICON_TITLE_SPACING,
@@ -72,19 +65,6 @@ enum LayoutConstant {
// Width available for content inside a pinned tab.
TAB_PINNED_CONTENT_WIDTH,
- // Height of the region atop the tab bounds that is normally excluded when
- // calculating the tab hit test region or considering where to paint a
- // custom theme background. (Based on theme behavior it seems like at some
- // point this was added to the area above the top of the tab images, and we
- // now need to subtract it back off to compensate.)
- TAB_TOP_EXCLUSION_HEIGHT,
-
- // Non-ash uses a rounded content area with no shadow in the assets.
- // Ash doesn't use a rounded content area and its top edge has an extra
- // shadow.
- TOOLBAR_CONTENT_SHADOW_HEIGHT,
- TOOLBAR_CONTENT_SHADOW_HEIGHT_ASH,
-
// Additional horizontal padding between the elements in the toolbar.
TOOLBAR_ELEMENT_PADDING,

Powered by Google App Engine
This is Rietveld 408576698