OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_CHROMEOS_NATIVE_DIALOG_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_NATIVE_DIALOG_WINDOW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_NATIVE_DIALOG_WINDOW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_NATIVE_DIALOG_WINDOW_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 | 10 |
11 namespace gfx { | 11 namespace gfx { |
12 class Rect; | 12 class Rect; |
13 class Size; | 13 class Size; |
14 } // namespace gfx | 14 } // namespace gfx |
15 | 15 |
16 namespace chromeos { | 16 namespace chromeos { |
17 | 17 |
18 // Flags for ShowNativeDialog. | 18 // Flags for ShowNativeDialog. |
19 enum NativeDialogFlags { | 19 enum NativeDialogFlags { |
(...skipping 14 matching lines...) Expand all Loading... |
34 | 34 |
35 // Gets the container window of the given |native_dialog|. | 35 // Gets the container window of the given |native_dialog|. |
36 gfx::NativeWindow GetNativeDialogWindow(gfx::NativeView native_dialog); | 36 gfx::NativeWindow GetNativeDialogWindow(gfx::NativeView native_dialog); |
37 | 37 |
38 // Gets the bounds of the contained dialog content. | 38 // Gets the bounds of the contained dialog content. |
39 gfx::Rect GetNativeDialogContentsBounds(gfx::NativeView native_dialog); | 39 gfx::Rect GetNativeDialogContentsBounds(gfx::NativeView native_dialog); |
40 | 40 |
41 } // namespace chromeos | 41 } // namespace chromeos |
42 | 42 |
43 #endif // CHROME_BROWSER_CHROMEOS_NATIVE_DIALOG_WINDOW_H_ | 43 #endif // CHROME_BROWSER_CHROMEOS_NATIVE_DIALOG_WINDOW_H_ |
OLD | NEW |