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

Unified Diff: ui/base/default_theme_provider.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc ('k') | ui/base/default_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/default_theme_provider.h
diff --git a/ui/base/default_theme_provider.h b/ui/base/default_theme_provider.h
deleted file mode 100644
index 173442deaa246cd58a08a14aa6ee332b342d89c6..0000000000000000000000000000000000000000
--- a/ui/base/default_theme_provider.h
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_BASE_DEFAULT_THEME_PROVIDER_H_
-#define UI_BASE_DEFAULT_THEME_PROVIDER_H_
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/base/theme_provider.h"
-#include "ui/base/ui_base_export.h"
-
-namespace ui {
-class ResourceBundle;
-}
-
-namespace ui {
-
-class UI_BASE_EXPORT DefaultThemeProvider : public ThemeProvider {
- public:
- DefaultThemeProvider();
- ~DefaultThemeProvider() override;
-
- // Overridden from ui::ThemeProvider:
- bool UsingSystemTheme() const override;
- gfx::ImageSkia* GetImageSkiaNamed(int id) const override;
- SkColor GetColor(int id) const override;
- int GetDisplayProperty(int id) const override;
- bool ShouldUseNativeFrame() const override;
- bool HasCustomImage(int id) const override;
- base::RefCountedMemory* GetRawData(int id, ui::ScaleFactor scale_factor)
- const override;
-
-#if defined(OS_MACOSX)
- NSImage* GetNSImageNamed(int id) const override;
- NSColor* GetNSImageColorNamed(int id) const override;
- NSColor* GetNSColor(int id) const override;
- NSColor* GetNSColorTint(int id) const override;
- NSGradient* GetNSGradient(int id) const override;
-#endif
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider);
-};
-
-} // namespace ui
-
-#endif // UI_BASE_DEFAULT_THEME_PROVIDER_H_
« no previous file with comments | « ui/base/cursor/ozone/bitmap_cursor_factory_ozone.cc ('k') | ui/base/default_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698