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

Side by Side Diff: ui/native_theme/native_theme_base.h

Issue 1661673004: Enables hot-tracking for overflow extension buttons in the app menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restores hot-tracking of extension buttons in app menu with MD Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_BASE_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_BASE_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 virtual void PaintMenuPopupBackground( 102 virtual void PaintMenuPopupBackground(
103 SkCanvas* canvas, 103 SkCanvas* canvas,
104 const gfx::Size& size, 104 const gfx::Size& size,
105 const MenuBackgroundExtraParams& menu_background) const; 105 const MenuBackgroundExtraParams& menu_background) const;
106 106
107 virtual void PaintMenuItemBackground( 107 virtual void PaintMenuItemBackground(
108 SkCanvas* canvas, 108 SkCanvas* canvas,
109 State state, 109 State state,
110 const gfx::Rect& rect, 110 const gfx::Rect& rect,
111 const MenuListExtraParams& menu_list) const; 111 const MenuItemExtraParams& menu_item) const;
varkha 2016/02/06 00:51:21 This seems to be a typo as seen by a call site her
112 112
113 virtual void PaintSliderTrack( 113 virtual void PaintSliderTrack(
114 SkCanvas* canvas, 114 SkCanvas* canvas,
115 State state, 115 State state,
116 const gfx::Rect& rect, 116 const gfx::Rect& rect,
117 const SliderExtraParams& slider) const; 117 const SliderExtraParams& slider) const;
118 118
119 virtual void PaintSliderThumb( 119 virtual void PaintSliderThumb(
120 SkCanvas* canvas, 120 SkCanvas* canvas,
121 State state, 121 State state,
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 // The length of the arrow buttons, 0 means no buttons are drawn. 209 // The length of the arrow buttons, 0 means no buttons are drawn.
210 unsigned int scrollbar_button_length_; 210 unsigned int scrollbar_button_length_;
211 211
212 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase); 212 DISALLOW_COPY_AND_ASSIGN(NativeThemeBase);
213 }; 213 };
214 214
215 } // namespace ui 215 } // namespace ui
216 216
217 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_ 217 #endif // UI_NATIVE_THEME_NATIVE_THEME_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698