Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |