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

Unified Diff: ui/base/native_theme/native_theme_aura.h

Issue 10387121: Revert 136996 - ui: Move NativeTheme files into ui/base/native_theme/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/native_theme/native_theme_android.cc ('k') | ui/base/native_theme/native_theme_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/native_theme/native_theme_aura.h
===================================================================
--- ui/base/native_theme/native_theme_aura.h (revision 137002)
+++ ui/base/native_theme/native_theme_aura.h (working copy)
@@ -1,52 +0,0 @@
-// Copyright (c) 2012 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_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
-#define UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
-#pragma once
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "ui/base/native_theme/native_theme_base.h"
-
-namespace gfx{
-class Rect;
-class Size;
-}
-
-namespace ui {
-
-class NativeThemeAura : public NativeThemeBase {
- public:
- static const NativeThemeAura* instance();
-
- private:
- NativeThemeAura();
- virtual ~NativeThemeAura();
-
- // Overridden from NativeThemeBase:
- virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;
- virtual void PaintMenuPopupBackground(SkCanvas* canvas,
- const gfx::Size& size) const OVERRIDE;
- virtual void PaintScrollbarTrack(
- SkCanvas* canvas,
- Part part,
- State state,
- const ScrollbarTrackExtraParams& extra_params,
- const gfx::Rect& rect) const OVERRIDE;
- virtual void PaintArrowButton(SkCanvas* canvas,
- const gfx::Rect& rect,
- Part direction,
- State state) const OVERRIDE;
- virtual void PaintScrollbarThumb(SkCanvas* canvas,
- Part part,
- State state,
- const gfx::Rect& rect) const OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(NativeThemeAura);
-};
-
-} // namespace ui
-
-#endif // UI_BASE_NATIVE_THEME_NATIVE_THEME_AURA_H_
« no previous file with comments | « ui/base/native_theme/native_theme_android.cc ('k') | ui/base/native_theme/native_theme_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698