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

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

Issue 14643011: Reset page scale factor to 1.0 on navigation to a new page. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Revise, add test. Created 7 years, 7 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 | Annotate | Revision Log
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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 204
205 DOMString counterValue(Element element); 205 DOMString counterValue(Element element);
206 long pageNumber(Element element, optional float pageWidth, optional float pa geHeight); 206 long pageNumber(Element element, optional float pageWidth, optional float pa geHeight);
207 DOMString[] shortcutIconURLs(Document document); 207 DOMString[] shortcutIconURLs(Document document);
208 DOMString[] allIconURLs(Document document); 208 DOMString[] allIconURLs(Document document);
209 long numberOfPages(optional double pageWidthInPixels, optional double pageHe ightInPixels); 209 long numberOfPages(optional double pageWidthInPixels, optional double pageHe ightInPixels);
210 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber); 210 [RaisesException] DOMString pageProperty(DOMString propertyName, long pageNu mber);
211 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft); 211 [RaisesException] DOMString pageSizeAndMarginsInPixels(long pageIndex, long width, long height, long marginTop, long marginRight, long marginBottom, long ma rginLeft);
212 212
213 [RaisesException] void setPageScaleFactor(float scaleFactor, long x, long y) ; 213 [RaisesException] void setPageScaleFactor(float scaleFactor, long x, long y) ;
214 [RaisesException] float pageScaleFactor();
214 215
215 void webkitWillEnterFullScreenForElement(Document document, Element element) ; 216 void webkitWillEnterFullScreenForElement(Document document, Element element) ;
216 void webkitDidEnterFullScreenForElement(Document document, Element element); 217 void webkitDidEnterFullScreenForElement(Document document, Element element);
217 void webkitWillExitFullScreenForElement(Document document, Element element); 218 void webkitWillExitFullScreenForElement(Document document, Element element);
218 void webkitDidExitFullScreenForElement(Document document, Element element); 219 void webkitDidExitFullScreenForElement(Document document, Element element);
219 220
220 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme); 221 void registerURLSchemeAsBypassingContentSecurityPolicy(DOMString scheme);
221 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme); 222 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(DOMString sch eme);
222 223
223 MallocStatistics mallocStatistics(); 224 MallocStatistics mallocStatistics();
(...skipping 19 matching lines...) Expand all
243 void forceReload(boolean endToEnd); 244 void forceReload(boolean endToEnd);
244 245
245 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM(); 246 [Conditional=ENCRYPTED_MEDIA_V2] void initializeMockCDM();
246 247
247 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer(); 248 [Conditional=SPEECH_SYNTHESIS] void enableMockSpeechSynthesizer();
248 249
249 [RaisesException] DOMString getImageSourceURL(Element element); 250 [RaisesException] DOMString getImageSourceURL(Element element);
250 251
251 boolean isSelectPopupVisible(Node node); 252 boolean isSelectPopupVisible(Node node);
252 }; 253 };
OLDNEW
« Source/WebKit/chromium/src/WebViewImpl.cpp ('K') | « Source/core/testing/Internals.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698