OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 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_STRINGS_STRINGS_DEMO_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_DEMO_UI_STRINGS_STRINGS_DEMO_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "base/timer/timer.h" |
| 10 #include "components/demo_ui/strings/strings_demo_view_model.h" |
| 11 |
| 12 class StringsDemo : public gen::StringsDemoViewModel { |
| 13 public: |
| 14 StringsDemo(); |
| 15 ~StringsDemo() override; |
| 16 |
| 17 static void Register(); |
| 18 |
| 19 private: |
| 20 void Initialize() override; |
| 21 void UpdateClock(); |
| 22 |
| 23 base::Timer timer_; |
| 24 DISALLOW_COPY_AND_ASSIGN(StringsDemo); |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_WEBUI_DEMO_UI_STRINGS_STRINGS_DEMO_H_ |
OLD | NEW |