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

Side by Side Diff: ui/views/style/mac/combobox_background_mac.h

Issue 1819443002: MacViews: draw combobox arrow backgrounds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: use Background instead of a separate Part 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_STYLE_MAC_COMBOBOX_BACKGROUND_MAC_H_
6 #define UI_VIEWS_STYLE_MAC_COMBOBOX_BACKGROUND_MAC_H_
7
8 #include "ui/views/background.h"
9
10 namespace gfx {
11 class Canvas;
12 } // namespace gfx
tapted 2016/03/22 23:04:33 nit: comments don't usually get put on the namespa
Elly Fong-Jones 2016/03/23 18:07:44 Done.
13
14 namespace views {
15
16 class ComboboxBackgroundMac : public Background {
tapted 2016/03/22 23:04:32 needs a brief comment
Elly Fong-Jones 2016/03/23 18:07:44 Done.
17 public:
18 ComboboxBackgroundMac() {}
tapted 2016/03/22 23:04:32 nit: these should be defined in the .cc [there's
Elly Fong-Jones 2016/03/23 18:07:44 Done.
19 ~ComboboxBackgroundMac() override {}
20
21 void Paint(gfx::Canvas* canvas, View* view) const override;
tapted 2016/03/22 23:04:33 nit: // Background:
Elly Fong-Jones 2016/03/23 18:07:44 Done.
22 };
tapted 2016/03/22 23:04:32 nit: private: DISALLOW_COPY_AND_ASSIGN
Elly Fong-Jones 2016/03/23 18:07:44 Done.
23
24 } // namespace views
25
26 #endif // UI_VIEWS_STYLE_MAC_COMBOBOX_BACKGROUND_MAC_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698