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

Side by Side Diff: third_party/WebKit/Source/core/dom/GlobalEventHandlers.h

Issue 2163893003: Start sending auxclick instead of click for non-primary buttons (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another rebase Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 18 matching lines...) Expand all
29 29
30 #ifndef GlobalEventHandlers_h 30 #ifndef GlobalEventHandlers_h
31 #define GlobalEventHandlers_h 31 #define GlobalEventHandlers_h
32 32
33 #include "core/events/EventTarget.h" 33 #include "core/events/EventTarget.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 namespace GlobalEventHandlers { 37 namespace GlobalEventHandlers {
38 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(abort); 38 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(abort);
39 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(auxclick);
39 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(blur); 40 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(blur);
40 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(cancel); 41 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(cancel);
41 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(canplay); 42 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(canplay);
42 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(canplaythrough); 43 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(canplaythrough);
43 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(change); 44 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(change);
44 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(click); 45 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(click);
45 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(close); 46 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(close);
46 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(contextmenu); 47 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(contextmenu);
47 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(cuechange); 48 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(cuechange);
48 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(dblclick); 49 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(dblclick);
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(touchend); 105 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(touchend);
105 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(touchmove); 106 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(touchmove);
106 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(touchstart); 107 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(touchstart);
107 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(volumechange); 108 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(volumechange);
108 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(waiting); 109 DEFINE_STATIC_ATTRIBUTE_EVENT_LISTENER(waiting);
109 } 110 }
110 111
111 } // namespace 112 } // namespace
112 113
113 #endif 114 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698