| OLD | NEW |
| 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/chromeos/status/status_area_view.h" | 5 #include "chrome/browser/chromeos/status/status_area_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 | 8 |
| 9 #include "app/gfx/canvas.h" | |
| 10 #include "chrome/browser/chromeos/status/clock_menu_button.h" | 9 #include "chrome/browser/chromeos/status/clock_menu_button.h" |
| 11 #include "chrome/browser/chromeos/status/language_menu_button.h" | 10 #include "chrome/browser/chromeos/status/language_menu_button.h" |
| 12 #include "chrome/browser/chromeos/status/network_menu_button.h" | 11 #include "chrome/browser/chromeos/status/network_menu_button.h" |
| 13 #include "chrome/browser/chromeos/status/power_menu_button.h" | 12 #include "chrome/browser/chromeos/status/power_menu_button.h" |
| 14 #include "chrome/browser/chromeos/status/status_area_host.h" | 13 #include "chrome/browser/chromeos/status/status_area_host.h" |
| 14 #include "gfx/canvas.h" |
| 15 | 15 |
| 16 namespace chromeos { | 16 namespace chromeos { |
| 17 | 17 |
| 18 // Number of pixels to pad on the left border. | 18 // Number of pixels to pad on the left border. |
| 19 const int kLeftBorder = 1; | 19 const int kLeftBorder = 1; |
| 20 // Number of pixels to separate the clock from the next item on the right. | 20 // Number of pixels to separate the clock from the next item on the right. |
| 21 const int kClockSeparation = 4; | 21 const int kClockSeparation = 4; |
| 22 // Number of pixels to separate the language selector from the next item | 22 // Number of pixels to separate the language selector from the next item |
| 23 // on the right. | 23 // on the right. |
| 24 const int kLanguageSeparation = 4; | 24 const int kLanguageSeparation = 4; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 StatusAreaView::OpenTabsMode StatusAreaView::GetOpenTabsMode() { | 109 StatusAreaView::OpenTabsMode StatusAreaView::GetOpenTabsMode() { |
| 110 return open_tabs_mode_; | 110 return open_tabs_mode_; |
| 111 } | 111 } |
| 112 | 112 |
| 113 // static | 113 // static |
| 114 void StatusAreaView::SetOpenTabsMode(OpenTabsMode mode) { | 114 void StatusAreaView::SetOpenTabsMode(OpenTabsMode mode) { |
| 115 open_tabs_mode_ = mode; | 115 open_tabs_mode_ = mode; |
| 116 } | 116 } |
| 117 | 117 |
| 118 } // namespace chromeos | 118 } // namespace chromeos |
| OLD | NEW |