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

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

Issue 8632001: Removed TOUCH_UI (mostly constants) from chrome/browser/ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge Created 9 years, 1 month 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 | « chrome/browser/ui/views/tabs/tab_strip.h ('k') | chrome/browser/ui/views/toolbar_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/tabs/tab_strip.cc
diff --git a/chrome/browser/ui/views/tabs/tab_strip.cc b/chrome/browser/ui/views/tabs/tab_strip.cc
index 1897721771e42d02a43d905b30a462917a521c2a..457e8923f515bc6611367e273e4a948b0a285fe3 100644
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -91,18 +91,6 @@ class NewTabButton : public views::ImageButton {
// These values are defined by the shape of the new tab bitmap. Should that
// bitmap ever change, these values will need to be updated. They're so
// custom it's not really worth defining constants for.
-#if defined(TOUCH_UI)
- // touch_newtab.png size is different from newtab.png.
- // Change the values for TOUCH_UI as per touch_newtab.png.
- path->moveTo(0, 1);
- path->lineTo(w - 14, 1);
- path->lineTo(w - 10, 6);
- path->lineTo(w - 7, 28);
- path->lineTo(w - 1, 32);
- path->lineTo(11, 32);
- path->lineTo(7, 28);
- path->lineTo(0, 1);
-#else
path->moveTo(0, 1);
path->lineTo(w - 7, 1);
path->lineTo(w - 4, 4);
@@ -111,7 +99,6 @@ class NewTabButton : public views::ImageButton {
path->lineTo(7, 17);
path->lineTo(4, 13);
path->lineTo(0, 1);
-#endif
path->close();
}
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.h ('k') | chrome/browser/ui/views/toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698