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