OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/ui/views/aura/multiple_window_indicator_button.h" | 5 #include "chrome/browser/ui/views/ash/multiple_window_indicator_button.h" |
6 | 6 |
7 #include "grit/theme_resources.h" | 7 #include "grit/theme_resources.h" |
8 #include "ui/base/resource/resource_bundle.h" | 8 #include "ui/base/resource/resource_bundle.h" |
9 #include "ui/gfx/image/image.h" | 9 #include "ui/gfx/image/image.h" |
10 #include "ui/views/border.h" | 10 #include "ui/views/border.h" |
11 | 11 |
12 MultipleWindowIndicatorButton::MultipleWindowIndicatorButton( | 12 MultipleWindowIndicatorButton::MultipleWindowIndicatorButton( |
13 StatusAreaButton::Delegate* delegate) | 13 StatusAreaButton::Delegate* delegate) |
14 : StatusAreaButton(delegate, NULL) { | 14 : StatusAreaButton(delegate, NULL) { |
15 SetIcon(*ResourceBundle::GetSharedInstance().GetBitmapNamed( | 15 SetIcon(*ResourceBundle::GetSharedInstance().GetBitmapNamed( |
(...skipping 23 matching lines...) Expand all Loading... |
39 ++count; | 39 ++count; |
40 if (count >= 2) { | 40 if (count >= 2) { |
41 visible = true; | 41 visible = true; |
42 break; | 42 break; |
43 } | 43 } |
44 } | 44 } |
45 } | 45 } |
46 SetVisible(visible); | 46 SetVisible(visible); |
47 } | 47 } |
48 | 48 |
OLD | NEW |