Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef VIEWS_EXAMPLES_DOUBLE_SPLIT_VIEW_EXAMPLE_H_ | |
| 6 #define VIEWS_EXAMPLES_DOUBLE_SPLIT_VIEW_EXAMPLE_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "views/controls/single_split_view.h" | |
|
tfarina
2011/09/09 15:15:31
Please, instead of including this here, just forwa
Gajen
2011/09/12 15:13:44
Done.
| |
| 10 #include "views/examples/example_base.h" | |
| 11 | |
| 12 namespace examples { | |
| 13 | |
| 14 class DoubleSplitViewExample : public ExampleBase { | |
| 15 public: | |
| 16 explicit DoubleSplitViewExample(ExamplesMain* main); | |
| 17 virtual ~DoubleSplitViewExample(); | |
| 18 | |
| 19 // Overridden from ExampleBase: | |
| 20 virtual std::wstring GetExampleTitle() OVERRIDE; | |
|
tfarina
2011/09/09 15:15:31
could you include base/compiler_specific.h for OVE
Gajen
2011/09/12 15:13:44
Done.
| |
| 21 virtual void CreateExampleView(views::View* container) OVERRIDE; | |
| 22 | |
| 23 private: | |
| 24 // The SinleSplitViews to be embedded. | |
| 25 views::SingleSplitView* outer_single_split_view_; | |
| 26 views::SingleSplitView* inner_single_split_view_; | |
| 27 | |
| 28 DISALLOW_COPY_AND_ASSIGN(DoubleSplitViewExample); | |
|
tfarina
2011/09/09 15:15:31
could you include base/basictypes.h for DISALLOW?
Gajen
2011/09/12 15:13:44
Done.
| |
| 29 }; | |
| 30 | |
| 31 } // namespace examples | |
| 32 | |
| 33 #endif // VIEWS_EXAMPLES_DOUBLE_SPLIT_VIEW_EXAMPLE_H_ | |
| OLD | NEW |