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

Side by Side Diff: chrome/browser/ui/views/event_utils.cc

Issue 10827271: Replace views::Event with ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/ui/views/event_utils.h" 5 #include "chrome/browser/ui/views/event_utils.h"
6 6
7 #include "ui/views/events/event.h" 7 #include "ui/base/event.h"
8 8
9 namespace event_utils { 9 namespace event_utils {
10 10
11 bool IsPossibleDispositionEvent(const views::Event& event) { 11 bool IsPossibleDispositionEvent(const ui::Event& event) {
12 return event.IsMouseEvent() && (event.flags() & 12 return event.IsMouseEvent() && (event.flags() &
13 (ui::EF_LEFT_MOUSE_BUTTON | ui::EF_MIDDLE_MOUSE_BUTTON)); 13 (ui::EF_LEFT_MOUSE_BUTTON | ui::EF_MIDDLE_MOUSE_BUTTON));
14 } 14 }
15 15
16 } // namespace event_utils 16 } // namespace event_utils
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/event_utils.h ('k') | chrome/browser/ui/views/extensions/bundle_installed_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698