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

Side by Side Diff: Source/Platform/chromium/public/Platform.h

Issue 14108007: Introduce the fallback theme engine that will be used to paint a fallback UI (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added to Platform.gypi 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/Platform/Platform.gypi ('k') | Source/Platform/chromium/public/WebFallbackThemeEngine.h » ('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 * 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 class GrContext; 48 class GrContext;
49 49
50 namespace WebKit { 50 namespace WebKit {
51 51
52 class WebAudioBus; 52 class WebAudioBus;
53 class WebBlobRegistry; 53 class WebBlobRegistry;
54 class WebClipboard; 54 class WebClipboard;
55 class WebCompositorSupport; 55 class WebCompositorSupport;
56 class WebCookieJar; 56 class WebCookieJar;
57 class WebDiscardableMemory; 57 class WebDiscardableMemory;
58 class WebFallbackThemeEngine;
58 class WebFileSystem; 59 class WebFileSystem;
59 class WebFileUtilities; 60 class WebFileUtilities;
60 class WebFlingAnimator; 61 class WebFlingAnimator;
61 class WebGestureCurveTarget; 62 class WebGestureCurveTarget;
62 class WebGestureCurve; 63 class WebGestureCurve;
63 class WebGraphicsContext3DProvider; 64 class WebGraphicsContext3DProvider;
64 class WebHyphenator; 65 class WebHyphenator;
65 class WebMediaStreamCenter; 66 class WebMediaStreamCenter;
66 class WebMediaStreamCenterClient; 67 class WebMediaStreamCenterClient;
67 class WebMessagePortChannel; 68 class WebMessagePortChannel;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 111
111 // Must return non-null. 112 // Must return non-null.
112 virtual WebMimeRegistry* mimeRegistry() { return 0; } 113 virtual WebMimeRegistry* mimeRegistry() { return 0; }
113 114
114 // May return null if sandbox support is not necessary 115 // May return null if sandbox support is not necessary
115 virtual WebSandboxSupport* sandboxSupport() { return 0; } 116 virtual WebSandboxSupport* sandboxSupport() { return 0; }
116 117
117 // May return null on some platforms. 118 // May return null on some platforms.
118 virtual WebThemeEngine* themeEngine() { return 0; } 119 virtual WebThemeEngine* themeEngine() { return 0; }
119 120
121 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; }
122
120 // Must return non-null. 123 // Must return non-null.
121 virtual WebHyphenator* hyphenator() { return 0; } 124 virtual WebHyphenator* hyphenator() { return 0; }
122 125
123 // May return null. 126 // May return null.
124 virtual WebSpeechSynthesizer* createSpeechSynthesizer(WebSpeechSynthesizerCl ient*) { return 0; } 127 virtual WebSpeechSynthesizer* createSpeechSynthesizer(WebSpeechSynthesizerCl ient*) { return 0; }
125 128
126 // Audio -------------------------------------------------------------- 129 // Audio --------------------------------------------------------------
127 130
128 virtual double audioHardwareSampleRate() { return 0; } 131 virtual double audioHardwareSampleRate() { return 0; }
129 virtual size_t audioHardwareBufferSize() { return 0; } 132 virtual size_t audioHardwareBufferSize() { return 0; }
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { } 520 virtual void didStartWorkerRunLoop(const WebWorkerRunLoop&) { }
518 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { } 521 virtual void didStopWorkerRunLoop(const WebWorkerRunLoop&) { }
519 522
520 protected: 523 protected:
521 virtual ~Platform() { } 524 virtual ~Platform() { }
522 }; 525 };
523 526
524 } // namespace WebKit 527 } // namespace WebKit
525 528
526 #endif 529 #endif
OLDNEW
« no previous file with comments | « Source/Platform/Platform.gypi ('k') | Source/Platform/chromium/public/WebFallbackThemeEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698