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

Side by Side Diff: ui/wm/core/shadow.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/wm/core/image_grid.cc ('k') | ui/wm/core/window_animations.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_WM_CORE_SHADOW_H_ 5 #ifndef UI_WM_CORE_SHADOW_H_
6 #define UI_WM_CORE_SHADOW_H_ 6 #define UI_WM_CORE_SHADOW_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/compositor/layer_animation_observer.h" 10 #include "ui/compositor/layer_animation_observer.h"
11 #include "ui/gfx/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 #include "ui/wm/wm_export.h" 12 #include "ui/wm/wm_export.h"
13 13
14 namespace ui { 14 namespace ui {
15 class Layer; 15 class Layer;
16 } // namespace ui 16 } // namespace ui
17 17
18 namespace wm { 18 namespace wm {
19 19
20 // Simple class that draws a drop shadow around content at given bounds. 20 // Simple class that draws a drop shadow around content at given bounds.
21 class WM_EXPORT Shadow : public ui::ImplicitAnimationObserver { 21 class WM_EXPORT Shadow : public ui::ImplicitAnimationObserver {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 // The interior inset of the shadow images. The content bounds of the image 83 // The interior inset of the shadow images. The content bounds of the image
84 // grid should be set to |content_bounds_| inset by this amount. 84 // grid should be set to |content_bounds_| inset by this amount.
85 int interior_inset_; 85 int interior_inset_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(Shadow); 87 DISALLOW_COPY_AND_ASSIGN(Shadow);
88 }; 88 };
89 89
90 } // namespace wm 90 } // namespace wm
91 91
92 #endif // UI_WM_CORE_SHADOW_H_ 92 #endif // UI_WM_CORE_SHADOW_H_
OLDNEW
« no previous file with comments | « ui/wm/core/image_grid.cc ('k') | ui/wm/core/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698