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

Unified Diff: ui/views/controls/menu/menu_scroll_view_container.h

Issue 1454583002: Change Views menus to consistently use GetNativeTheme for theming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get menu config from item Created 5 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 | « ui/views/controls/menu/menu_runner_impl.cc ('k') | ui/views/controls/menu/menu_scroll_view_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/menu/menu_scroll_view_container.h
diff --git a/ui/views/controls/menu/menu_scroll_view_container.h b/ui/views/controls/menu/menu_scroll_view_container.h
index 1457cd9385182afbb34e5c59c9524ddafe1018ba..dc83f25f1cf0384c71d58c59123666ae34bfa15a 100644
--- a/ui/views/controls/menu/menu_scroll_view_container.h
+++ b/ui/views/controls/menu/menu_scroll_view_container.h
@@ -31,10 +31,11 @@ class MenuScrollViewContainer : public View {
void SetBubbleArrowOffset(int offset);
// View overrides.
- void OnPaintBackground(gfx::Canvas* canvas) override;
- void Layout() override;
gfx::Size GetPreferredSize() const override;
+ void Layout() override;
+ void OnPaintBackground(gfx::Canvas* canvas) override;
void GetAccessibleState(ui::AXViewState* state) override;
+ void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
protected:
// View override.
« no previous file with comments | « ui/views/controls/menu/menu_runner_impl.cc ('k') | ui/views/controls/menu/menu_scroll_view_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698