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

Unified Diff: ui/views/widget/default_theme_provider.h

Issue 9460039: ui/base: Remove the dependency in Profile from ThemeProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/theme_provider.h ('k') | ui/views/widget/default_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/default_theme_provider.h
diff --git a/ui/views/widget/default_theme_provider.h b/ui/views/widget/default_theme_provider.h
index d0705e28ed8ebaca86715e6a6f274fe114adfae5..cd975c3688d21676a1e5f3cca7e56e79eddeea8a 100644
--- a/ui/views/widget/default_theme_provider.h
+++ b/ui/views/widget/default_theme_provider.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -13,8 +13,6 @@
#include "ui/base/theme_provider.h"
#include "ui/views/views_export.h"
-class Profile;
-
namespace ui {
class ResourceBundle;
}
@@ -27,8 +25,7 @@ class VIEWS_EXPORT DefaultThemeProvider : public ui::ThemeProvider {
DefaultThemeProvider();
virtual ~DefaultThemeProvider();
- // Overridden from ui::ThemeProvider.
- virtual void Init(Profile* profile) OVERRIDE;
+ // Overridden from ui::ThemeProvider:
virtual SkBitmap* GetBitmapNamed(int id) const OVERRIDE;
virtual SkColor GetColor(int id) const OVERRIDE;
virtual bool GetDisplayProperty(int id, int* result) const OVERRIDE;
« no previous file with comments | « ui/base/theme_provider.h ('k') | ui/views/widget/default_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698