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

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

Issue 279403006: Update WebFrameTestProxy and WebTestProxy to mostly follow Chrome style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MOCKWEBMIDIACCESSOR_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBMIDIACCESSOR_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBMIDIACCESSOR_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBMIDIACCESSOR_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/shell/renderer/test_runner/TestCommon.h" 9 #include "content/shell/renderer/test_runner/TestCommon.h"
10 #include "content/shell/renderer/test_runner/WebTask.h" 10 #include "content/shell/renderer/test_runner/WebTask.h"
(...skipping 13 matching lines...) Expand all
24 virtual ~MockWebMIDIAccessor(); 24 virtual ~MockWebMIDIAccessor();
25 25
26 // blink::WebMIDIAccessor implementation. 26 // blink::WebMIDIAccessor implementation.
27 virtual void startSession() OVERRIDE; 27 virtual void startSession() OVERRIDE;
28 virtual void sendMIDIData(unsigned portIndex, 28 virtual void sendMIDIData(unsigned portIndex,
29 const unsigned char* data, 29 const unsigned char* data,
30 size_t length, 30 size_t length,
31 double timestamp) OVERRIDE {} 31 double timestamp) OVERRIDE {}
32 32
33 // WebTask related methods 33 // WebTask related methods
34 WebTaskList* taskList() { return &m_taskList; } 34 WebTaskList* mutable_task_list() { return &m_taskList; }
35 35
36 private: 36 private:
37 blink::WebMIDIAccessorClient* m_client; 37 blink::WebMIDIAccessorClient* m_client;
38 WebTaskList m_taskList; 38 WebTaskList m_taskList;
39 TestInterfaces* m_interfaces; 39 TestInterfaces* m_interfaces;
40 40
41 DISALLOW_COPY_AND_ASSIGN(MockWebMIDIAccessor); 41 DISALLOW_COPY_AND_ASSIGN(MockWebMIDIAccessor);
42 }; 42 };
43 43
44 } // namespace content 44 } // namespace content
45 45
46 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBMIDIACCESSOR_H_ 46 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBMIDIACCESSOR_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/MockColorChooser.cpp ('k') | content/shell/renderer/test_runner/MockWebMediaStreamCenter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698