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

Unified Diff: views/widget/default_theme_provider.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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 | « views/widget/child_window_message_processor.cc ('k') | views/widget/default_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/default_theme_provider.h
diff --git a/views/widget/default_theme_provider.h b/views/widget/default_theme_provider.h
deleted file mode 100644
index 9303e832ebd201dccbd962641dfd13eaad112519..0000000000000000000000000000000000000000
--- a/views/widget/default_theme_provider.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 2011 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 VIEWS_DEFAULT_THEME_PROVIDER_H_
-#define VIEWS_DEFAULT_THEME_PROVIDER_H_
-#pragma once
-
-#include <vector>
-
-#include "base/basictypes.h"
-#include "ui/base/theme_provider.h"
-#include "views/views_export.h"
-
-class Profile;
-
-namespace ui {
-class ResourceBundle;
-}
-using ui::ResourceBundle;
-
-namespace views {
-
-class VIEWS_EXPORT DefaultThemeProvider : public ui::ThemeProvider {
- public:
- DefaultThemeProvider();
- virtual ~DefaultThemeProvider();
-
- // Overridden from ui::ThemeProvider.
- virtual void Init(Profile* profile);
- virtual SkBitmap* GetBitmapNamed(int id) const;
- virtual SkColor GetColor(int id) const;
- virtual bool GetDisplayProperty(int id, int* result) const;
- virtual bool ShouldUseNativeFrame() const;
- virtual bool HasCustomImage(int id) const;
- virtual RefCountedMemory* GetRawData(int id) const;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider);
-};
-
-} // namespace views
-
-#endif // VIEWS_DEFAULT_THEME_PROVIDER_H_
« no previous file with comments | « views/widget/child_window_message_processor.cc ('k') | views/widget/default_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698