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

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

Issue 776743002: Make v8 inspector not crash (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years 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/platform/graphics/Image.cpp ('k') | sky/engine/v8_inspector/BUILD.gn » ('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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « sky/engine/platform/graphics/Image.cpp ('k') | sky/engine/v8_inspector/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698