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

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

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_config.h" 5 #include "views/controls/menu/menu_config.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <uxtheme.h> 8 #include <uxtheme.h>
9 #include <Vssym32.h> 9 #include <Vssym32.h>
10 10
11 #include "base/gfx/native_theme.h" 11 #include "app/gfx/native_theme_win.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "app/l10n_util_win.h" 13 #include "app/l10n_util_win.h"
14 #include "base/win_util.h" 14 #include "base/win_util.h"
15 15
16 using gfx::NativeTheme; 16 using gfx::NativeTheme;
17 17
18 namespace views { 18 namespace views {
19 19
20 // static 20 // static
21 MenuConfig* MenuConfig::Create() { 21 MenuConfig* MenuConfig::Create() {
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 ReleaseDC(NULL, dc); 75 ReleaseDC(NULL, dc);
76 76
77 BOOL show_cues; 77 BOOL show_cues;
78 config->show_mnemonics = 78 config->show_mnemonics =
79 (SystemParametersInfo(SPI_GETKEYBOARDCUES, 0, &show_cues, 0) && 79 (SystemParametersInfo(SPI_GETKEYBOARDCUES, 0, &show_cues, 0) &&
80 show_cues == TRUE); 80 show_cues == TRUE);
81 return config; 81 return config;
82 } 82 }
83 83
84 } // namespace views 84 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/combobox/native_combobox_win.cc ('k') | views/controls/menu/menu_item_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698