| Index: ui/native_theme/native_theme_aura_overlay.h
|
| diff --git a/ui/native_theme/native_theme_aura.h b/ui/native_theme/native_theme_aura_overlay.h
|
| similarity index 52%
|
| copy from ui/native_theme/native_theme_aura.h
|
| copy to ui/native_theme/native_theme_aura_overlay.h
|
| index e2fbfc4e741f42ac764795f448c36849b3579edd..c1e3def0994aae3bb399c5473b56c8f75074c4ee 100644
|
| --- a/ui/native_theme/native_theme_aura.h
|
| +++ b/ui/native_theme/native_theme_aura_overlay.h
|
| @@ -1,39 +1,26 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
|
| -#define UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
|
| +#ifndef UI_NATIVE_THEME_NATIVE_THEME_AURA_OVERLAY_H_
|
| +#define UI_NATIVE_THEME_NATIVE_THEME_AURA_OVERLAY_H_
|
|
|
| #include "base/macros.h"
|
| +#include "ui/native_theme/native_theme_aura.h"
|
| #include "ui/native_theme/native_theme_base.h"
|
|
|
| namespace ui {
|
|
|
| // Aura implementation of native theme support.
|
| -class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase {
|
| +class NATIVE_THEME_EXPORT NativeThemeAuraOverlay : public NativeThemeAura {
|
| public:
|
| - static NativeThemeAura* instance();
|
| + static NativeThemeAuraOverlay* instance();
|
|
|
| protected:
|
| - NativeThemeAura();
|
| - ~NativeThemeAura() override;
|
| -
|
| - // Overridden from NativeThemeBase:
|
| - SkColor GetSystemColor(ColorId color_id) const override;
|
| - void PaintMenuPopupBackground(
|
| - SkCanvas* canvas,
|
| - const gfx::Size& size,
|
| - const MenuBackgroundExtraParams& menu_background) const override;
|
| - void PaintMenuItemBackground(
|
| - SkCanvas* canvas,
|
| - State state,
|
| - const gfx::Rect& rect,
|
| - const MenuItemExtraParams& menu_item) const override;
|
| - void PaintArrowButton(SkCanvas* gc,
|
| - const gfx::Rect& rect,
|
| - Part direction,
|
| - State state) const override;
|
| + NativeThemeAuraOverlay();
|
| + ~NativeThemeAuraOverlay() override;
|
| +
|
| + // Overridden from NativeThemeAura:
|
| void PaintScrollbarTrack(SkCanvas* canvas,
|
| Part part,
|
| State state,
|
| @@ -52,9 +39,10 @@ class NATIVE_THEME_EXPORT NativeThemeAura : public NativeThemeBase {
|
| const ExtraParams& extra) const override;
|
|
|
| private:
|
| - DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
|
| + DISALLOW_COPY_AND_ASSIGN(NativeThemeAuraOverlay);
|
| };
|
|
|
| } // namespace ui
|
|
|
| -#endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_H_
|
| +#endif // UI_NATIVE_THEME_NATIVE_THEME_AURA_OVERLAY_H_
|
| +
|
|
|