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

Side by Side Diff: third_party/WebKit/Source/core/editing/SelectionController.h

Issue 2681443003: Send click event after pointer capturing retarget (Closed)
Patch Set: Rename the function and the parameter names Created 3 years, 9 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) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2015 Google Inc. All rights reserved. 3 * Copyright (C) 2015 Google Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool m_mouseDownWasSingleClickInSelection; 137 bool m_mouseDownWasSingleClickInSelection;
138 bool m_mouseDownAllowsMultiClick; 138 bool m_mouseDownAllowsMultiClick;
139 enum class SelectionState { 139 enum class SelectionState {
140 HaveNotStartedSelection, 140 HaveNotStartedSelection,
141 PlacedCaret, 141 PlacedCaret,
142 ExtendedSelection 142 ExtendedSelection
143 }; 143 };
144 SelectionState m_selectionState; 144 SelectionState m_selectionState;
145 }; 145 };
146 146
147 bool isLinkSelection(const MouseEventWithHitTestResults&); 147 bool isSelectionOverLink(const MouseEventWithHitTestResults&);
148 bool isExtendingSelection(const MouseEventWithHitTestResults&); 148 bool isExtendingSelection(const MouseEventWithHitTestResults&);
149 149
150 } // namespace blink 150 } // namespace blink
151 151
152 #endif // SelectionController_h 152 #endif // SelectionController_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698