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

Side by Side Diff: ui/views/native_theme_delegate.h

Issue 8771006: views: Move the remaining file from views/ to ui/views/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « ui/views/mouse_watcher.h ('k') | ui/views/native_theme_painter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef VIEWS_NATIVE_THEME_DELEGATE_H_ 5 #ifndef UI_VIEWS_NATIVE_THEME_DELEGATE_H_
6 #define VIEWS_NATIVE_THEME_DELEGATE_H_ 6 #define UI_VIEWS_NATIVE_THEME_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/gfx/native_theme.h" 9 #include "ui/gfx/native_theme.h"
10 #include "ui/gfx/rect.h" 10 #include "ui/gfx/rect.h"
11 #include "views/views_export.h" 11 #include "ui/views/views_export.h"
12 12
13 namespace views { 13 namespace views {
14 14
15 // A delagate that supports animating transtions between different native 15 // A delagate that supports animating transtions between different native
16 // theme states. This delegate can be used to control a native theme Border 16 // theme states. This delegate can be used to control a native theme Border
17 // or Painter object. 17 // or Painter object.
18 // 18 //
19 // If animation is onging, the native theme border or painter will 19 // If animation is onging, the native theme border or painter will
20 // composite the foreground state over the backgroud state using an alpha 20 // composite the foreground state over the backgroud state using an alpha
21 // between 0 and 255 based on the current value of the animation. 21 // between 0 and 255 based on the current value of the animation.
(...skipping 21 matching lines...) Expand all
43 43
44 // If animation is onging, this returns the foreground native theme state. 44 // If animation is onging, this returns the foreground native theme state.
45 // This state will be composited over the background using an alpha value 45 // This state will be composited over the background using an alpha value
46 // based on the current value of the animation. 46 // based on the current value of the animation.
47 virtual gfx::NativeTheme::State GetForegroundThemeState( 47 virtual gfx::NativeTheme::State GetForegroundThemeState(
48 gfx::NativeTheme::ExtraParams* params) const = 0; 48 gfx::NativeTheme::ExtraParams* params) const = 0;
49 }; 49 };
50 50
51 } // namespace views 51 } // namespace views
52 52
53 #endif // VIEWS_NATIVE_THEME_DELEGATE_H_ 53 #endif // UI_VIEWS_NATIVE_THEME_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/mouse_watcher.h ('k') | ui/views/native_theme_painter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698