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

Unified Diff: ui/views/controls/menu/menu_separator_views.cc

Issue 10387121: Revert 136996 - ui: Move NativeTheme files into ui/base/native_theme/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/views/controls/menu/menu_scroll_view_container.cc ('k') | ui/views/controls/menu/menu_separator_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_separator_views.cc
===================================================================
--- ui/views/controls/menu/menu_separator_views.cc (revision 137002)
+++ ui/views/controls/menu/menu_separator_views.cc (working copy)
@@ -5,8 +5,8 @@
#include "ui/views/controls/menu/menu_separator.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "ui/base/native_theme/native_theme.h"
#include "ui/gfx/canvas.h"
+#include "ui/gfx/native_theme.h"
#include "ui/views/controls/menu/menu_config.h"
namespace {
@@ -19,8 +19,8 @@
void MenuSeparator::OnPaint(gfx::Canvas* canvas) {
canvas->FillRect(gfx::Rect(0, height() / 2, width(), kSeparatorHeight),
- ui::NativeTheme::instance()->GetSystemColor(
- ui::NativeTheme::kColorId_MenuSeparatorColor));
+ gfx::NativeTheme::instance()->GetSystemColor(
+ gfx::NativeTheme::kColorId_MenuSeparatorColor));
}
gfx::Size MenuSeparator::GetPreferredSize() {
« no previous file with comments | « ui/views/controls/menu/menu_scroll_view_container.cc ('k') | ui/views/controls/menu/menu_separator_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698