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

Side by Side Diff: ui/native_theme/common_theme.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_COMMON_THEME_H_ 5 #ifndef UI_NATIVE_THEME_COMMON_THEME_H_
6 #define UI_NATIVE_THEME_COMMON_THEME_H_ 6 #define UI_NATIVE_THEME_COMMON_THEME_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/native_theme/native_theme.h" 9 #include "ui/native_theme/native_theme.h"
10 10
(...skipping 27 matching lines...) Expand all
38 38
39 void NATIVE_THEME_EXPORT CommonThemePaintMenuGutter(SkCanvas* canvas, 39 void NATIVE_THEME_EXPORT CommonThemePaintMenuGutter(SkCanvas* canvas,
40 const gfx::Rect& rect); 40 const gfx::Rect& rect);
41 41
42 void NATIVE_THEME_EXPORT CommonThemePaintMenuBackground(SkCanvas* canvas, 42 void NATIVE_THEME_EXPORT CommonThemePaintMenuBackground(SkCanvas* canvas,
43 const gfx::Rect& rect); 43 const gfx::Rect& rect);
44 44
45 void NATIVE_THEME_EXPORT CommonThemePaintMenuItemBackground( 45 void NATIVE_THEME_EXPORT CommonThemePaintMenuItemBackground(
46 SkCanvas* canvas, 46 SkCanvas* canvas,
47 NativeTheme::State state, 47 NativeTheme::State state,
48 const gfx::Rect& rect); 48 const gfx::Rect& rect,
49 const NativeTheme::MenuItemExtraParams& menu_item);
49 50
50 // Creates a gfx::Canvas wrapping an SkCanvas. 51 // Creates a gfx::Canvas wrapping an SkCanvas.
51 scoped_ptr<gfx::Canvas> NATIVE_THEME_EXPORT CommonThemeCreateCanvas( 52 scoped_ptr<gfx::Canvas> NATIVE_THEME_EXPORT CommonThemeCreateCanvas(
52 SkCanvas* sk_canvas); 53 SkCanvas* sk_canvas);
53 54
54 } // namespace ui 55 } // namespace ui
55 56
56 #endif // UI_NATIVE_THEME_COMMON_THEME_H_ 57 #endif // UI_NATIVE_THEME_COMMON_THEME_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698