Index: views/examples/double_split_view_example.h |
diff --git a/views/examples/double_split_view_example.h b/views/examples/double_split_view_example.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..241b3a8c31e9f5850262ddf892d95fc0dab1a29a |
--- /dev/null |
+++ b/views/examples/double_split_view_example.h |
@@ -0,0 +1,33 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef VIEWS_EXAMPLES_DOUBLE_SPLIT_VIEW_EXAMPLE_H_ |
+#define VIEWS_EXAMPLES_DOUBLE_SPLIT_VIEW_EXAMPLE_H_ |
+#pragma once |
+ |
+#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.
|
+#include "views/examples/example_base.h" |
+ |
+namespace examples { |
+ |
+class DoubleSplitViewExample : public ExampleBase { |
+ public: |
+ explicit DoubleSplitViewExample(ExamplesMain* main); |
+ virtual ~DoubleSplitViewExample(); |
+ |
+ // Overridden from ExampleBase: |
+ 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.
|
+ virtual void CreateExampleView(views::View* container) OVERRIDE; |
+ |
+ private: |
+ // The SinleSplitViews to be embedded. |
+ views::SingleSplitView* outer_single_split_view_; |
+ views::SingleSplitView* inner_single_split_view_; |
+ |
+ 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.
|
+}; |
+ |
+} // namespace examples |
+ |
+#endif // VIEWS_EXAMPLES_DOUBLE_SPLIT_VIEW_EXAMPLE_H_ |