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