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

Unified Diff: views/widget/default_theme_provider.cc

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/default_theme_provider.h ('k') | views/widget/drop_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/default_theme_provider.cc
diff --git a/views/widget/default_theme_provider.cc b/views/widget/default_theme_provider.cc
deleted file mode 100644
index 6fdbb86bebd8ed753174ea5882d93a73087c74ed..0000000000000000000000000000000000000000
--- a/views/widget/default_theme_provider.cc
+++ /dev/null
@@ -1,50 +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.
-
-#include "views/widget/default_theme_provider.h"
-
-#include "ui/base/resource/resource_bundle.h"
-
-#if defined(OS_WIN) && !defined(USE_AURA)
-#include "views/widget/native_widget_win.h"
-#endif
-
-namespace views {
-
-DefaultThemeProvider::DefaultThemeProvider() {}
-
-DefaultThemeProvider::~DefaultThemeProvider() {}
-
-void DefaultThemeProvider::Init(Profile* profile) {}
-
-SkBitmap* DefaultThemeProvider::GetBitmapNamed(int id) const {
- return ResourceBundle::GetSharedInstance().GetBitmapNamed(id);
-}
-
-SkColor DefaultThemeProvider::GetColor(int id) const {
- // Return debugging-blue.
- return 0xff0000ff;
-}
-
-bool DefaultThemeProvider::GetDisplayProperty(int id, int* result) const {
- return false;
-}
-
-bool DefaultThemeProvider::ShouldUseNativeFrame() const {
-#if defined(OS_WIN) && !defined(USE_AURA)
- return NativeWidgetWin::IsAeroGlassEnabled();
-#else
- return false;
-#endif
-}
-
-bool DefaultThemeProvider::HasCustomImage(int id) const {
- return false;
-}
-
-RefCountedMemory* DefaultThemeProvider::GetRawData(int id) const {
- return NULL;
-}
-
-} // namespace views
« no previous file with comments | « views/widget/default_theme_provider.h ('k') | views/widget/drop_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698