| OLD | NEW |
| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We
bString(); } | 170 virtual WebString queryLocalizedString(WebLocalizedString::Name) { return We
bString(); } |
| 171 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter) { return WebString(); } | 171 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter) { return WebString(); } |
| 172 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter1, const WebString& parameter2) { return WebString(); } | 172 virtual WebString queryLocalizedString(WebLocalizedString::Name, const WebSt
ring& parameter1, const WebString& parameter2) { return WebString(); } |
| 173 | 173 |
| 174 | 174 |
| 175 // Profiling ----------------------------------------------------------- | 175 // Profiling ----------------------------------------------------------- |
| 176 | 176 |
| 177 virtual void decrementStatsCounter(const char* name) { } | 177 virtual void decrementStatsCounter(const char* name) { } |
| 178 virtual void incrementStatsCounter(const char* name) { } | 178 virtual void incrementStatsCounter(const char* name) { } |
| 179 | 179 |
| 180 | |
| 181 // Resources ----------------------------------------------------------- | |
| 182 | |
| 183 // Returns a blob of data corresponding to the named resource. | |
| 184 virtual WebData loadResource(const char* name) { return WebData(); } | |
| 185 | |
| 186 | |
| 187 // Screen ------------------------------------------------------------- | 180 // Screen ------------------------------------------------------------- |
| 188 | 181 |
| 189 // Supplies the system monitor color profile. | 182 // Supplies the system monitor color profile. |
| 190 virtual void screenColorProfile(WebVector<char>* profile) { } | 183 virtual void screenColorProfile(WebVector<char>* profile) { } |
| 191 | 184 |
| 192 | 185 |
| 193 // Sudden Termination -------------------------------------------------- | 186 // Sudden Termination -------------------------------------------------- |
| 194 | 187 |
| 195 // Disable/Enable sudden termination. | 188 // Disable/Enable sudden termination. |
| 196 virtual void suddenTerminationChanged(bool enabled) { } | 189 virtual void suddenTerminationChanged(bool enabled) { } |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 // with |velocity| and already scrolled |cumulativeScroll| pixels. | 359 // with |velocity| and already scrolled |cumulativeScroll| pixels. |
| 367 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo
urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0
; } | 360 virtual WebGestureCurve* createFlingAnimationCurve(WebGestureDevice deviceSo
urce, const WebFloatPoint& velocity, const WebSize& cumulativeScroll) { return 0
; } |
| 368 | 361 |
| 369 protected: | 362 protected: |
| 370 virtual ~Platform() { } | 363 virtual ~Platform() { } |
| 371 }; | 364 }; |
| 372 | 365 |
| 373 } // namespace blink | 366 } // namespace blink |
| 374 | 367 |
| 375 #endif // SKY_ENGINE_PUBLIC_PLATFORM_PLATFORM_H_ | 368 #endif // SKY_ENGINE_PUBLIC_PLATFORM_PLATFORM_H_ |
| OLD | NEW |