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

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

Issue 138433002: Add Autofill preview support for <select> input fields (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 153
154 void setScrollViewPosition(Document*, long x, long y, ExceptionState&); 154 void setScrollViewPosition(Document*, long x, long y, ExceptionState&);
155 void setPagination(Document* document, const String& mode, int gap, Exceptio nState& ec) { setPagination(document, mode, gap, 0, ec); } 155 void setPagination(Document* document, const String& mode, int gap, Exceptio nState& ec) { setPagination(document, mode, gap, 0, ec); }
156 void setPagination(Document*, const String& mode, int gap, int pageLength, E xceptionState&); 156 void setPagination(Document*, const String& mode, int gap, int pageLength, E xceptionState&);
157 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&); 157 String viewportAsText(Document*, float devicePixelRatio, int availableWidth, int availableHeight, ExceptionState&);
158 158
159 bool wasLastChangeUserEdit(Element* textField, ExceptionState&); 159 bool wasLastChangeUserEdit(Element* textField, ExceptionState&);
160 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&); 160 bool elementShouldAutoComplete(Element* inputElement, ExceptionState&);
161 String suggestedValue(Element*, ExceptionState&); 161 String suggestedValue(Element*, ExceptionState&);
162 void setSuggestedValue(Element*, const String&, ExceptionState&); 162 void setSuggestedValue(Element*, const String&, ExceptionState&);
163 String originalValue(Element*, ExceptionState&);
164 void setOriginalValue(Element*, const String&, ExceptionState&);
163 void setEditingValue(Element* inputElement, const String&, ExceptionState&); 165 void setEditingValue(Element* inputElement, const String&, ExceptionState&);
164 void setAutofilled(Element*, bool enabled, ExceptionState&); 166 void setAutofilled(Element*, bool enabled, ExceptionState&);
165 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&); 167 void scrollElementToRect(Element*, long x, long y, long w, long h, Exception State&);
166 168
167 void paintControlTints(Document*, ExceptionState&); 169 void paintControlTints(Document*, ExceptionState&);
168 170
169 PassRefPtr<Range> rangeFromLocationAndLength(Element* scope, int rangeLocati on, int rangeLength, ExceptionState&); 171 PassRefPtr<Range> rangeFromLocationAndLength(Element* scope, int rangeLocati on, int rangeLength, ExceptionState&);
170 unsigned locationFromRange(Element* scope, const Range*, ExceptionState&); 172 unsigned locationFromRange(Element* scope, const Range*, ExceptionState&);
171 unsigned lengthFromRange(Element* scope, const Range*, ExceptionState&); 173 unsigned lengthFromRange(Element* scope, const Range*, ExceptionState&);
172 String rangeAsText(const Range*, ExceptionState&); 174 String rangeAsText(const Range*, ExceptionState&);
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 RefPtr<DOMWindow> m_frontendWindow; 319 RefPtr<DOMWindow> m_frontendWindow;
318 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 320 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
319 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 321 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
320 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 322 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
321 RefPtr<InternalProfilers> m_profilers; 323 RefPtr<InternalProfilers> m_profilers;
322 }; 324 };
323 325
324 } // namespace WebCore 326 } // namespace WebCore
325 327
326 #endif 328 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698