OLD | NEW |
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 #ifndef UI_GFX_GFX_PATHS_H_ | 5 #ifndef UI_GFX_GFX_PATHS_H_ |
6 #define UI_GFX_GFX_PATHS_H_ | 6 #define UI_GFX_GFX_PATHS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include "ui/ui_api.h" |
| 10 |
9 // This file declares path keys for the app module. These can be used with | 11 // This file declares path keys for the app module. These can be used with |
10 // the PathService to access various special directories and files. | 12 // the PathService to access various special directories and files. |
11 | 13 |
12 namespace gfx { | 14 namespace gfx { |
13 | 15 |
14 enum { | 16 enum { |
15 PATH_START = 2000, | 17 PATH_START = 2000, |
16 | 18 |
17 // Valid only in development environment; TODO(darin): move these | 19 // Valid only in development environment; TODO(darin): move these |
18 DIR_TEST_DATA, // Directory where unit test data resides. | 20 DIR_TEST_DATA, // Directory where unit test data resides. |
19 | 21 |
20 PATH_END | 22 PATH_END |
21 }; | 23 }; |
22 | 24 |
23 // Call once to register the provider for the path keys defined above. | 25 // Call once to register the provider for the path keys defined above. |
24 void RegisterPathProvider(); | 26 UI_API void RegisterPathProvider(); |
25 | 27 |
26 } // namespace gfx | 28 } // namespace gfx |
27 | 29 |
28 #endif // UI_GFX_GFX_PATHS_H_ | 30 #endif // UI_GFX_GFX_PATHS_H_ |
OLD | NEW |