| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VIEWS_EXAMPLES_NATIVE_WIDGET_VIEWS_EXAMPLE_H_ | 5 #ifndef UI_VIEWS_EXAMPLES_NATIVE_WIDGET_VIEWS_EXAMPLE_H_ |
| 6 #define VIEWS_EXAMPLES_NATIVE_WIDGET_VIEWS_EXAMPLE_H_ | 6 #define UI_VIEWS_EXAMPLES_NATIVE_WIDGET_VIEWS_EXAMPLE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 12 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 13 #include "views/examples/example_base.h" | 11 #include "ui/views/examples/example_base.h" |
| 14 | 12 |
| 15 namespace examples { | 13 namespace examples { |
| 16 | 14 |
| 17 class NativeWidgetViewsExample : public ExampleBase { | 15 class NativeWidgetViewsExample : public ExampleBase { |
| 18 public: | 16 public: |
| 19 explicit NativeWidgetViewsExample(ExamplesMain* main); | 17 explicit NativeWidgetViewsExample(ExamplesMain* main); |
| 20 virtual ~NativeWidgetViewsExample(); | 18 virtual ~NativeWidgetViewsExample(); |
| 21 | 19 |
| 22 // Overridden from ExampleBase: | 20 // Overridden from ExampleBase: |
| 23 virtual void CreateExampleView(views::View* container) OVERRIDE; | 21 virtual void CreateExampleView(views::View* container) OVERRIDE; |
| 24 | 22 |
| 25 private: | 23 private: |
| 26 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViewsExample); | 24 DISALLOW_COPY_AND_ASSIGN(NativeWidgetViewsExample); |
| 27 }; | 25 }; |
| 28 | 26 |
| 29 } // namespace examples | 27 } // namespace examples |
| 30 | 28 |
| 31 #endif // VIEWS_EXAMPLES_NATIVE_WIDGET_VIEWS_EXAMPLE_H_ | 29 #endif // UI_VIEWS_EXAMPLES_NATIVE_WIDGET_VIEWS_EXAMPLE_H_ |
| OLD | NEW |