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

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

Issue 338001: Get the About panel to align its links correctly, (Closed)
Patch Set: Found some leftover cruft in files. Created 11 years, 2 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/chromeos/status_area_view.cc
diff --git a/chrome/browser/chromeos/status_area_view.cc b/chrome/browser/chromeos/status_area_view.cc
old mode 100644
new mode 100755
index 59f4f9ce01f854169ddd9008ff99c7ae55cb569b..5b268dda96a6c1c77ca5eff57b192bcbee457d88
--- a/chrome/browser/chromeos/status_area_view.cc
+++ b/chrome/browser/chromeos/status_area_view.cc
@@ -33,8 +33,6 @@ namespace {
const int kLeftBorder = 1;
// Number of pixels to separate the clock from the next item on the right.
const int kClockSeparation = 4;
-// Number of pixels to adjust the y value of the clock.
Evan Stade 2009/10/23 18:06:29 this change releated?
DaveMoore 2009/10/23 18:11:10 Yes...it was correcting for bad positioning.
-const int kClockYAdjustment = 2;
// BrowserWindowGtk tiles its image with this offset
const int kCustomFrameBackgroundVerticalOffset = 15;
@@ -173,10 +171,6 @@ void StatusAreaView::Layout() {
// Handle odd number of pixels.
cur_y += (height() - cur_size.height()) % 2;
- // Adjustment to make clock line up right.
- if (cur == clock_view_)
- cur_y += kClockYAdjustment;
-
// Put next in row horizontally, and center vertically.
cur->SetBounds(cur_x, cur_y, cur_size.width(), cur_size.height());

Powered by Google App Engine
This is Rietveld 408576698