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

Unified Diff: ui/views/background.h

Issue 2835233005: Revert of Introduce a type of View background that stays in sync with its host (Closed)
Patch Set: Created 3 years, 8 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/message_center/views/message_bubble_base.cc ('k') | ui/views/background.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/background.h
diff --git a/ui/views/background.h b/ui/views/background.h
index 81bb675a37feb3fd00a2ada9e58b132001489cf9..6648689d56447dd54e564b810177a4c302a49d41 100644
--- a/ui/views/background.h
+++ b/ui/views/background.h
@@ -12,7 +12,6 @@
#include "base/macros.h"
#include "build/build_config.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "ui/native_theme/native_theme.h"
#include "ui/views/views_export.h"
#if defined(OS_WIN)
@@ -47,12 +46,6 @@
// Creates a background that fills the canvas in the specified color.
static Background* CreateSolidBackground(SkColor color);
-
- // Creates a background that fills the canvas in the color specified by the
- // view's NativeTheme and the given color identifier.
- static Background* CreateThemedSolidBackground(
- View* view,
- ui::NativeTheme::ColorId color_id);
// Creates a background that fills the canvas in the specified color.
static Background* CreateSolidBackground(int r, int g, int b) {
« no previous file with comments | « ui/message_center/views/message_bubble_base.cc ('k') | ui/views/background.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698