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

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

Issue 2572323002: Delete WebGamepads::length. (Closed)
Patch Set: Bring back active_state clearing in exo Created 4 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
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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 264
265 // Cache Storage ---------------------------------------------------------- 265 // Cache Storage ----------------------------------------------------------
266 266
267 // The caller is responsible for deleting the returned object. 267 // The caller is responsible for deleting the returned object.
268 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) { 268 virtual WebServiceWorkerCacheStorage* cacheStorage(const WebSecurityOrigin&) {
269 return nullptr; 269 return nullptr;
270 } 270 }
271 271
272 // Gamepad ------------------------------------------------------------- 272 // Gamepad -------------------------------------------------------------
273 273
274 virtual void sampleGamepads(WebGamepads& into) { into.length = 0; } 274 virtual void sampleGamepads(WebGamepads& into) {}
275 275
276 // History ------------------------------------------------------------- 276 // History -------------------------------------------------------------
277 277
278 // Returns the hash for the given canonicalized URL for use in visited 278 // Returns the hash for the given canonicalized URL for use in visited
279 // link coloring. 279 // link coloring.
280 virtual unsigned long long visitedLinkHash(const char* canonicalURL, 280 virtual unsigned long long visitedLinkHash(const char* canonicalURL,
281 size_t length) { 281 size_t length) {
282 return 0; 282 return 0;
283 } 283 }
284 284
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after
675 protected: 675 protected:
676 Platform(); 676 Platform();
677 virtual ~Platform() {} 677 virtual ~Platform() {}
678 678
679 WebThread* m_mainThread; 679 WebThread* m_mainThread;
680 }; 680 };
681 681
682 } // namespace blink 682 } // namespace blink
683 683
684 #endif 684 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698