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

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

Issue 720713003: Remove WebScroll* (Closed) Base URL: https://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/WebCompositorAnimationCurve.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 WebMimeRegistry; 65 class WebMimeRegistry;
66 class WebSandboxSupport; 66 class WebSandboxSupport;
67 class WebScrollbarBehavior;
68 struct WebFloatPoint; 67 struct WebFloatPoint;
69 class WebThemeEngine; 68 class WebThemeEngine;
70 class WebURL; 69 class WebURL;
71 class WebURLLoader; 70 class WebURLLoader;
72 class WebUnitTestSupport; 71 class WebUnitTestSupport;
73 struct WebLocalizedString; 72 struct WebLocalizedString;
74 struct WebSize; 73 struct WebSize;
75 74
76 class Platform { 75 class Platform {
77 public: 76 public:
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // Returns a blob of data corresponding to the named resource. 192 // Returns a blob of data corresponding to the named resource.
194 virtual WebData loadResource(const char* name) { return WebData(); } 193 virtual WebData loadResource(const char* name) { return WebData(); }
195 194
196 195
197 // Screen ------------------------------------------------------------- 196 // Screen -------------------------------------------------------------
198 197
199 // Supplies the system monitor color profile. 198 // Supplies the system monitor color profile.
200 virtual void screenColorProfile(WebVector<char>* profile) { } 199 virtual void screenColorProfile(WebVector<char>* profile) { }
201 200
202 201
203 // Scrollbar ----------------------------------------------------------
204
205 // Must return non-null.
206 virtual WebScrollbarBehavior* scrollbarBehavior() { return 0; }
207
208
209 // Sudden Termination -------------------------------------------------- 202 // Sudden Termination --------------------------------------------------
210 203
211 // Disable/Enable sudden termination. 204 // Disable/Enable sudden termination.
212 virtual void suddenTerminationChanged(bool enabled) { } 205 virtual void suddenTerminationChanged(bool enabled) { }
213 206
214 207
215 // System -------------------------------------------------------------- 208 // System --------------------------------------------------------------
216 209
217 // Returns a value such as "en-US". 210 // Returns a value such as "en-US".
218 virtual WebString defaultLocale() { return WebString(); } 211 virtual WebString defaultLocale() { return WebString(); }
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 // with |velocity| and already scrolled |cumulativeScroll| pixels. 375 // with |velocity| and already scrolled |cumulativeScroll| pixels.
383 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0 ; } 376 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0 ; }
384 377
385 protected: 378 protected:
386 virtual ~Platform() { } 379 virtual ~Platform() { }
387 }; 380 };
388 381
389 } // namespace blink 382 } // namespace blink
390 383
391 #endif 384 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/BUILD.gn ('k') | sky/engine/public/platform/WebCompositorAnimationCurve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698