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

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

Issue 2320303002: Reset VisualViewport position after same page navigation (Closed)
Patch Set: update comment Created 4 years, 3 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 String counterValue(Element*); 253 String counterValue(Element*);
254 254
255 int pageNumber(Element*, float pageWidth, float pageHeight, ExceptionState&) ; 255 int pageNumber(Element*, float pageWidth, float pageHeight, ExceptionState&) ;
256 Vector<String> shortcutIconURLs(Document*) const; 256 Vector<String> shortcutIconURLs(Document*) const;
257 Vector<String> allIconURLs(Document*) const; 257 Vector<String> allIconURLs(Document*) const;
258 258
259 int numberOfPages(float pageWidthInPixels, float pageHeightInPixels, Excepti onState&); 259 int numberOfPages(float pageWidthInPixels, float pageHeightInPixels, Excepti onState&);
260 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons t; 260 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION) cons t;
261 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onState& = ASSERT_NO_EXCEPTION) const; 261 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onState& = ASSERT_NO_EXCEPTION) const;
262 262
263 float pageScaleFactor(ExceptionState&);
263 void setPageScaleFactor(float scaleFactor, ExceptionState&); 264 void setPageScaleFactor(float scaleFactor, ExceptionState&);
264 void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor, Ex ceptionState&); 265 void setPageScaleFactorLimits(float minScaleFactor, float maxScaleFactor, Ex ceptionState&);
265 266
266 bool magnifyScaleAroundAnchor(float factor, float x, float y); 267 bool magnifyScaleAroundAnchor(float factor, float x, float y);
267 268
268 void setIsCursorVisible(Document*, bool, ExceptionState&); 269 void setIsCursorVisible(Document*, bool, ExceptionState&);
269 270
270 double effectiveMediaVolume(HTMLMediaElement*); 271 double effectiveMediaVolume(HTMLMediaElement*);
271 String effectivePreload(HTMLMediaElement*); 272 String effectivePreload(HTMLMediaElement*);
272 273
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 416
416 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 417 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
417 Member<InternalRuntimeFlags> m_runtimeFlags; 418 Member<InternalRuntimeFlags> m_runtimeFlags;
418 419
419 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 420 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
420 }; 421 };
421 422
422 } // namespace blink 423 } // namespace blink
423 424
424 #endif // Internals_h 425 #endif // Internals_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698