Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: chrome/browser/views/frame/aero_glass_frame.cc

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/views/first_run_view_base.cc ('k') | chrome/browser/views/frame/aero_glass_non_client_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698