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

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

Issue 2209363002: Remove material design resource pak infrastructure (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove another mac test file Created 4 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
« no previous file with comments | « ui/base/resource/resource_data_dll_win.cc ('k') | ui/base/ui_base_tests.gyp » ('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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
(...skipping 30 matching lines...) Expand all
41 // Caller owns the returned object. 41 // Caller owns the returned object.
42 virtual base::RefCountedStaticMemory* GetStaticMemory( 42 virtual base::RefCountedStaticMemory* GetStaticMemory(
43 uint16_t resource_id) const = 0; 43 uint16_t resource_id) const = 0;
44 44
45 // Get the encoding type of text resources. 45 // Get the encoding type of text resources.
46 virtual TextEncodingType GetTextEncodingType() const = 0; 46 virtual TextEncodingType GetTextEncodingType() const = 0;
47 47
48 // The scale of images in this resource pack relative to images in the 1x 48 // The scale of images in this resource pack relative to images in the 1x
49 // resource pak. 49 // resource pak.
50 virtual ScaleFactor GetScaleFactor() const = 0; 50 virtual ScaleFactor GetScaleFactor() const = 0;
51
52 // Returns true if the only resources contained within this DataPack are
53 // material design image assets.
54 virtual bool HasOnlyMaterialDesignAssets() const = 0;
55 }; 51 };
56 52
57 } // namespace ui 53 } // namespace ui
58 54
59 #endif // UI_BASE_RESOURCE_RESOURCE_HANDLE_H_ 55 #endif // UI_BASE_RESOURCE_RESOURCE_HANDLE_H_
OLDNEW
« no previous file with comments | « ui/base/resource/resource_data_dll_win.cc ('k') | ui/base/ui_base_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698