OLD | NEW |
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_EXAMPLES_EXAMPLES_WINDOW_H_ | 5 #ifndef UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_WITH_CONTENT_H_ |
6 #define UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_ | 6 #define UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_WITH_CONTENT_H_ |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 class BrowserContext; | 9 class BrowserContext; |
10 } | 10 } |
11 | 11 |
12 namespace views { | 12 namespace views { |
13 namespace examples { | 13 namespace examples { |
14 | 14 |
15 enum Operation { | 15 enum Operation { |
16 DO_NOTHING_ON_CLOSE = 0, | 16 DO_NOTHING_ON_CLOSE = 0, |
17 QUIT_ON_CLOSE, | 17 QUIT_ON_CLOSE, |
18 }; | 18 }; |
19 | 19 |
20 // Shows a window with the views examples in it. | 20 // Shows a window with the views examples in it. |
21 void ShowExamplesWindow(Operation operation, | 21 void ShowExamplesWindow(Operation operation, |
22 content::BrowserContext* browser_context); | 22 content::BrowserContext* browser_context); |
23 | 23 |
24 } // namespace examples | 24 } // namespace examples |
25 } // namespace views | 25 } // namespace views |
26 | 26 |
27 #endif // UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_ | 27 #endif // UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_WITH_CONTENT_H_ |
OLD | NEW |