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

Side by Side Diff: third_party/WebKit/public/platform/Platform.h

Issue 2572323002: Delete WebGamepads::length. (Closed)
Patch Set: Rebase Created 3 years, 11 months 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
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 254 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 265
266 // Cache Storage ---------------------------------------------------------- 266 // Cache Storage ----------------------------------------------------------
267 267
268 // The caller is responsible for deleting the returned object. 268 // The caller is responsible for deleting the returned object.
269 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { 269 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) {
270 return nullptr; 270 return nullptr;
271 } 271 }
272 272
273 // Gamepad ------------------------------------------------------------- 273 // Gamepad -------------------------------------------------------------
274 274
275 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } 275 virtual void sampleGamepads(WebGamepads& into) {}
276 276
277 // History ------------------------------------------------------------- 277 // History -------------------------------------------------------------
278 278
279 // Returns the hash for the given canonicalized URL for use in visited 279 // Returns the hash for the given canonicalized URL for use in visited
280 // link coloring. 280 // link coloring.
281 virtual unsigned long long visitedLinkHash(const char* canonicalURL, 281 virtual unsigned long long visitedLinkHash(const char* canonicalURL,
282 size_t length) { 282 size_t length) {
283 return 0; 283 return 0;
284 } 284 }
285 285
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 protected: 671 protected:
672 Platform(); 672 Platform();
673 virtual ~Platform() {} 673 virtual ~Platform() {}
674 674
675 WebThread* m_mainThread; 675 WebThread* m_mainThread;
676 }; 676 };
677 677
678 } // namespace blink 678 } // namespace blink
679 679
680 #endif 680 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp ('k') | third_party/WebKit/public/platform/WebGamepad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698