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

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

Issue 14408004: Fix incorrect evaluation of resolution media queries (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/testing/InternalSettings.idl ('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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 String counterValue(Element*); 243 String counterValue(Element*);
244 244
245 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600); 245 int pageNumber(Element*, float pageWidth = 800, float pageHeight = 600);
246 Vector<String> shortcutIconURLs(Document*) const; 246 Vector<String> shortcutIconURLs(Document*) const;
247 Vector<String> allIconURLs(Document*) const; 247 Vector<String> allIconURLs(Document*) const;
248 248
249 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600); 249 int numberOfPages(float pageWidthInPixels = 800, float pageHeightInPixels = 600);
250 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const ; 250 String pageProperty(String, int, ExceptionCode& = ASSERT_NO_EXCEPTION) const ;
251 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onCode& = ASSERT_NO_EXCEPTION) const; 251 String pageSizeAndMarginsInPixels(int, int, int, int, int, int, int, Excepti onCode& = ASSERT_NO_EXCEPTION) const;
252 252
253 void setDeviceScaleFactor(float scaleFactor, ExceptionCode&);
253 void setPageScaleFactor(float scaleFactor, int x, int y, ExceptionCode&); 254 void setPageScaleFactor(float scaleFactor, int x, int y, ExceptionCode&);
254 255
255 void setIsCursorVisible(Document*, bool, ExceptionCode&); 256 void setIsCursorVisible(Document*, bool, ExceptionCode&);
256 257
257 void webkitWillEnterFullScreenForElement(Document*, Element*); 258 void webkitWillEnterFullScreenForElement(Document*, Element*);
258 void webkitDidEnterFullScreenForElement(Document*, Element*); 259 void webkitDidEnterFullScreenForElement(Document*, Element*);
259 void webkitWillExitFullScreenForElement(Document*, Element*); 260 void webkitWillExitFullScreenForElement(Document*, Element*);
260 void webkitDidExitFullScreenForElement(Document*, Element*); 261 void webkitDidExitFullScreenForElement(Document*, Element*);
261 262
262 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ; 263 void registerURLSchemeAsBypassingContentSecurityPolicy(const String& scheme) ;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 300
300 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&); 301 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionCode&);
301 RefPtr<DOMWindow> m_frontendWindow; 302 RefPtr<DOMWindow> m_frontendWindow;
302 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel; 303 OwnPtr<InspectorFrontendChannelDummy> m_frontendChannel;
303 RefPtr<InternalRuntimeFlags> m_runtimeFlags; 304 RefPtr<InternalRuntimeFlags> m_runtimeFlags;
304 }; 305 };
305 306
306 } // namespace WebCore 307 } // namespace WebCore
307 308
308 #endif 309 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/InternalSettings.idl ('k') | Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698