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

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

Issue 2709473003: Add internals.textAffinity (Closed)
Patch Set: update 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 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(); 420 Node* visibleSelectionAnchorNode();
421 unsigned visibleSelectionAnchorOffset(); 421 unsigned visibleSelectionAnchorOffset();
422 Node* visibleSelectionFocusNode(); 422 Node* visibleSelectionFocusNode();
423 unsigned visibleSelectionFocusOffset(); 423 unsigned visibleSelectionFocusOffset();
424 ClientRect* selectionBounds(ExceptionState&); 424 ClientRect* selectionBounds(ExceptionState&);
425 String textAffinity();
425 426
426 bool loseSharedGraphicsContext3D(); 427 bool loseSharedGraphicsContext3D();
427 428
428 void forceCompositingUpdate(Document*, ExceptionState&); 429 void forceCompositingUpdate(Document*, ExceptionState&);
429 430
430 void setZoomFactor(float); 431 void setZoomFactor(float);
431 432
432 void setShouldRevealPassword(Element*, bool, ExceptionState&); 433 void setShouldRevealPassword(Element*, bool, ExceptionState&);
433 434
434 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue); 435 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 const String& markerType, 553 const String& markerType,
553 unsigned index, 554 unsigned index,
554 ExceptionState&); 555 ExceptionState&);
555 Member<InternalRuntimeFlags> m_runtimeFlags; 556 Member<InternalRuntimeFlags> m_runtimeFlags;
556 Member<Document> m_document; 557 Member<Document> m_document;
557 }; 558 };
558 559
559 } // namespace blink 560 } // namespace blink
560 561
561 #endif // Internals_h 562 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/assert_selection.html ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698