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

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

Issue 2138613002: Set the font family for the "system-ui" generic font family on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WIP Created 4 years, 2 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 283 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 void setValueForUser(Element element, DOMString value); 295 void setValueForUser(Element element, DOMString value);
296 296
297 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth); 297 DOMString textSurroundingNode(Node node, long x, long y, unsigned long maxLe ngth);
298 298
299 void setFocused(boolean focused); 299 void setFocused(boolean focused);
300 void setInitialFocus(boolean reverse); 300 void setInitialFocus(boolean reverse);
301 301
302 boolean ignoreLayoutWithPendingStylesheets(Document document); 302 boolean ignoreLayoutWithPendingStylesheets(Document document);
303 303
304 readonly attribute DOMString systemFontFamily;
305
304 // These functions are for testing NetInfo. You must call clearNetworkConnec tionInfoOverride() at the end. 306 // These functions are for testing NetInfo. You must call clearNetworkConnec tionInfoOverride() at the end.
305 [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMS tring type, double downlinkMaxMbps); 307 [RaisesException] void setNetworkConnectionInfoOverride(boolean onLine, DOMS tring type, double downlinkMaxMbps);
306 void clearNetworkConnectionInfoOverride(); 308 void clearNetworkConnectionInfoOverride();
307 309
308 // This function is for testing HitRegions on Canvas2D. 310 // This function is for testing HitRegions on Canvas2D.
309 unsigned long countHitRegions(CanvasRenderingContext2D context); 311 unsigned long countHitRegions(CanvasRenderingContext2D context);
310 312
311 boolean isInCanvasFontCache(Document document, DOMString fontString); 313 boolean isInCanvasFontCache(Document document, DOMString fontString);
312 unsigned long canvasFontCacheMaxFonts(); 314 unsigned long canvasFontCacheMaxFonts();
313 315
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 DOMString getScrollAnimationState(Node node); 356 DOMString getScrollAnimationState(Node node);
355 357
356 DOMString getProgrammaticScrollAnimationState(Node node); 358 DOMString getProgrammaticScrollAnimationState(Node node);
357 359
358 ClientRect visualRect(Node node); 360 ClientRect visualRect(Node node);
359 361
360 OriginTrialsTest originTrialsTest(); 362 OriginTrialsTest originTrialsTest();
361 363
362 void crash(); 364 void crash();
363 }; 365 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698