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

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

Issue 212733002: Remove HAVE_WEBUNITTESTSUPPORT. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
« no previous file with comments | « no previous file | no next file » | 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 // Starts a vibration for the given duration in milliseconds. If there is cu rrently an active 437 // Starts a vibration for the given duration in milliseconds. If there is cu rrently an active
438 // vibration it will be cancelled before the new one is started. 438 // vibration it will be cancelled before the new one is started.
439 virtual void vibrate(unsigned time) { } 439 virtual void vibrate(unsigned time) { }
440 440
441 // Cancels the current vibration, if there is one. 441 // Cancels the current vibration, if there is one.
442 virtual void cancelVibration() { } 442 virtual void cancelVibration() { }
443 443
444 444
445 // Testing ------------------------------------------------------------- 445 // Testing -------------------------------------------------------------
446 446
447 #define HAVE_WEBUNITTESTSUPPORT 1
448 // Get a pointer to testing support interfaces. Will not be available in pro duction builds. 447 // Get a pointer to testing support interfaces. Will not be available in pro duction builds.
449 virtual WebUnitTestSupport* unitTestSupport() { return 0; } 448 virtual WebUnitTestSupport* unitTestSupport() { return 0; }
450 449
451 450
452 // Tracing ------------------------------------------------------------- 451 // Tracing -------------------------------------------------------------
453 452
454 // Get a pointer to the enabled state of the given trace category. The 453 // Get a pointer to the enabled state of the given trace category. The
455 // embedder can dynamically change the enabled state as trace event 454 // embedder can dynamically change the enabled state as trace event
456 // recording is started and stopped by the application. Only long-lived 455 // recording is started and stopped by the application. Only long-lived
457 // literal strings should be given as the category name. The implementation 456 // literal strings should be given as the category name. The implementation
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 virtual WebDatabaseObserver* databaseObserver() { return 0; } 632 virtual WebDatabaseObserver* databaseObserver() { return 0; }
634 633
635 634
636 protected: 635 protected:
637 virtual ~Platform() { } 636 virtual ~Platform() { }
638 }; 637 };
639 638
640 } // namespace blink 639 } // namespace blink
641 640
642 #endif 641 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698