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

Side by Side Diff: ash/wm/shadow_types.h

Issue 10693135: Remove #pragma once from ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « ash/wm/shadow_controller.h ('k') | ash/wm/shelf_layout_manager.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) 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 ASH_WM_SHADOW_TYPES_H_ 5 #ifndef ASH_WM_SHADOW_TYPES_H_
6 #define ASH_WM_SHADOW_TYPES_H_ 6 #define ASH_WM_SHADOW_TYPES_H_
7 #pragma once
8 7
9 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
10 9
11 namespace aura { 10 namespace aura {
12 class Window; 11 class Window;
13 } 12 }
14 13
15 namespace ash { 14 namespace ash {
16 namespace internal { 15 namespace internal {
17 16
18 // Different types of drop shadows that can be drawn under a window by the 17 // Different types of drop shadows that can be drawn under a window by the
19 // shell. Used as a value for the kShadowTypeKey property. 18 // shell. Used as a value for the kShadowTypeKey property.
20 enum ShadowType { 19 enum ShadowType {
21 // Starts at 0 due to the cast in GetShadowType(). 20 // Starts at 0 due to the cast in GetShadowType().
22 SHADOW_TYPE_NONE = 0, 21 SHADOW_TYPE_NONE = 0,
23 SHADOW_TYPE_RECTANGULAR, 22 SHADOW_TYPE_RECTANGULAR,
24 }; 23 };
25 24
26 ASH_EXPORT void SetShadowType(aura::Window* window, ShadowType shadow_type); 25 ASH_EXPORT void SetShadowType(aura::Window* window, ShadowType shadow_type);
27 ASH_EXPORT ShadowType GetShadowType(aura::Window* window); 26 ASH_EXPORT ShadowType GetShadowType(aura::Window* window);
28 27
29 } // namespace internal 28 } // namespace internal
30 } // namespace ash 29 } // namespace ash
31 30
32 #endif // ASH_WM_SHADOW_TYPES_H_ 31 #endif // ASH_WM_SHADOW_TYPES_H_
OLDNEW
« no previous file with comments | « ash/wm/shadow_controller.h ('k') | ash/wm/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698