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

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

Issue 6382009: views: Move grid_layout files into layout directory. Final Part. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« no previous file with comments | « views/examples/examples_main.cc ('k') | views/examples/single_split_view_example.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 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_MESSAGE_BOX_EXAMPLE_H_ 5 #ifndef VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_
6 #define VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_ 6 #define VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "views/controls/button/text_button.h" 11 #include "views/controls/button/text_button.h"
12 #include "views/controls/message_box_view.h" 12 #include "views/controls/message_box_view.h"
13 #include "views/controls/tabbed_pane/tabbed_pane.h" 13 #include "views/controls/tabbed_pane/tabbed_pane.h"
14 #include "views/examples/example_base.h" 14 #include "views/examples/example_base.h"
15 #include "views/grid_layout.h" 15 #include "views/layout/grid_layout.h"
16 16
17 namespace examples { 17 namespace examples {
18 18
19 // A MessageBoxView example. This tests some of checkbox features as well. 19 // A MessageBoxView example. This tests some of checkbox features as well.
20 class MessageBoxExample : public ExampleBase, 20 class MessageBoxExample : public ExampleBase,
21 public views::ButtonListener { 21 public views::ButtonListener {
22 public: 22 public:
23 explicit MessageBoxExample(ExamplesMain* main) : ExampleBase(main) {} 23 explicit MessageBoxExample(ExamplesMain* main) : ExampleBase(main) {}
24 24
25 virtual ~MessageBoxExample() {} 25 virtual ~MessageBoxExample() {}
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 // message box. 80 // message box.
81 views::Button* status_, *toggle_; 81 views::Button* status_, *toggle_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(MessageBoxExample); 83 DISALLOW_COPY_AND_ASSIGN(MessageBoxExample);
84 }; 84 };
85 85
86 } // namespace examples 86 } // namespace examples
87 87
88 #endif // VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_ 88 #endif // VIEWS_EXAMPLES_MESSAGE_BOX_EXAMPLE_H_
89 89
OLDNEW
« no previous file with comments | « views/examples/examples_main.cc ('k') | views/examples/single_split_view_example.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698