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

Side by Side Diff: content/shell/renderer/test_runner/test_runner.h

Issue 1100673004: Remove references to WebMidiClientMock from content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 5 years, 8 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 | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 const std::string& value, 540 const std::string& value,
541 const GURL& origin, 541 const GURL& origin,
542 const GURL& embedding_origin); 542 const GURL& embedding_origin);
543 543
544 // Calls setlocale(LC_ALL, ...) for a specified locale. 544 // Calls setlocale(LC_ALL, ...) for a specified locale.
545 // Resets between tests. 545 // Resets between tests.
546 void SetPOSIXLocale(const std::string& locale); 546 void SetPOSIXLocale(const std::string& locale);
547 547
548 // MIDI function to control permission handling. 548 // MIDI function to control permission handling.
549 void SetMIDIAccessorResult(bool result); 549 void SetMIDIAccessorResult(bool result);
550 void SetMIDISysexPermission(bool value);
551 550
552 // Grants permission for desktop notifications to an origin 551 // Grants permission for desktop notifications to an origin
553 void GrantWebNotificationPermission(const GURL& origin, 552 void GrantWebNotificationPermission(const GURL& origin,
554 bool permission_granted); 553 bool permission_granted);
555 554
556 // Clears all previously granted Web Notification permissions. 555 // Clears all previously granted Web Notification permissions.
557 void ClearWebNotificationPermissions(); 556 void ClearWebNotificationPermissions();
558 557
559 // Simulates a click on a Web Notification. 558 // Simulates a click on a Web Notification.
560 void SimulateWebNotificationClick(const std::string& title); 559 void SimulateWebNotificationClick(const std::string& title);
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 bool use_mock_theme_; 809 bool use_mock_theme_;
811 810
812 base::WeakPtrFactory<TestRunner> weak_factory_; 811 base::WeakPtrFactory<TestRunner> weak_factory_;
813 812
814 DISALLOW_COPY_AND_ASSIGN(TestRunner); 813 DISALLOW_COPY_AND_ASSIGN(TestRunner);
815 }; 814 };
816 815
817 } // namespace content 816 } // namespace content
818 817
819 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_ 818 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_TEST_RUNNER_H_
OLDNEW
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698