| 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 "chrome/browser/ui/views/frame/browser_frame_win.h" | |
| 10 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" | 9 #include "chrome/browser/ui/views/frame/browser_non_client_frame_view.h" |
| 11 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
| 12 #include "content/public/browser/notification_registrar.h" | 11 #include "content/public/browser/notification_registrar.h" |
| 13 #include "ui/views/controls/button/button.h" | 12 #include "ui/views/controls/button/button.h" |
| 14 #include "ui/views/window/non_client_view.h" | 13 #include "ui/views/window/non_client_view.h" |
| 15 | 14 |
| 16 class BrowserView; | 15 class BrowserView; |
| 17 | 16 |
| 18 class GlassBrowserFrameView : public BrowserNonClientFrameView, | 17 class GlassBrowserFrameView : public BrowserNonClientFrameView, |
| 19 public views::ButtonListener, | 18 public views::ButtonListener, |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 content::NotificationRegistrar registrar_; | 105 content::NotificationRegistrar registrar_; |
| 107 | 106 |
| 108 static const int kThrobberIconCount = 24; | 107 static const int kThrobberIconCount = 24; |
| 109 static HICON throbber_icons_[kThrobberIconCount]; | 108 static HICON throbber_icons_[kThrobberIconCount]; |
| 110 static void InitThrobberIcons(); | 109 static void InitThrobberIcons(); |
| 111 | 110 |
| 112 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); | 111 DISALLOW_COPY_AND_ASSIGN(GlassBrowserFrameView); |
| 113 }; | 112 }; |
| 114 | 113 |
| 115 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ | 114 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_GLASS_BROWSER_FRAME_VIEW_H_ |
| OLD | NEW |