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

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

Issue 2740823003: [PasswordGeneration] Makes generated passwords copyable (Closed)
Patch Set: 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) 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 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 isInPasswordField(const Position&);
196 bool isInPasswordFieldWithUnrevealedPassword(const Position&);
196 bool isTextSecurityNode(const Node*); 197 bool isTextSecurityNode(const Node*);
197 CORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&); 198 CORE_EXPORT TextDirection directionOfEnclosingBlock(const Position&);
198 CORE_EXPORT TextDirection directionOfEnclosingBlock(const PositionInFlatTree&); 199 CORE_EXPORT TextDirection directionOfEnclosingBlock(const PositionInFlatTree&);
199 CORE_EXPORT TextDirection primaryDirectionOf(const Node&); 200 CORE_EXPORT TextDirection primaryDirectionOf(const Node&);
200 201
201 // ------------------------------------------------------------------------- 202 // -------------------------------------------------------------------------
202 // Position 203 // Position
203 // ------------------------------------------------------------------------- 204 // -------------------------------------------------------------------------
204 205
205 // Functions returning Position 206 // Functions returning Position
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 DispatchEventResult dispatchBeforeInputDataTransfer(Node*, 428 DispatchEventResult dispatchBeforeInputDataTransfer(Node*,
428 InputEvent::InputType, 429 InputEvent::InputType,
429 DataTransfer*); 430 DataTransfer*);
430 431
431 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection, 432 InputEvent::InputType deletionInputTypeFromTextGranularity(DeleteDirection,
432 TextGranularity); 433 TextGranularity);
433 434
434 } // namespace blink 435 } // namespace blink
435 436
436 #endif 437 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698