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

Side by Side Diff: views/controls/menu/menu_config.h

Issue 7550038: Rename VIEWS_API to VIEWS_EXPORT. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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.h ('k') | views/controls/menu/menu_controller.h » ('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 #ifndef VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ 5 #ifndef VIEWS_CONTROLS_MENU_MENU_CONFIG_H_
6 #define VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ 6 #define VIEWS_CONTROLS_MENU_MENU_CONFIG_H_
7 #pragma once 7 #pragma once
8 8
9 #include "third_party/skia/include/core/SkColor.h" 9 #include "third_party/skia/include/core/SkColor.h"
10 #include "ui/gfx/font.h" 10 #include "ui/gfx/font.h"
11 #include "views/views_api.h" 11 #include "views/views_export.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 // Layout type information for menu items. Use the instance() method to obtain 15 // Layout type information for menu items. Use the instance() method to obtain
16 // the MenuConfig for the current platform. 16 // the MenuConfig for the current platform.
17 struct VIEWS_API MenuConfig { 17 struct VIEWS_EXPORT MenuConfig {
18 MenuConfig(); 18 MenuConfig();
19 ~MenuConfig(); 19 ~MenuConfig();
20 20
21 // Resets the single shared MenuConfig instance. The next time instance() is 21 // Resets the single shared MenuConfig instance. The next time instance() is
22 // invoked a new MenuConfig is created and configured. 22 // invoked a new MenuConfig is created and configured.
23 static void Reset(); 23 static void Reset();
24 24
25 // Returns the single shared MenuConfig instance, creating if necessary. 25 // Returns the single shared MenuConfig instance, creating if necessary.
26 static const MenuConfig& instance(); 26 static const MenuConfig& instance();
27 27
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 private: 91 private:
92 // Creates and configures a new MenuConfig as appropriate for the current 92 // Creates and configures a new MenuConfig as appropriate for the current
93 // platform. 93 // platform.
94 static MenuConfig* Create(); 94 static MenuConfig* Create();
95 }; 95 };
96 96
97 } // namespace views 97 } // namespace views
98 98
99 #endif // VIEWS_CONTROLS_MENU_MENU_CONFIG_H_ 99 #endif // VIEWS_CONTROLS_MENU_MENU_CONFIG_H_
OLDNEW
« no previous file with comments | « views/controls/menu/menu_2.h ('k') | views/controls/menu/menu_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698