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

Side by Side Diff: ui/base/resource/resource_handle.h

Issue 93863005: ui: Rename ui_export.h to ui_base_export.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: UI_BASE_IMPLEMENTATION Created 6 years, 11 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 | « ui/base/resource/resource_bundle_win.h ('k') | ui/base/text/bytes_formatting.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BASE_RESOURCE_RESOURCE_HANDLE_H_ 5 #ifndef UI_BASE_RESOURCE_RESOURCE_HANDLE_H_
6 #define UI_BASE_RESOURCE_RESOURCE_HANDLE_H_ 6 #define UI_BASE_RESOURCE_RESOURCE_HANDLE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/strings/string_piece.h" 9 #include "base/strings/string_piece.h"
10 #include "ui/base/layout.h" 10 #include "ui/base/layout.h"
11 #include "ui/base/ui_export.h" 11 #include "ui/base/ui_base_export.h"
12 12
13 namespace base { 13 namespace base {
14 class RefCountedStaticMemory; 14 class RefCountedStaticMemory;
15 } 15 }
16 16
17 namespace ui { 17 namespace ui {
18 18
19 class UI_EXPORT ResourceHandle { 19 class UI_BASE_EXPORT ResourceHandle {
20 public: 20 public:
21 // What type of encoding the text resources use. 21 // What type of encoding the text resources use.
22 enum TextEncodingType { 22 enum TextEncodingType {
23 BINARY, 23 BINARY,
24 UTF8, 24 UTF8,
25 UTF16 25 UTF16
26 }; 26 };
27 27
28 virtual ~ResourceHandle() {} 28 virtual ~ResourceHandle() {}
29 29
(...skipping 15 matching lines...) Expand all
45 virtual TextEncodingType GetTextEncodingType() const = 0; 45 virtual TextEncodingType GetTextEncodingType() const = 0;
46 46
47 // The scale of images in this resource pack relative to images in the 1x 47 // The scale of images in this resource pack relative to images in the 1x
48 // resource pak. 48 // resource pak.
49 virtual ScaleFactor GetScaleFactor() const = 0; 49 virtual ScaleFactor GetScaleFactor() const = 0;
50 }; 50 };
51 51
52 } // namespace ui 52 } // namespace ui
53 53
54 #endif // UI_BASE_RESOURCE_RESOURCE_HANDLE_H_ 54 #endif // UI_BASE_RESOURCE_RESOURCE_HANDLE_H_
OLDNEW
« no previous file with comments | « ui/base/resource/resource_bundle_win.h ('k') | ui/base/text/bytes_formatting.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698