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

Side by Side Diff: views/controls/menu/menu_controller.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/controls/menu/menu_config.h ('k') | views/controls/menu/menu_item_view.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/menu/menu_controller.h" 5 #include "views/controls/menu/menu_controller.h"
6 6
7 #include "app/gfx/canvas.h"
8 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
9 #include "app/os_exchange_data.h" 8 #include "app/os_exchange_data.h"
10 #include "base/i18n/rtl.h" 9 #include "base/i18n/rtl.h"
11 #include "base/keyboard_codes.h" 10 #include "base/keyboard_codes.h"
12 #include "base/time.h" 11 #include "base/time.h"
12 #include "gfx/canvas.h"
13 #include "views/controls/button/menu_button.h" 13 #include "views/controls/button/menu_button.h"
14 #include "views/controls/menu/menu_scroll_view_container.h" 14 #include "views/controls/menu/menu_scroll_view_container.h"
15 #include "views/controls/menu/submenu_view.h" 15 #include "views/controls/menu/submenu_view.h"
16 #include "views/drag_utils.h" 16 #include "views/drag_utils.h"
17 #include "views/screen.h" 17 #include "views/screen.h"
18 #include "views/view_constants.h" 18 #include "views/view_constants.h"
19 #include "views/widget/root_view.h" 19 #include "views/widget/root_view.h"
20 #include "views/widget/widget.h" 20 #include "views/widget/widget.h"
21 21
22 using base::Time; 22 using base::Time;
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1496 if (!scroll_task_.get()) 1496 if (!scroll_task_.get())
1497 scroll_task_.reset(new MenuScrollTask()); 1497 scroll_task_.reset(new MenuScrollTask());
1498 scroll_task_->Update(part); 1498 scroll_task_->Update(part);
1499 } 1499 }
1500 1500
1501 void MenuController::StopScrolling() { 1501 void MenuController::StopScrolling() {
1502 scroll_task_.reset(NULL); 1502 scroll_task_.reset(NULL);
1503 } 1503 }
1504 1504
1505 } // namespace views 1505 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/menu/menu_config.h ('k') | views/controls/menu/menu_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698