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