Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(461)

Side by Side Diff: views/examples/double_split_view_example.h

Issue 7846010: Fixed crash when a SinglesplitView gets embdedded inside SingleSplitView (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: incorporated all review comments by Sky and Tfarina Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698