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

Side by Side Diff: Source/core/page/EventHandler.h

Issue 640303002: Enable Oilpan for core/clipboard/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove some slightly pointy edges Created 5 years, 8 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 | « Source/core/page/DragState.h ('k') | Source/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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 void notifyElementActivated(); 191 void notifyElementActivated();
192 192
193 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last MouseDownUserGestureToken.release(); } 193 PassRefPtr<UserGestureToken> takeLastMouseDownGestureToken() { return m_last MouseDownUserGestureToken.release(); }
194 194
195 int clickCount() { return m_clickCount; } 195 int clickCount() { return m_clickCount; }
196 bool mouseDownWasSingleClickInSelection() { return m_mouseDownWasSingleClick InSelection; } 196 bool mouseDownWasSingleClickInSelection() { return m_mouseDownWasSingleClick InSelection; }
197 197
198 private: 198 private:
199 static DragState& dragState(); 199 static DragState& dragState();
200 200
201 PassRefPtrWillBeRawPtr<DataTransfer> createDraggingDataTransfer() const; 201 DataTransfer* createDraggingDataTransfer() const;
202 202
203 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS election&, TextGranularity); 203 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS election&, TextGranularity);
204 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing Whitespace); 204 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing Whitespace);
205 void selectClosestMisspellingFromHitTestResult(const HitTestResult&, AppendT railingWhitespace); 205 void selectClosestMisspellingFromHitTestResult(const HitTestResult&, AppendT railingWhitespace);
206 void selectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&); 206 void selectClosestWordFromMouseEvent(const MouseEventWithHitTestResults&);
207 void selectClosestMisspellingFromMouseEvent(const MouseEventWithHitTestResul ts&); 207 void selectClosestMisspellingFromMouseEvent(const MouseEventWithHitTestResul ts&);
208 void selectClosestWordOrLinkFromMouseEvent(const MouseEventWithHitTestResult s&); 208 void selectClosestWordOrLinkFromMouseEvent(const MouseEventWithHitTestResult s&);
209 209
210 bool handleMouseMoveOrLeaveEvent(const PlatformMouseEvent&, HitTestResult* h overedNode = nullptr, bool onlyUpdateScrollbars = false, bool forceLeave = false ); 210 bool handleMouseMoveOrLeaveEvent(const PlatformMouseEvent&, HitTestResult* h overedNode = nullptr, bool onlyUpdateScrollbars = false, bool forceLeave = false );
211 bool handleMousePressEvent(const MouseEventWithHitTestResults&); 211 bool handleMousePressEvent(const MouseEventWithHitTestResults&);
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 // scroll sequence in this frame, or any child frames. Only used 417 // scroll sequence in this frame, or any child frames. Only used
418 // with ScrollCustomization. If some delta has been consumed, a 418 // with ScrollCustomization. If some delta has been consumed, a
419 // scroll which shouldn't propagate can't cause any element to 419 // scroll which shouldn't propagate can't cause any element to
420 // scroll other than the |m_previousGestureScrolledNode|. 420 // scroll other than the |m_previousGestureScrolledNode|.
421 bool m_deltaConsumedForScrollSequence; 421 bool m_deltaConsumedForScrollSequence;
422 }; 422 };
423 423
424 } // namespace blink 424 } // namespace blink
425 425
426 #endif // EventHandler_h 426 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « Source/core/page/DragState.h ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698