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

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

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
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 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 void forceReload(bool bypassCache); 410 void forceReload(bool bypassCache);
411 411
412 String getImageSourceURL(Element*); 412 String getImageSourceURL(Element*);
413 413
414 String selectMenuListText(HTMLSelectElement*); 414 String selectMenuListText(HTMLSelectElement*);
415 bool isSelectPopupVisible(Node*); 415 bool isSelectPopupVisible(Node*);
416 bool selectPopupItemStyleIsRtl(Node*, int); 416 bool selectPopupItemStyleIsRtl(Node*, int);
417 int selectPopupItemStyleFontHeight(Node*, int); 417 int selectPopupItemStyleFontHeight(Node*, int);
418 void resetTypeAheadSession(HTMLSelectElement*); 418 void resetTypeAheadSession(HTMLSelectElement*);
419 419
420 Node* visibleSelectionAnchorNode();
421 unsigned visibleSelectionAnchorOffset();
422 Node* visibleSelectionFocusNode();
423 unsigned visibleSelectionFocusOffset();
420 ClientRect* selectionBounds(ExceptionState&); 424 ClientRect* selectionBounds(ExceptionState&);
421 425
422 bool loseSharedGraphicsContext3D(); 426 bool loseSharedGraphicsContext3D();
423 427
424 void forceCompositingUpdate(Document*, ExceptionState&); 428 void forceCompositingUpdate(Document*, ExceptionState&);
425 429
426 void setZoomFactor(float); 430 void setZoomFactor(float);
427 431
428 void setShouldRevealPassword(Element*, bool, ExceptionState&); 432 void setShouldRevealPassword(Element*, bool, ExceptionState&);
429 433
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
548 const String& markerType, 552 const String& markerType,
549 unsigned index, 553 unsigned index,
550 ExceptionState&); 554 ExceptionState&);
551 Member<InternalRuntimeFlags> m_runtimeFlags; 555 Member<InternalRuntimeFlags> m_runtimeFlags;
552 Member<Document> m_document; 556 Member<Document> m_document;
553 }; 557 };
554 558
555 } // namespace blink 559 } // namespace blink
556 560
557 #endif // Internals_h 561 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/DOMSelection.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698