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

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

Issue 6312156: Change includes of gfx/* to ui/gfx/* (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/controls/menu/menu_config_win.cc ('k') | views/controls/menu/menu_host.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) 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 "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "base/time.h" 8 #include "base/time.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "gfx/canvas_skia.h"
11 #include "ui/base/dragdrop/os_exchange_data.h" 10 #include "ui/base/dragdrop/os_exchange_data.h"
12 #include "ui/base/keycodes/keyboard_codes.h" 11 #include "ui/base/keycodes/keyboard_codes.h"
13 #include "ui/base/l10n/l10n_util.h" 12 #include "ui/base/l10n/l10n_util.h"
13 #include "ui/gfx/canvas_skia.h"
14 #include "views/controls/button/menu_button.h" 14 #include "views/controls/button/menu_button.h"
15 #include "views/controls/menu/menu_scroll_view_container.h" 15 #include "views/controls/menu/menu_scroll_view_container.h"
16 #include "views/controls/menu/submenu_view.h" 16 #include "views/controls/menu/submenu_view.h"
17 #include "views/drag_utils.h" 17 #include "views/drag_utils.h"
18 #include "views/screen.h" 18 #include "views/screen.h"
19 #include "views/view_constants.h" 19 #include "views/view_constants.h"
20 #include "views/views_delegate.h" 20 #include "views/views_delegate.h"
21 #include "views/widget/root_view.h" 21 #include "views/widget/root_view.h"
22 #include "views/widget/widget.h" 22 #include "views/widget/widget.h"
23 23
(...skipping 1812 matching lines...) Expand 10 before | Expand all | Expand 10 after
1836 1836
1837 MouseEvent release_event(Event::ET_MOUSE_RELEASED, -1, -1, 0); 1837 MouseEvent release_event(Event::ET_MOUSE_RELEASED, -1, -1, 0);
1838 // Reset the active_mouse_view_ before sending mouse released. That way if if 1838 // Reset the active_mouse_view_ before sending mouse released. That way if if
1839 // calls back to use we aren't in a weird state. 1839 // calls back to use we aren't in a weird state.
1840 View* active_view = active_mouse_view_; 1840 View* active_view = active_mouse_view_;
1841 active_mouse_view_ = NULL; 1841 active_mouse_view_ = NULL;
1842 active_view->OnMouseReleased(release_event, true); 1842 active_view->OnMouseReleased(release_event, true);
1843 } 1843 }
1844 1844
1845 } // namespace views 1845 } // namespace views
OLDNEW
« no previous file with comments | « views/controls/menu/menu_config_win.cc ('k') | views/controls/menu/menu_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698