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

Side by Side Diff: sky/engine/public/platform/Platform.h

Issue 752463002: Remove unused WebMIMERegistry (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/public/BUILD.gn ('k') | sky/engine/public/platform/WebMimeRegistry.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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 class WebBlobRegistry; 55 class WebBlobRegistry;
56 class WebClipboard; 56 class WebClipboard;
57 class WebCompositorSupport; 57 class WebCompositorSupport;
58 class WebConvertableToTraceFormat; 58 class WebConvertableToTraceFormat;
59 class WebDiscardableMemory; 59 class WebDiscardableMemory;
60 class WebFallbackThemeEngine; 60 class WebFallbackThemeEngine;
61 class WebFlingAnimator; 61 class WebFlingAnimator;
62 class WebGestureCurveTarget; 62 class WebGestureCurveTarget;
63 class WebGestureCurve; 63 class WebGestureCurve;
64 class WebGraphicsContext3DProvider; 64 class WebGraphicsContext3DProvider;
65 class WebMimeRegistry;
66 class WebSandboxSupport; 65 class WebSandboxSupport;
67 struct WebFloatPoint; 66 struct WebFloatPoint;
68 class WebThemeEngine; 67 class WebThemeEngine;
69 class WebURL; 68 class WebURL;
70 class WebURLLoader; 69 class WebURLLoader;
71 class WebUnitTestSupport; 70 class WebUnitTestSupport;
72 struct WebLocalizedString; 71 struct WebLocalizedString;
73 struct WebSize; 72 struct WebSize;
74 73
75 class Platform { 74 class Platform {
76 public: 75 public:
77 // HTML5 Database ------------------------------------------------------ 76 // HTML5 Database ------------------------------------------------------
78 typedef int FileHandle; 77 typedef int FileHandle;
79 78
80 BLINK_PLATFORM_EXPORT static void initialize(Platform*); 79 BLINK_PLATFORM_EXPORT static void initialize(Platform*);
81 BLINK_PLATFORM_EXPORT static void shutdown(); 80 BLINK_PLATFORM_EXPORT static void shutdown();
82 BLINK_PLATFORM_EXPORT static Platform* current(); 81 BLINK_PLATFORM_EXPORT static Platform* current();
83 82
84 // Must return non-null. 83 // Must return non-null.
85 virtual WebClipboard* clipboard() { return 0; } 84 virtual WebClipboard* clipboard() { return 0; }
86 85
87 // Must return non-null.
88 virtual WebMimeRegistry* mimeRegistry() { return 0; }
89
90 // May return null if sandbox support is not necessary 86 // May return null if sandbox support is not necessary
91 virtual WebSandboxSupport* sandboxSupport() { return 0; } 87 virtual WebSandboxSupport* sandboxSupport() { return 0; }
92 88
93 // May return null on some platforms. 89 // May return null on some platforms.
94 virtual WebThemeEngine* themeEngine() { return 0; } 90 virtual WebThemeEngine* themeEngine() { return 0; }
95 91
96 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; } 92 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; }
97 93
98 // Blob ---------------------------------------------------------------- 94 // Blob ----------------------------------------------------------------
99 95
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 // with |velocity| and already scrolled |cumulativeScroll| pixels. 371 // with |velocity| and already scrolled |cumulativeScroll| pixels.
376 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0 ; } 372 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0 ; }
377 373
378 protected: 374 protected:
379 virtual ~Platform() { } 375 virtual ~Platform() { }
380 }; 376 };
381 377
382 } // namespace blink 378 } // namespace blink
383 379
384 #endif 380 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/BUILD.gn ('k') | sky/engine/public/platform/WebMimeRegistry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698