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 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" |
9 #include "base/win/scoped_gdi_object.h" | 10 #include "base/win/scoped_gdi_object.h" |
10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 11 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
11 #include "ui/views/controls/button/button.h" | 12 #include "ui/views/controls/button/button.h" |
12 #include "ui/views/window/non_client_view.h" | 13 #include "ui/views/window/non_client_view.h" |
13 | 14 |
14 class BrowserView; | 15 class BrowserView; |
15 | 16 |
16 class GlassBrowserFrameView : public BrowserNonClientFrameView, | 17 class GlassBrowserFrameView : public BrowserNonClientFrameView, |
17 public views::ButtonListener { | 18 public views::ButtonListener { |
18 public: | 19 public: |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 int throbber_frame_; | 121 int throbber_frame_; |
121 | 122 |
122 static const int kThrobberIconCount = 24; | 123 static const int kThrobberIconCount = 24; |
123 static HICON throbber_icons_[kThrobberIconCount]; | 124 static HICON throbber_icons_[kThrobberIconCount]; |
124 static void InitThrobberIcons(); | 125 static void InitThrobberIcons(); |
125 | 126 |
126 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); | 127 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); |
127 }; | 128 }; |
128 | 129 |
129 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ | 130 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |