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

Side by Side Diff: chrome/browser/ui/views/tabs/side_tab_strip.cc

Issue 5582002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/views/tabs/side_tab_strip.h" 5 #include "chrome/browser/views/tabs/side_tab_strip.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
9 #include "chrome/browser/views/tabs/side_tab.h" 9 #include "chrome/browser/ui/view_ids.h"
10 #include "chrome/browser/views/tabs/tab_strip_controller.h" 10 #include "chrome/browser/ui/views/tabs/side_tab.h"
11 #include "chrome/browser/view_ids.h" 11 #include "chrome/browser/ui/views/tabs/tab_strip_controller.h"
12 #include "gfx/canvas.h" 12 #include "gfx/canvas.h"
13 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
14 #include "grit/theme_resources.h" 14 #include "grit/theme_resources.h"
15 #include "views/background.h" 15 #include "views/background.h"
16 #include "views/controls/button/image_button.h" 16 #include "views/controls/button/image_button.h"
17 17
18 namespace { 18 namespace {
19 const int kVerticalTabSpacing = 2; 19 const int kVerticalTabSpacing = 2;
20 const int kTabStripWidth = 140; 20 const int kTabStripWidth = 140;
21 const SkColor kBackgroundColor = SkColorSetARGB(255, 209, 220, 248); 21 const SkColor kBackgroundColor = SkColorSetARGB(255, 209, 220, 248);
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 bounds_animator().AnimateViewTo(separator_, separator_bounds_); 243 bounds_animator().AnimateViewTo(separator_, separator_bounds_);
244 } 244 }
245 245
246 void SideTabStrip::DoLayout() { 246 void SideTabStrip::DoLayout() {
247 BaseTabStrip::DoLayout(); 247 BaseTabStrip::DoLayout();
248 248
249 newtab_button_->SetBounds(newtab_button_bounds_); 249 newtab_button_->SetBounds(newtab_button_bounds_);
250 250
251 separator_->SetBounds(separator_bounds_); 251 separator_->SetBounds(separator_bounds_);
252 } 252 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_controller.h ('k') | chrome/browser/ui/views/tabs/tab_dragging_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698