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

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

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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 343
344 void setValueForUser(Element*, const String&); 344 void setValueForUser(Element*, const String&);
345 345
346 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength); 346 String textSurroundingNode(Node*, int x, int y, unsigned long maxLength);
347 347
348 void setFocused(bool); 348 void setFocused(bool);
349 void setInitialFocus(bool); 349 void setInitialFocus(bool);
350 350
351 bool ignoreLayoutWithPendingStylesheets(Document*); 351 bool ignoreLayoutWithPendingStylesheets(Document*);
352 352
353 const String& systemFontFamily() const;
354
353 void setNetworkConnectionInfoOverride(bool, const String&, double downlinkMa xMbps, ExceptionState&); 355 void setNetworkConnectionInfoOverride(bool, const String&, double downlinkMa xMbps, ExceptionState&);
354 void clearNetworkConnectionInfoOverride(); 356 void clearNetworkConnectionInfoOverride();
355 357
356 unsigned countHitRegions(CanvasRenderingContext*); 358 unsigned countHitRegions(CanvasRenderingContext*);
357 359
358 bool isInCanvasFontCache(Document*, const String&); 360 bool isInCanvasFontCache(Document*, const String&);
359 unsigned canvasFontCacheMaxFonts(); 361 unsigned canvasFontCacheMaxFonts();
360 362
361 void setScrollChain(ScrollState*, const HeapVector<Member<Element>>& element s, ExceptionState&); 363 void setScrollChain(ScrollState*, const HeapVector<Member<Element>>& element s, ExceptionState&);
362 364
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 424
423 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&); 425 DocumentMarker* markerAt(Node*, const String& markerType, unsigned index, Ex ceptionState&);
424 Member<InternalRuntimeFlags> m_runtimeFlags; 426 Member<InternalRuntimeFlags> m_runtimeFlags;
425 427
426 IterationSource* startIteration(ScriptState*, ExceptionState&) override; 428 IterationSource* startIteration(ScriptState*, ExceptionState&) override;
427 }; 429 };
428 430
429 } // namespace blink 431 } // namespace blink
430 432
431 #endif // Internals_h 433 #endif // Internals_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698