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

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

Issue 10546104: Make IsTriggerableEvent take Event objects and use it to verify whether tap events should trigger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Pass Event to ShouldEnterPushedState. Created 8 years, 6 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 #ifndef CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_
7 #pragma once 7 #pragma once
8 8
9 namespace views { 9 namespace views {
10 class MouseEvent; 10 class Event;
11 } 11 }
12 12
13 namespace event_utils { 13 namespace event_utils {
14 14
15 // Returns true if the specified mouse event may have a 15 // Returns true if the specified event may have a
16 // WindowOptionDisposition. 16 // WindowOptionDisposition.
17 bool IsPossibleDispositionEvent(const views::MouseEvent& event); 17 bool IsPossibleDispositionEvent(const views::Event& event);
18 18
19 } // namespace event_utils 19 } // namespace event_utils
20 20
21 #endif // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ 21 #endif // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ('k') | chrome/browser/ui/views/event_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698