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.
5 #ifndef UI_VIEWS_EXAMPLES_WEBVIEW_EXAMPLE_H_
6 #define UI_VIEWS_EXAMPLES_WEBVIEW_EXAMPLE_H_
8 #include "base/macros.h"
9 #include "ui/views/examples/example_base.h"
20 class WebViewExample
: public ExampleBase
{
22 explicit WebViewExample(content::BrowserContext
* browser_context
);
23 ~WebViewExample() override
;
26 void CreateExampleView(View
* container
) override
;
30 content::BrowserContext
* browser_context_
;
32 DISALLOW_COPY_AND_ASSIGN(WebViewExample
);
35 } // namespace examples
38 #endif // UI_VIEWS_EXAMPLES_WEBVIEW_EXAMPLE_H_