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

Side by Side Diff: sky/engine/core/page/EventHandler.h

Issue 855803002: Remove attrs sky doesn't support. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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
« no previous file with comments | « sky/engine/core/page/Chrome.cpp ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // Handle the provided non-scroll gesture event. Should be called only on th e inner frame. 139 // Handle the provided non-scroll gesture event. Should be called only on th e inner frame.
140 bool handleGestureEventInFrame(const GestureEventWithHitTestResults&); 140 bool handleGestureEventInFrame(const GestureEventWithHitTestResults&);
141 141
142 // Handle the provided scroll gesture event, propagating down to child frame s as necessary. 142 // Handle the provided scroll gesture event, propagating down to child frame s as necessary.
143 bool handleGestureScrollEvent(const PlatformGestureEvent&); 143 bool handleGestureScrollEvent(const PlatformGestureEvent&);
144 bool handleGestureScrollEnd(const PlatformGestureEvent&); 144 bool handleGestureScrollEnd(const PlatformGestureEvent&);
145 bool isScrollbarHandlingGestures() const; 145 bool isScrollbarHandlingGestures() const;
146 146
147 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true ; } 147 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true ; }
148 148
149 static unsigned accessKeyModifiers();
150 bool handleAccessKey(const PlatformKeyboardEvent&);
151 bool keyEvent(const PlatformKeyboardEvent&); 149 bool keyEvent(const PlatformKeyboardEvent&);
152 void defaultKeyboardEventHandler(KeyboardEvent*); 150 void defaultKeyboardEventHandler(KeyboardEvent*);
153 151
154 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te xtEventInputType = TextEventInputKeyboard); 152 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te xtEventInputType = TextEventInputKeyboard);
155 void defaultTextInputEventHandler(TextEvent*); 153 void defaultTextInputEventHandler(TextEvent*);
156 154
157 void focusDocumentView(); 155 void focusDocumentView();
158 156
159 void capsLockStateMayHaveChanged(); // Only called by FrameSelection 157 void capsLockStateMayHaveChanged(); // Only called by FrameSelection
160 158
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 bool m_didStartDrag; 327 bool m_didStartDrag;
330 328
331 Timer<EventHandler> m_activeIntervalTimer; 329 Timer<EventHandler> m_activeIntervalTimer;
332 double m_lastShowPressTimestamp; 330 double m_lastShowPressTimestamp;
333 RefPtr<Element> m_lastDeferredTapElement; 331 RefPtr<Element> m_lastDeferredTapElement;
334 }; 332 };
335 333
336 } // namespace blink 334 } // namespace blink
337 335
338 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ 336 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_
OLDNEW
« no previous file with comments | « sky/engine/core/page/Chrome.cpp ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698