| 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_H_ |
| 6 #define UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_ | 6 #define UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_ |
| 7 | 7 |
| 8 #include "ui/views/examples/views_examples_export.h" |
| 9 |
| 8 namespace views { | 10 namespace views { |
| 9 namespace examples { | 11 namespace examples { |
| 10 | 12 |
| 11 enum Operation { | 13 enum Operation { |
| 12 DO_NOTHING_ON_CLOSE = 0, | 14 DO_NOTHING_ON_CLOSE = 0, |
| 13 QUIT_ON_CLOSE, | 15 QUIT_ON_CLOSE, |
| 14 }; | 16 }; |
| 15 | 17 |
| 16 // Shows a window with the views examples in it. | 18 // Shows a window with the views examples in it. |
| 17 void ShowExamplesWindow(Operation operation); | 19 VIEWS_EXAMPLES_EXPORT void ShowExamplesWindow(Operation operation); |
| 18 | 20 |
| 19 } // namespace examples | 21 } // namespace examples |
| 20 } // namespace views | 22 } // namespace views |
| 21 | 23 |
| 22 #endif // UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_ | 24 #endif // UI_VIEWS_EXAMPLES_EXAMPLES_WINDOW_H_ |
| OLD | NEW |