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

Side by Side Diff: views/controls/menu/menu_item_view_win.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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 | « views/controls/menu/menu_2.cc ('k') | views/controls/progress_bar.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "views/controls/menu/menu_item_view.h" 5 #include "views/controls/menu/menu_item_view.h"
6 6
7 #include <uxtheme.h> 7 #include <uxtheme.h>
8 #include <Vssym32.h> 8 #include <Vssym32.h>
9 9
10 #include "app/l10n_util.h"
11 #include "gfx/canvas_skia.h" 10 #include "gfx/canvas_skia.h"
12 #include "gfx/native_theme_win.h" 11 #include "gfx/native_theme_win.h"
13 #include "grit/app_strings.h" 12 #include "grit/app_strings.h"
14 #include "views/controls/menu/menu_config.h" 13 #include "views/controls/menu/menu_config.h"
15 #include "views/controls/menu/submenu_view.h" 14 #include "views/controls/menu/submenu_view.h"
16 15
17 using gfx::NativeTheme; 16 using gfx::NativeTheme;
18 17
19 namespace views { 18 namespace views {
20 19
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // And the check. 162 // And the check.
164 gfx::Rect icon_bounds(icon_x / 2, icon_y, icon_width, icon_height); 163 gfx::Rect icon_bounds(icon_x / 2, icon_y, icon_width, icon_height);
165 AdjustBoundsForRTLUI(&icon_bounds); 164 AdjustBoundsForRTLUI(&icon_bounds);
166 RECT icon_rect = icon_bounds.ToRECT(); 165 RECT icon_rect = icon_bounds.ToRECT();
167 NativeTheme::instance()->PaintMenuCheck( 166 NativeTheme::instance()->PaintMenuCheck(
168 NativeTheme::MENU, dc, MENU_POPUPCHECK, state_id, &icon_rect, 167 NativeTheme::MENU, dc, MENU_POPUPCHECK, state_id, &icon_rect,
169 control_state); 168 control_state);
170 } 169 }
171 170
172 } // namespace views 171 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/menu/menu_2.cc ('k') | views/controls/progress_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698