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

Side by Side Diff: views/controls/button/button_dropdown.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real Created 9 years, 1 month 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/accessible_pane_view_unittest.cc ('k') | views/controls/button/custom_button.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) 2011 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 #include "views/controls/button/button_dropdown.h" 5 #include "views/controls/button/button_dropdown.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "grit/ui_strings.h" 11 #include "grit/ui_strings.h"
12 #include "ui/base/accessibility/accessible_view_state.h" 12 #include "ui/base/accessibility/accessible_view_state.h"
13 #include "ui/base/l10n/l10n_util.h" 13 #include "ui/base/l10n/l10n_util.h"
14 #include "ui/base/models/menu_model.h" 14 #include "ui/base/models/menu_model.h"
15 #include "ui/views/widget/widget.h"
15 #include "views/controls/menu/menu_item_view.h" 16 #include "views/controls/menu/menu_item_view.h"
16 #include "views/controls/menu/menu_model_adapter.h" 17 #include "views/controls/menu/menu_model_adapter.h"
17 #include "views/controls/menu/menu_runner.h" 18 #include "views/controls/menu/menu_runner.h"
18 #include "views/widget/widget.h"
19 19
20 namespace views { 20 namespace views {
21 21
22 // static 22 // static
23 const char ButtonDropDown::kViewClassName[] = 23 const char ButtonDropDown::kViewClassName[] =
24 "views/controls/button/ButtonDropDown"; 24 "views/controls/button/ButtonDropDown";
25 25
26 // How long to wait before showing the menu. 26 // How long to wait before showing the menu.
27 const int kMenuTimerDelay = 500; 27 const int kMenuTimerDelay = 500;
28 28
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 SetState(BS_NORMAL); 185 SetState(BS_NORMAL);
186 } 186 }
187 187
188 //////////////////////////////////////////////////////////////////////////////// 188 ////////////////////////////////////////////////////////////////////////////////
189 // 189 //
190 // ButtonDropDown - Accessibility 190 // ButtonDropDown - Accessibility
191 // 191 //
192 //////////////////////////////////////////////////////////////////////////////// 192 ////////////////////////////////////////////////////////////////////////////////
193 193
194 } // namespace views 194 } // namespace views
OLDNEW
« no previous file with comments | « views/accessible_pane_view_unittest.cc ('k') | views/controls/button/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698