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

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

Issue 2290743002: Partial revert of https://codereview.chromium.org/1911973002/ (Closed)
Patch Set: mac libtool Created 4 years, 3 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
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_aurawin.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 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_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_
6 #define UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_
7
8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "ui/native_theme/native_theme_aura.h"
11
12 namespace ui {
13
14 // Aura implementation of native theme support.
15 class NATIVE_THEME_EXPORT NativeThemeAuraWin : public NativeThemeAura {
16 public:
17 static NativeThemeAuraWin* instance();
18
19 private:
20 NativeThemeAuraWin();
21 ~NativeThemeAuraWin() override;
22
23 // Overridden from NativeThemeBase:
24 gfx::Size GetPartSize(Part part,
25 State state,
26 const ExtraParams& extra) const override;
27 void Paint(SkCanvas* canvas,
28 Part part,
29 State state,
30 const gfx::Rect& rect,
31 const ExtraParams& extra) const override;
32 DISALLOW_COPY_AND_ASSIGN(NativeThemeAuraWin);
33 };
34
35 } // namespace ui
36
37 #endif // UI_NATIVE_THEME_NATIVE_THEME_AURAWIN_H_
OLDNEW
« no previous file with comments | « ui/native_theme/native_theme_aura.cc ('k') | ui/native_theme/native_theme_aurawin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698