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