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

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

Issue 18546003: Fix tests to avoid page scale reset when setting page scale. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove page scale override function from EventSender. 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 | 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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); 249 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600);
250 Vector<String> shortcutIconURLs(Document*) const; 250 Vector<String> shortcutIconURLs(Document*) const;
251 Vector<String> allIconURLs(Document*) const; 251 Vector<String> allIconURLs(Document*) const;
252 252
253 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600); 253 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600);
254 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION_STATE ) const; 254 String pageProperty(String, int, ExceptionState& = ASSERT_NO_EXCEPTION_STATE ) const;
255 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onState& = ASSERT_NO_EXCEPTION_STATE) const; 255 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onState& = ASSERT_NO_EXCEPTION_STATE) const;
256 256
257 void setDeviceScaleFactor(float scaleFactor, ExceptionState&); 257 void setDeviceScaleFactor(float scaleFactor, ExceptionState&);
258 void setPageScaleFactor(float scaleFactor, int x, int y, ExceptionState&);
259 258
260 void setIsCursorVisible(Document*, bool, ExceptionState&); 259 void setIsCursorVisible(Document*, bool, ExceptionState&);
261 260
262 void webkitWillEnterFullScreenForElement(Document*, Element*); 261 void webkitWillEnterFullScreenForElement(Document*, Element*);
263 void webkitDidEnterFullScreenForElement(Document*, Element*); 262 void webkitDidEnterFullScreenForElement(Document*, Element*);
264 void webkitWillExitFullScreenForElement(Document*, Element*); 263 void webkitWillExitFullScreenForElement(Document*, Element*);
265 void webkitDidExitFullScreenForElement(Document*, Element*); 264 void webkitDidExitFullScreenForElement(Document*, Element*);
266 265
267 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ; 266 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ;
268 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme); 267 void removeURLSchemeRegisteredAsBypassingContentSecurityPolicy(const String& scheme);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 308 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
310 RefPtr<ScrollingCoordinator> m_scrollingCoordinator; 309 RefPtr<ScrollingCoordinator> m_scrollingCoordinator;
311 int m_touchEventTargetRectUpdateCount; 310 int m_touchEventTargetRectUpdateCount;
312 RefPtr<LayerRectList> m_currentTouchEventRects; 311 RefPtr<LayerRectList> m_currentTouchEventRects;
313 RefPtr<InternalProfilers> m_profilers; 312 RefPtr<InternalProfilers> m_profilers;
314 }; 313 };
315 314
316 } // namespace WebCore 315 } // namespace WebCore
317 316
318 #endif 317 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698