OLD | NEW |
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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 WTF_MAKE_NONCOPYABLE(EventHandler); | 89 WTF_MAKE_NONCOPYABLE(EventHandler); |
90 public: | 90 public: |
91 explicit EventHandler(LocalFrame*); | 91 explicit EventHandler(LocalFrame*); |
92 ~EventHandler(); | 92 ~EventHandler(); |
93 DECLARE_TRACE(); | 93 DECLARE_TRACE(); |
94 | 94 |
95 void clear(); | 95 void clear(); |
96 void nodeWillBeRemoved(Node&); | 96 void nodeWillBeRemoved(Node&); |
97 | 97 |
98 void updateSelectionForMouseDrag(); | 98 void updateSelectionForMouseDrag(); |
99 | |
100 #if OS(WIN) | |
101 void startPanScrolling(LayoutObject*); | 99 void startPanScrolling(LayoutObject*); |
102 #endif | |
103 | 100 |
104 // TODO(nzolghadr): Some of the APIs in this class only forward the action | 101 // TODO(nzolghadr): Some of the APIs in this class only forward the action |
105 // to the corresponding Manager class. We need to investigate whether it is | 102 // to the corresponding Manager class. We need to investigate whether it is |
106 // better to expose the manager instance itself later or can the access to | 103 // better to expose the manager instance itself later or can the access to |
107 // those APIs be more limited or removed. | 104 // those APIs be more limited or removed. |
108 | 105 |
109 void stopAutoscroll(); | 106 void stopAutoscroll(); |
110 | 107 |
111 void dispatchFakeMouseMoveEventSoon(); | 108 void dispatchFakeMouseMoveEventSoon(); |
112 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); | 109 void dispatchFakeMouseMoveEventSoonInQuad(const FloatQuad&); |
(...skipping 301 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
414 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 411 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
415 bool m_suppressMouseEventsFromGestures; | 412 bool m_suppressMouseEventsFromGestures; |
416 | 413 |
417 // TODO(nzolghadr): Temporary until further refactoring | 414 // TODO(nzolghadr): Temporary until further refactoring |
418 friend GestureManager; | 415 friend GestureManager; |
419 }; | 416 }; |
420 | 417 |
421 } // namespace blink | 418 } // namespace blink |
422 | 419 |
423 #endif // EventHandler_h | 420 #endif // EventHandler_h |
OLD | NEW |