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

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

Issue 23101004: Make configurationForViewport match production code (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Renamed configurationForViewport to viewportAsText Created 7 years, 4 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 | « 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 97
98 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType); 98 [RaisesException] unsigned long markerCountForNode(Node node, DOMString mark erType);
99 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index); 99 [RaisesException] Range markerRangeForNode(Node node, DOMString markerType, unsigned long index);
100 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index); 100 [RaisesException] DOMString markerDescriptionForNode(Node node, DOMString ma rkerType, unsigned long index);
101 void addTextMatchMarker(Range range, boolean isActive); 101 void addTextMatchMarker(Range range, boolean isActive);
102 102
103 [RaisesException] void setScrollViewPosition(Document document, long x, long y); 103 [RaisesException] void setScrollViewPosition(Document document, long x, long y);
104 104
105 [RaisesException] void setPagination(Document document, DOMString mode, long gap, optional long pageLength); 105 [RaisesException] void setPagination(Document document, DOMString mode, long gap, optional long pageLength);
106 106
107 [RaisesException] DOMString configurationForViewport(Document document, 107 [RaisesException] DOMString viewportAsText(Document document,
108 float devicePixelRatio, 108 float devicePixelRatio,
109 long deviceWidth, 109 long availableWidth,
110 long deviceHeight, 110 long availableHeight);
111 long availableWidth,
112 long availableHeight);
113 111
114 [RaisesException] boolean wasLastChangeUserEdit(Element textField); 112 [RaisesException] boolean wasLastChangeUserEdit(Element textField);
115 [RaisesException] boolean elementShouldAutoComplete(Element inputElement); 113 [RaisesException] boolean elementShouldAutoComplete(Element inputElement);
116 [RaisesException] DOMString suggestedValue(Element inputElement); 114 [RaisesException] DOMString suggestedValue(Element inputElement);
117 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val ue); 115 [RaisesException] void setSuggestedValue(Element inputElement, DOMString val ue);
118 [RaisesException] void setEditingValue(Element inputElement, DOMString value ); 116 [RaisesException] void setEditingValue(Element inputElement, DOMString value );
119 [RaisesException] void setAutofilled(Element inputElement, boolean enabled); 117 [RaisesException] void setAutofilled(Element inputElement, boolean enabled);
120 118
121 [RaisesException] void paintControlTints(Document document); 119 [RaisesException] void paintControlTints(Document document);
122 120
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 void enableMockSpeechSynthesizer(); 251 void enableMockSpeechSynthesizer();
254 252
255 [RaisesException] DOMString getImageSourceURL(Element element); 253 [RaisesException] DOMString getImageSourceURL(Element element);
256 254
257 boolean isSelectPopupVisible(Node node); 255 boolean isSelectPopupVisible(Node node);
258 256
259 [RaisesException] ClientRect selectionBounds(); 257 [RaisesException] ClientRect selectionBounds();
260 258
261 boolean loseSharedGraphicsContext3D(); 259 boolean loseSharedGraphicsContext3D();
262 }; 260 };
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698