summaryrefslogtreecommitdiff
path: root/chromium/ui/native_theme/fallback_theme.h
blob: 65eb3bd080f2b5fba1d40f7dd66f6b3b46e6beb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// 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_NATIVE_THEME_FALLBACK_THEME_H_
#define UI_NATIVE_THEME_FALLBACK_THEME_H_

#include "ui/native_theme/native_theme_base.h"

namespace ui {

// This theme can draw UI controls on every platform. This is only used when
// zooming a web page and the native theme doesn't support scaling.
class NATIVE_THEME_EXPORT FallbackTheme : public NativeThemeBase {
 public:
  FallbackTheme();
  virtual ~FallbackTheme();

 protected:
  // Overridden from NativeThemeBase:
  virtual SkColor GetSystemColor(ColorId color_id) const OVERRIDE;

 private:
  DISALLOW_COPY_AND_ASSIGN(FallbackTheme);
};

}  // namespace ui

#endif  // UI_NATIVE_THEME_FALLBACK_THEME_H_