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

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

Issue 2735663002: Introduce isInPasswordField() (Closed)
Patch Set: 2017-03-06T16:21:23 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.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) 2004, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2004, 2006, 2008 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 bool isPresentationalHTMLElement(const Node*); 185 bool isPresentationalHTMLElement(const Node*);
186 bool isNodeRendered(const Node&); 186 bool isNodeRendered(const Node&);
187 bool isNodeVisiblyContainedWithin(Node&, const Range&); 187 bool isNodeVisiblyContainedWithin(Node&, const Range&);
188 bool isRenderedAsNonInlineTableImageOrHR(const Node*); 188 bool isRenderedAsNonInlineTableImageOrHR(const Node*);
189 // Returns true if specified nodes are elements, have identical tag names, 189 // Returns true if specified nodes are elements, have identical tag names,
190 // have identical attributes, and are editable. 190 // have identical attributes, and are editable.
191 CORE_EXPORT bool areIdenticalElements(const Node&, const Node&); 191 CORE_EXPORT bool areIdenticalElements(const Node&, const Node&);
192 bool isNonTableCellHTMLBlockElement(const Node*); 192 bool isNonTableCellHTMLBlockElement(const Node*);
193 bool isBlockFlowElement(const Node&); 193 bool isBlockFlowElement(const Node&);
194 EUserSelect usedValueOfUserSelect(const Node&); 194 EUserSelect usedValueOfUserSelect(const Node&);
195 bool isInPasswordField(const Position&);
195 bool isTextSecurityNode(const Node*); 196 bool isTextSecurityNode(const Node*);
196 CORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&); 197 CORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&);
197 CORE_EXPORT TextDirection directionOfEnclosingBlock(const PositionInFlatTree&); 198 CORE_EXPORT TextDirection directionOfEnclosingBlock(const PositionInFlatTree&);
198 CORE_EXPORT TextDirection primaryDirectionOf(const Node&); 199 CORE_EXPORT TextDirection primaryDirectionOf(const Node&);
199 200
200 // ------------------------------------------------------------------------- 201 // -------------------------------------------------------------------------
201 // Position 202 // Position
202 // ------------------------------------------------------------------------- 203 // -------------------------------------------------------------------------
203 204
204 // Functions returning Position 205 // Functions returning Position
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, 427 DispatchEventResult dispatchBeforeInputDataTransfer(Node*,
427 InputEvent::InputType, 428 InputEvent::InputType,
428 DataTransfer*); 429 DataTransfer*);
429 430
430 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, 431 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection,
431 TextGranularity); 432 TextGranularity);
432 433
433 } // namespace blink 434 } // namespace blink
434 435
435 #endif 436 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698