// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef UI_VIEWS_NATIVE_THEME_DELEGATE_H_ #define UI_VIEWS_NATIVE_THEME_DELEGATE_H_ #include "ui/gfx/geometry/rect.h" #include "ui/native_theme/native_theme.h" #include "ui/views/views_export.h" namespace views { // A delagate that supports animating transtions between different native // theme states. This delegate can be used to control a native theme Border // or Painter object. // // If animation is ongoing, the native theme border or painter will // composite the foreground state over the backgroud state using an alpha // between 0 and 255 based on the current value of the animation. class VIEWS_EXPORT NativeThemeDelegate { … }; } // namespace views #endif // UI_VIEWS_NATIVE_THEME_DELEGATE_H_