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

Side by Side Diff: third_party/WebKit/Source/core/testing/Internals.idl

Issue 2697313005: Selection API: collapse() should recreate an internal Range. (Closed)
Patch Set: Add NeedsRebaseline for platform-dependent tests Created 3 years, 10 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 | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2013 Apple Inc. All rights reserved. 3 * Copyright (C) 2013 Apple 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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 void forceReload(boolean endToEnd); 265 void forceReload(boolean endToEnd);
266 266
267 DOMString getImageSourceURL(Element element); 267 DOMString getImageSourceURL(Element element);
268 268
269 DOMString selectMenuListText(HTMLSelectElement select); 269 DOMString selectMenuListText(HTMLSelectElement select);
270 boolean isSelectPopupVisible(Node node); 270 boolean isSelectPopupVisible(Node node);
271 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex); 271 boolean selectPopupItemStyleIsRtl(Node select, long itemIndex);
272 long selectPopupItemStyleFontHeight(Node select, long itemIndex); 272 long selectPopupItemStyleFontHeight(Node select, long itemIndex);
273 void resetTypeAheadSession(HTMLSelectElement select); 273 void resetTypeAheadSession(HTMLSelectElement select);
274 274
275 readonly attribute Node? visibleSelectionAnchorNode;
276 readonly attribute unsigned long visibleSelectionAnchorOffset;
277 readonly attribute Node? visibleSelectionFocusNode;
278 readonly attribute unsigned long visibleSelectionFocusOffset;
275 [RaisesException] ClientRect selectionBounds(); 279 [RaisesException] ClientRect selectionBounds();
276 280
277 boolean loseSharedGraphicsContext3D(); 281 boolean loseSharedGraphicsContext3D();
278 282
279 [RaisesException] void forceCompositingUpdate(Document document); 283 [RaisesException] void forceCompositingUpdate(Document document);
280 284
281 void setZoomFactor(float factor); 285 void setZoomFactor(float factor);
282 286
283 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al); 287 [RaisesException] void setShouldRevealPassword(Element element, boolean reve al);
284 288
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 DOMString getProgrammaticScrollAnimationState(Node node); 364 DOMString getProgrammaticScrollAnimationState(Node node);
361 365
362 ClientRect visualRect(Node node); 366 ClientRect visualRect(Node node);
363 367
364 OriginTrialsTest originTrialsTest(); 368 OriginTrialsTest originTrialsTest();
365 369
366 void crash(); 370 void crash();
367 371
368 void setIsLowEndDevice(boolean isLowEndDevice); 372 void setIsLowEndDevice(boolean isLowEndDevice);
369 }; 373 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698