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

Side by Side Diff: ui/native_theme/native_theme_win.h

Issue 832953002: Cleanup: Update the path to gfx size headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 11 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
« no previous file with comments | « ui/native_theme/native_theme_base.cc ('k') | ui/snapshot/snapshot_aura_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 UI_NATIVE_THEME_NATIVE_THEME_WIN_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_WIN_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_WIN_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_WIN_H_
7 7
8 // A wrapper class for working with custom XP/Vista themes provided in 8 // A wrapper class for working with custom XP/Vista themes provided in
9 // uxtheme.dll. This is a singleton class that can be grabbed using 9 // uxtheme.dll. This is a singleton class that can be grabbed using
10 // NativeThemeWin::instance(). 10 // NativeThemeWin::instance().
11 // For more information on visual style parts and states, see: 11 // For more information on visual style parts and states, see:
12 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/plat form/commctls/userex/topics/partsandstates.asp 12 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/plat form/commctls/userex/topics/partsandstates.asp
13 13
14 #include <map> 14 #include <map>
15 15
16 #include <windows.h> 16 #include <windows.h>
17 #include <uxtheme.h> 17 #include <uxtheme.h>
18 18
19 #include "base/basictypes.h" 19 #include "base/basictypes.h"
20 #include "base/compiler_specific.h" 20 #include "base/compiler_specific.h"
21 #include "third_party/skia/include/core/SkColor.h" 21 #include "third_party/skia/include/core/SkColor.h"
22 #include "ui/gfx/size.h" 22 #include "ui/gfx/geometry/size.h"
23 #include "ui/gfx/sys_color_change_listener.h" 23 #include "ui/gfx/sys_color_change_listener.h"
24 #include "ui/native_theme/native_theme.h" 24 #include "ui/native_theme/native_theme.h"
25 25
26 class SkCanvas; 26 class SkCanvas;
27 27
28 namespace ui { 28 namespace ui {
29 29
30 // Windows implementation of native theme class. 30 // Windows implementation of native theme class.
31 // 31 //
32 // At the moment, this class in in transition from an older API that consists 32 // At the moment, this class in in transition from an older API that consists
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 // Is |is_using_high_contrast_| valid? 364 // Is |is_using_high_contrast_| valid?
365 mutable bool is_using_high_contrast_valid_; 365 mutable bool is_using_high_contrast_valid_;
366 366
367 DISALLOW_COPY_AND_ASSIGN(NativeThemeWin); 367 DISALLOW_COPY_AND_ASSIGN(NativeThemeWin);
368 }; 368 };
369 369
370 } // namespace ui 370 } // namespace ui
371 371
372 #endif // UI_NATIVE_THEME_NATIVE_THEME_WIN_H_ 372 #endif // UI_NATIVE_THEME_NATIVE_THEME_WIN_H_
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme_base.cc ('k') | ui/snapshot/snapshot_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698