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

Side by Side Diff: ui/native_theme/native_theme_aura.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 (comments) 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_AURA_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "ui/native_theme/native_theme_base.h" 9 #include "ui/native_theme/native_theme_base.h"
10 10
(...skipping 11 matching lines...) Expand all
22 // Overridden from NativeThemeBase: 22 // Overridden from NativeThemeBase:
23 SkColor GetSystemColor(ColorId color_id) const override; 23 SkColor GetSystemColor(ColorId color_id) const override;
24 void PaintMenuPopupBackground( 24 void PaintMenuPopupBackground(
25 SkCanvas* canvas, 25 SkCanvas* canvas,
26 const gfx::Size& size, 26 const gfx::Size& size,
27 const MenuBackgroundExtraParams& menu_background) const override; 27 const MenuBackgroundExtraParams& menu_background) const override;
28 void PaintMenuItemBackground( 28 void PaintMenuItemBackground(
29 SkCanvas* canvas, 29 SkCanvas* canvas,
30 State state, 30 State state,
31 const gfx::Rect& rect, 31 const gfx::Rect& rect,
32 const MenuListExtraParams& menu_list) const override; 32 const MenuItemExtraParams& menu_item) const override;
33 void PaintArrowButton(SkCanvas* gc, 33 void PaintArrowButton(SkCanvas* gc,
34 const gfx::Rect& rect, 34 const gfx::Rect& rect,
35 Part direction, 35 Part direction,
36 State state) const override; 36 State state) const override;
37 void PaintScrollbarTrack(SkCanvas* canvas, 37 void PaintScrollbarTrack(SkCanvas* canvas,
38 Part part, 38 Part part,
39 State state, 39 State state,
40 const ScrollbarTrackExtraParams& extra_params, 40 const ScrollbarTrackExtraParams& extra_params,
41 const gfx::Rect& rect) const override; 41 const gfx::Rect& rect) const override;
42 void PaintScrollbarThumb(SkCanvas* canvas, 42 void PaintScrollbarThumb(SkCanvas* canvas,
(...skipping 11 matching lines...) Expand all
54 double progress, 54 double progress,
55 const gfx::Rect& rect) const override; 55 const gfx::Rect& rect) const override;
56 56
57 private: 57 private:
58 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura); 58 DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
59 }; 59 };
60 60
61 } // namespace ui 61 } // namespace ui
62 62
63 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_ 63 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698