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

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

Issue 6360014: views: Move fill_layout.[cc,h] into layout directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/combobox_example.h ('k') | views/examples/table_example.h » ('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_MENU_EXAMPLE_H_ 5 #ifndef VIEWS_EXAMPLES_MENU_EXAMPLE_H_
6 #define VIEWS_EXAMPLES_MENU_EXAMPLE_H_ 6 #define VIEWS_EXAMPLES_MENU_EXAMPLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
12 #include "ui/base/models/simple_menu_model.h" 12 #include "ui/base/models/simple_menu_model.h"
13 #include "views/controls/button/menu_button.h" 13 #include "views/controls/button/menu_button.h"
14 #include "views/controls/menu/menu_2.h" 14 #include "views/controls/menu/menu_2.h"
15 #include "views/controls/menu/view_menu_delegate.h" 15 #include "views/controls/menu/view_menu_delegate.h"
16 #include "views/controls/button/text_button.h" 16 #include "views/controls/button/text_button.h"
17 #include "views/examples/example_base.h" 17 #include "views/examples/example_base.h"
18 #include "views/fill_layout.h" 18 #include "views/layout/fill_layout.h"
19 19
20 namespace examples { 20 namespace examples {
21 21
22 class ExampleMenuContents : public ui::SimpleMenuModel, 22 class ExampleMenuContents : public ui::SimpleMenuModel,
23 public ui::SimpleMenuModel::Delegate { 23 public ui::SimpleMenuModel::Delegate {
24 enum { 24 enum {
25 kGroupMakeDecision, 25 kGroupMakeDecision,
26 }; 26 };
27 27
28 enum { 28 enum {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 container->AddChildView(menu_button); 197 container->AddChildView(menu_button);
198 } 198 }
199 199
200 private: 200 private:
201 DISALLOW_COPY_AND_ASSIGN(MenuExample); 201 DISALLOW_COPY_AND_ASSIGN(MenuExample);
202 }; 202 };
203 203
204 } // namespace examples 204 } // namespace examples
205 205
206 #endif // VIEWS_EXAMPLES_MENU_EXAMPLE_H_ 206 #endif // VIEWS_EXAMPLES_MENU_EXAMPLE_H_
OLDNEW
« no previous file with comments | « views/examples/combobox_example.h ('k') | views/examples/table_example.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698