OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 CHROME_BROWSER_UI_WEBUI_DEMO_UI_DEMO_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_DEMO_UI_DEMO_UI_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "content/public/browser/web_ui_controller.h" |
| 11 |
| 12 namespace content { |
| 13 class WebUI; |
| 14 } |
| 15 |
| 16 namespace gen { |
| 17 class DemoWebUIView; |
| 18 } |
| 19 |
| 20 class DemoUI : public content::WebUIController { |
| 21 public: |
| 22 explicit DemoUI(content::WebUI* web_ui); |
| 23 ~DemoUI() override; |
| 24 |
| 25 private: |
| 26 scoped_ptr<gen::DemoWebUIView> view_; |
| 27 |
| 28 DISALLOW_COPY_AND_ASSIGN(DemoUI); |
| 29 }; |
| 30 |
| 31 #endif // CHROME_BROWSER_UI_WEBUI_DEMO_UI_DEMO_UI_H_ |
OLD | NEW |