OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "chrome/browser/views/frame/browser_frame_win.h" | 9 #include "chrome/browser/ui/views/frame/browser_frame_win.h" |
10 #include "chrome/browser/views/frame/browser_non_client_frame_view.h" | 10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
11 #include "views/controls/button/button.h" | 11 #include "views/controls/button/button.h" |
12 #include "views/window/non_client_view.h" | 12 #include "views/window/non_client_view.h" |
13 | 13 |
14 class BrowserView; | 14 class BrowserView; |
15 class SkBitmap; | 15 class SkBitmap; |
16 | 16 |
17 class GlassBrowserFrameView : public BrowserNonClientFrameView { | 17 class GlassBrowserFrameView : public BrowserNonClientFrameView { |
18 public: | 18 public: |
19 // Constructs a non-client view for an BrowserFrame. | 19 // Constructs a non-client view for an BrowserFrame. |
20 GlassBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); | 20 GlassBrowserFrameView(BrowserFrame* frame, BrowserView* browser_view); |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 int throbber_frame_; | 94 int throbber_frame_; |
95 | 95 |
96 static const int kThrobberIconCount = 24; | 96 static const int kThrobberIconCount = 24; |
97 static HICON throbber_icons_[kThrobberIconCount]; | 97 static HICON throbber_icons_[kThrobberIconCount]; |
98 static void InitThrobberIcons(); | 98 static void InitThrobberIcons(); |
99 | 99 |
100 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); | 100 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); |
101 }; | 101 }; |
102 | 102 |
103 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ | 103 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |