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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 1615133002: Implement API for accessing fonts installed locally on the system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add file reading failure checking. Created 4 years, 10 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 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 class WebCompositorSupport; 67 class WebCompositorSupport;
68 class WebCookieJar; 68 class WebCookieJar;
69 class WebCrypto; 69 class WebCrypto;
70 class WebDatabaseObserver; 70 class WebDatabaseObserver;
71 class WebDiscardableMemory; 71 class WebDiscardableMemory;
72 class WebPlatformEventListener; 72 class WebPlatformEventListener;
73 class WebFallbackThemeEngine; 73 class WebFallbackThemeEngine;
74 class WebFileSystem; 74 class WebFileSystem;
75 class WebFileUtilities; 75 class WebFileUtilities;
76 class WebFlingAnimator; 76 class WebFlingAnimator;
77 class WebFontAccess;
77 class WebGeofencingProvider; 78 class WebGeofencingProvider;
78 class WebGestureCurve; 79 class WebGestureCurve;
79 class WebGraphicsContext3DProvider; 80 class WebGraphicsContext3DProvider;
80 class WebIDBFactory; 81 class WebIDBFactory;
81 class WebMIDIAccessor; 82 class WebMIDIAccessor;
82 class WebMIDIAccessorClient; 83 class WebMIDIAccessorClient;
83 class WebMediaPlayer; 84 class WebMediaPlayer;
84 class WebMediaRecorderHandler; 85 class WebMediaRecorderHandler;
85 class WebMediaStream; 86 class WebMediaStream;
86 class WebMediaStreamCenter; 87 class WebMediaStreamCenter;
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 635
635 // Permissions -------------------------------------------------------- 636 // Permissions --------------------------------------------------------
636 637
637 virtual WebPermissionClient* permissionClient() { return nullptr; } 638 virtual WebPermissionClient* permissionClient() { return nullptr; }
638 639
639 640
640 // Background Sync API------------------------------------------------------ ------ 641 // Background Sync API------------------------------------------------------ ------
641 642
642 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; } 643 virtual WebSyncProvider* backgroundSyncProvider() { return nullptr; }
643 644
645 // Local Font Access API -----------------------------------------------
646
647 virtual WebFontAccess* fontAccess() { return nullptr; }
648
644 // Experimental Framework ---------------------------------------------- 649 // Experimental Framework ----------------------------------------------
645 650
646 virtual WebApiKeyValidator* apiKeyValidator() { return nullptr; } 651 virtual WebApiKeyValidator* apiKeyValidator() { return nullptr; }
647 652
648 protected: 653 protected:
649 BLINK_PLATFORM_EXPORT Platform(); 654 BLINK_PLATFORM_EXPORT Platform();
650 virtual ~Platform() { } 655 virtual ~Platform() { }
651 656
652 WebThread* m_mainThread; 657 WebThread* m_mainThread;
653 }; 658 };
654 659
655 } // namespace blink 660 } // namespace blink
656 661
657 #endif 662 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698