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

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

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « ui/views/layout/box_layout.cc ('k') | ui/views/painter.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 UI_VIEWS_NATIVE_THEME_DELEGATE_H_ 5 #ifndef UI_VIEWS_NATIVE_THEME_DELEGATE_H_
6 #define UI_VIEWS_NATIVE_THEME_DELEGATE_H_ 6 #define UI_VIEWS_NATIVE_THEME_DELEGATE_H_
7 7
8 #include "ui/gfx/rect.h" 8 #include "ui/gfx/geometry/rect.h"
9 #include "ui/native_theme/native_theme.h" 9 #include "ui/native_theme/native_theme.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 // A delagate that supports animating transtions between different native 14 // A delagate that supports animating transtions between different native
15 // theme states. This delegate can be used to control a native theme Border 15 // theme states. This delegate can be used to control a native theme Border
16 // or Painter object. 16 // or Painter object.
17 // 17 //
18 // If animation is ongoing, the native theme border or painter will 18 // If animation is ongoing, the native theme border or painter will
(...skipping 24 matching lines...) Expand all
43 // If animation is onging, this returns the foreground native theme state. 43 // If animation is onging, this returns the foreground native theme state.
44 // This state will be composited over the background using an alpha value 44 // This state will be composited over the background using an alpha value
45 // based on the current value of the animation. 45 // based on the current value of the animation.
46 virtual ui::NativeTheme::State GetForegroundThemeState( 46 virtual ui::NativeTheme::State GetForegroundThemeState(
47 ui::NativeTheme::ExtraParams* params) const = 0; 47 ui::NativeTheme::ExtraParams* params) const = 0;
48 }; 48 };
49 49
50 } // namespace views 50 } // namespace views
51 51
52 #endif // UI_VIEWS_NATIVE_THEME_DELEGATE_H_ 52 #endif // UI_VIEWS_NATIVE_THEME_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/views/layout/box_layout.cc ('k') | ui/views/painter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698