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

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

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/page/PageScaleConstraintsSet.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 PassRefPtr<ClientRectList> inspectorHighlightRects(Document*, ExceptionState &); 143 PassRefPtr<ClientRectList> inspectorHighlightRects(Document*, ExceptionState &);
144 144
145 unsigned markerCountForNode(Node*, const String&, ExceptionState&); 145 unsigned markerCountForNode(Node*, const String&, ExceptionState&);
146 PassRefPtr<Range> markerRangeForNode(Node*, const String& markerType, unsign ed index, ExceptionState&); 146 PassRefPtr<Range> markerRangeForNode(Node*, const String& markerType, unsign ed index, ExceptionState&);
147 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&); 147 String markerDescriptionForNode(Node*, const String& markerType, unsigned in dex, ExceptionState&);
148 void addTextMatchMarker(const Range*, bool isActive); 148 void addTextMatchMarker(const Range*, bool isActive);
149 149
150 void setScrollViewPosition(Document*, long x, long y, ExceptionState&); 150 void setScrollViewPosition(Document*, long x, long y, ExceptionState&);
151 void setPagination(Document* document, const String& mode, int gap, Exceptio nState& ec) { setPagination(document, mode, gap, 0, ec); } 151 void setPagination(Document* document, const String& mode, int gap, Exceptio nState& ec) { setPagination(document, mode, gap, 0, ec); }
152 void setPagination(Document*, const String& mode, int gap, int pageLength, E xceptionState&); 152 void setPagination(Document*, const String& mode, int gap, int pageLength, E xceptionState&);
153 String configurationForViewport(Document*, float devicePixelRatio, int devic eWidth, int deviceHeight, int availableWidth, int availableHeight, ExceptionStat e&); 153 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&);
154 154
155 bool wasLastChangeUserEdit(Element* textField, ExceptionState&); 155 bool wasLastChangeUserEdit(Element* textField, ExceptionState&);
156 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); 156 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&);
157 String suggestedValue(Element* inputElement, ExceptionState&); 157 String suggestedValue(Element* inputElement, ExceptionState&);
158 void setSuggestedValue(Element* inputElement, const String&, ExceptionState& ); 158 void setSuggestedValue(Element* inputElement, const String&, ExceptionState& );
159 void setEditingValue(Element* inputElement, const String&, ExceptionState&); 159 void setEditingValue(Element* inputElement, const String&, ExceptionState&);
160 void setAutofilled(Element*, bool enabled, ExceptionState&); 160 void setAutofilled(Element*, bool enabled, ExceptionState&);
161 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&); 161 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&);
162 162
163 void paintControlTints(Document*, ExceptionState&); 163 void paintControlTints(Document*, ExceptionState&);
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
303 RefPtr<DOMWindow> m_frontendWindow; 303 RefPtr<DOMWindow> m_frontendWindow;
304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 304 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
305 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 305 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
306 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 306 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
307 RefPtr<InternalProfilers> m_profilers; 307 RefPtr<InternalProfilers> m_profilers;
308 }; 308 };
309 309
310 } // namespace WebCore 310 } // namespace WebCore
311 311
312 #endif 312 #endif
OLDNEW
« no previous file with comments | « Source/core/page/PageScaleConstraintsSet.cpp ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698