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

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

Issue 1819443002: MacViews: draw combobox arrow backgrounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_MAC_H_ 5 #ifndef UI_NATIVE_THEME_NATIVE_THEME_MAC_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ 6 #define UI_NATIVE_THEME_NATIVE_THEME_MAC_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 #include "ui/native_theme/native_theme_export.h" 10 #include "ui/native_theme/native_theme_export.h"
(...skipping 11 matching lines...) Expand all
22 // Overridden from NativeThemeBase: 22 // Overridden from NativeThemeBase:
23 void PaintMenuPopupBackground( 23 void PaintMenuPopupBackground(
24 SkCanvas* canvas, 24 SkCanvas* canvas,
25 const gfx::Size& size, 25 const gfx::Size& size,
26 const MenuBackgroundExtraParams& menu_background) const override; 26 const MenuBackgroundExtraParams& menu_background) const override;
27 void PaintMenuItemBackground( 27 void PaintMenuItemBackground(
28 SkCanvas* canvas, 28 SkCanvas* canvas,
29 State state, 29 State state,
30 const gfx::Rect& rect, 30 const gfx::Rect& rect,
31 const MenuItemExtraParams& menu_item) const override; 31 const MenuItemExtraParams& menu_item) const override;
32 void PaintComboboxArrowBackground(
33 SkCanvas* canvas,
34 State state,
35 const gfx::Rect& rect) const override;
32 36
33 private: 37 private:
34 NativeThemeMac(); 38 NativeThemeMac();
35 ~NativeThemeMac() override; 39 ~NativeThemeMac() override;
36 40
37 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac); 41 DISALLOW_COPY_AND_ASSIGN(NativeThemeMac);
38 }; 42 };
39 43
40 } // namespace ui 44 } // namespace ui
41 45
42 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_ 46 #endif // UI_NATIVE_THEME_NATIVE_THEME_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698