| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/frame/aero_glass_frame.h" | 5 #include "chrome/browser/views/frame/aero_glass_frame.h" |
| 6 | 6 |
| 7 #include <dwmapi.h> | 7 #include <dwmapi.h> |
| 8 | 8 |
| 9 #include "chrome/app/theme/theme_resources.h" | 9 #include "grit/theme_resources.h" |
| 10 #include "chrome/browser/browser_list.h" | 10 #include "chrome/browser/browser_list.h" |
| 11 #include "chrome/browser/views/frame/browser_view.h" | 11 #include "chrome/browser/views/frame/browser_view.h" |
| 12 #include "chrome/browser/views/frame/aero_glass_non_client_view.h" | 12 #include "chrome/browser/views/frame/aero_glass_non_client_view.h" |
| 13 #include "chrome/common/resource_bundle.h" | 13 #include "chrome/common/resource_bundle.h" |
| 14 #include "chrome/views/window_delegate.h" | 14 #include "chrome/views/window_delegate.h" |
| 15 | 15 |
| 16 // static | 16 // static |
| 17 | 17 |
| 18 static const int kClientEdgeThickness = 3; | 18 static const int kClientEdgeThickness = 3; |
| 19 | 19 |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 static bool initialized = false; | 219 static bool initialized = false; |
| 220 if (!initialized) { | 220 if (!initialized) { |
| 221 ResourceBundle &rb = ResourceBundle::GetSharedInstance(); | 221 ResourceBundle &rb = ResourceBundle::GetSharedInstance(); |
| 222 for (int i = 0; i < kThrobberIconCount; ++i) { | 222 for (int i = 0; i < kThrobberIconCount; ++i) { |
| 223 throbber_icons_[i] = rb.LoadThemeIcon(IDR_THROBBER_01 + i); | 223 throbber_icons_[i] = rb.LoadThemeIcon(IDR_THROBBER_01 + i); |
| 224 DCHECK(throbber_icons_[i]); | 224 DCHECK(throbber_icons_[i]); |
| 225 } | 225 } |
| 226 initialized = true; | 226 initialized = true; |
| 227 } | 227 } |
| 228 } | 228 } |
| OLD | NEW |