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

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

Issue 7196002: Fix checkbox in windows uninstaller. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Uploading after sync merge Created 9 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | ui/gfx/native_theme_win.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // A wrapper class for working with custom XP/Vista themes provided in 5 // A wrapper class for working with custom XP/Vista themes provided in
6 // uxtheme.dll. This is a singleton class that can be grabbed using 6 // uxtheme.dll. This is a singleton class that can be grabbed using
7 // NativeThemeWin::instance(). 7 // NativeThemeWin::instance().
8 // For more information on visual style parts and states, see: 8 // For more information on visual style parts and states, see:
9 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/plat form/commctls/userex/topics/partsandstates.asp 9 // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/plat form/commctls/userex/topics/partsandstates.asp
10 10
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 117
118 HRESULT GetThemePartSize(ThemeName themeName, 118 HRESULT GetThemePartSize(ThemeName themeName,
119 HDC hdc, 119 HDC hdc,
120 int part_id, 120 int part_id,
121 int state_id, 121 int state_id,
122 RECT* rect, 122 RECT* rect,
123 int ts, 123 int ts,
124 SIZE* size) const; 124 SIZE* size) const;
125 125
126 HRESULT PaintButton(HDC hdc, 126 HRESULT PaintButton(HDC hdc,
127 State state,
128 const ButtonExtraParams& extra,
127 int part_id, 129 int part_id,
128 int state_id, 130 int state_id,
129 int classic_state,
130 RECT* rect) const; 131 RECT* rect) const;
131 132
132 HRESULT PaintMenuSeparator(HDC hdc, 133 HRESULT PaintMenuSeparator(HDC hdc,
133 const gfx::Rect& rect, 134 const gfx::Rect& rect,
134 const MenuSeparatorExtraParams& extra) const; 135 const MenuSeparatorExtraParams& extra) const;
135 136
136 HRESULT PaintMenuGutter(HDC hdc, const gfx::Rect& rect) const; 137 HRESULT PaintMenuGutter(HDC hdc, const gfx::Rect& rect) const;
137 138
138 // |arrow_direction| determines whether the arrow is pointing to the left or 139 // |arrow_direction| determines whether the arrow is pointing to the left or
139 // to the right. In RTL locales, sub-menus open from right to left and 140 // to the right. In RTL locales, sub-menus open from right to left and
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 319
319 // A cache of open theme handles. 320 // A cache of open theme handles.
320 mutable HANDLE theme_handles_[LAST]; 321 mutable HANDLE theme_handles_[LAST];
321 322
322 DISALLOW_COPY_AND_ASSIGN(NativeThemeWin); 323 DISALLOW_COPY_AND_ASSIGN(NativeThemeWin);
323 }; 324 };
324 325
325 } // namespace gfx 326 } // namespace gfx
326 327
327 #endif // UI_GFX_NATIVE_THEME_WIN_H_ 328 #endif // UI_GFX_NATIVE_THEME_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/native_theme_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698