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

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

Issue 753443002: Remove WebThemeEngine (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/WebThemeEngine.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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 WebSandboxSupport; 65 class WebSandboxSupport;
66 struct WebFloatPoint; 66 struct WebFloatPoint;
67 class WebThemeEngine;
68 class WebURL; 67 class WebURL;
69 class WebURLLoader; 68 class WebURLLoader;
70 class WebUnitTestSupport; 69 class WebUnitTestSupport;
71 struct WebLocalizedString; 70 struct WebLocalizedString;
72 struct WebSize; 71 struct WebSize;
73 72
74 class Platform { 73 class Platform {
75 public: 74 public:
76 // HTML5 Database ------------------------------------------------------ 75 // HTML5 Database ------------------------------------------------------
77 typedef int FileHandle; 76 typedef int FileHandle;
78 77
79 BLINK_PLATFORM_EXPORT static void initialize(Platform*); 78 BLINK_PLATFORM_EXPORT static void initialize(Platform*);
80 BLINK_PLATFORM_EXPORT static void shutdown(); 79 BLINK_PLATFORM_EXPORT static void shutdown();
81 BLINK_PLATFORM_EXPORT static Platform* current(); 80 BLINK_PLATFORM_EXPORT static Platform* current();
82 81
83 // Must return non-null. 82 // Must return non-null.
84 virtual WebClipboard* clipboard() { return 0; } 83 virtual WebClipboard* clipboard() { return 0; }
85 84
86 // May return null if sandbox support is not necessary 85 // May return null if sandbox support is not necessary
87 virtual WebSandboxSupport* sandboxSupport() { return 0; } 86 virtual WebSandboxSupport* sandboxSupport() { return 0; }
88 87
89 // May return null on some platforms.
90 virtual WebThemeEngine* themeEngine() { return 0; }
91
92 virtual WebFallbackThemeEngine* fallbackThemeEngine() { return 0; }
93 88
94 // Blob ---------------------------------------------------------------- 89 // Blob ----------------------------------------------------------------
95 90
96 // Must return non-null. 91 // Must return non-null.
97 virtual WebBlobRegistry* blobRegistry() { return 0; } 92 virtual WebBlobRegistry* blobRegistry() { return 0; }
98 93
99 // Keygen -------------------------------------------------------------- 94 // Keygen --------------------------------------------------------------
100 95
101 // Handle the <keygen> tag for generating client certificates 96 // Handle the <keygen> tag for generating client certificates
102 // Returns a base64 encoded signed copy of a public key from a newly 97 // Returns a base64 encoded signed copy of a public key from a newly
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 // with |velocity| and already scrolled |cumulativeScroll| pixels. 366 // with |velocity| and already scrolled |cumulativeScroll| pixels.
372 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0 ; } 367 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0 ; }
373 368
374 protected: 369 protected:
375 virtual ~Platform() { } 370 virtual ~Platform() { }
376 }; 371 };
377 372
378 } // namespace blink 373 } // namespace blink
379 374
380 #endif 375 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/BUILD.gn ('k') | sky/engine/public/platform/WebThemeEngine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698