OLD | NEW |
1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/compiler_specific.h" |
10 #include "chrome/browser/ui/views/frame/browser_frame_win.h" | 10 #include "chrome/browser/ui/views/frame/browser_frame_win.h" |
11 #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" |
12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
14 #include "ui/views/controls/button/button.h" | 14 #include "ui/views/controls/button/button.h" |
15 #include "ui/views/window/non_client_view.h" | 15 #include "ui/views/window/non_client_view.h" |
16 | 16 |
17 class BrowserView; | 17 class BrowserView; |
18 | 18 |
19 class GlassBrowserFrameView : public BrowserNonClientFrameView, | 19 class GlassBrowserFrameView : public BrowserNonClientFrameView, |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 content::NotificationRegistrar registrar_; | 100 content::NotificationRegistrar registrar_; |
101 | 101 |
102 static const int kThrobberIconCount = 24; | 102 static const int kThrobberIconCount = 24; |
103 static HICON throbber_icons_[kThrobberIconCount]; | 103 static HICON throbber_icons_[kThrobberIconCount]; |
104 static void InitThrobberIcons(); | 104 static void InitThrobberIcons(); |
105 | 105 |
106 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); | 106 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); |
107 }; | 107 }; |
108 | 108 |
109 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ | 109 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ |
OLD | NEW |