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

Unified Diff: ui/base/resource/data_pack.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/resource/data_pack.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/resource/data_pack.h
diff --git a/ui/base/resource/data_pack.h b/ui/base/resource/data_pack.h
index 46578186f23161a22b61e0924ad6a84d82d95c1b..26b94c2b4b7c98670a8eb418f9c927a3c21f84bc 100644
--- a/ui/base/resource/data_pack.h
+++ b/ui/base/resource/data_pack.h
@@ -36,10 +36,6 @@ class UI_DATA_PACK_EXPORT DataPack : public ResourceHandle {
explicit DataPack(ui::ScaleFactor scale_factor);
~DataPack() override;
- void set_has_only_material_design_assets(bool has_only_material_assets) {
- has_only_material_design_assets_ = has_only_material_assets;
- }
-
// Load a pack file from |path|, returning false on error.
bool LoadFromPath(const base::FilePath& path);
@@ -66,7 +62,6 @@ class UI_DATA_PACK_EXPORT DataPack : public ResourceHandle {
uint16_t resource_id) const override;
TextEncodingType GetTextEncodingType() const override;
ui::ScaleFactor GetScaleFactor() const override;
- bool HasOnlyMaterialDesignAssets() const override;
#if DCHECK_IS_ON()
// Checks to see if any resource in this DataPack already exists in the list
@@ -91,10 +86,6 @@ class UI_DATA_PACK_EXPORT DataPack : public ResourceHandle {
// resource pak.
ui::ScaleFactor scale_factor_;
- // Set to true if the only resources contained within this DataPack are
- // material design image assets.
- bool has_only_material_design_assets_;
-
DISALLOW_COPY_AND_ASSIGN(DataPack);
};
« no previous file with comments | « ui/base/BUILD.gn ('k') | ui/base/resource/data_pack.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698