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

Side by Side Diff: content/shell/renderer/layout_test/blink_test_runner.h

Issue 1407083006: Update MediaRecorderHandler to use AudioTrackRecorder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add layout tests Created 5 years, 1 month 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 6 #define CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "components/test_runner/test_preferences.h" 14 #include "components/test_runner/test_preferences.h"
15 #include "components/test_runner/web_test_delegate.h" 15 #include "components/test_runner/web_test_delegate.h"
16 #include "content/public/common/page_state.h" 16 #include "content/public/common/page_state.h"
17 #include "content/public/renderer/render_view_observer.h" 17 #include "content/public/renderer/render_view_observer.h"
18 #include "content/public/renderer/render_view_observer_tracker.h" 18 #include "content/public/renderer/render_view_observer_tracker.h"
19 #include "content/shell/common/shell_test_configuration.h" 19 #include "content/shell/common/shell_test_configuration.h"
20
20 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h" 21 #include "third_party/WebKit/public/platform/modules/screen_orientation/WebScree nOrientationType.h"
21 #include "v8/include/v8.h" 22 #include "v8/include/v8.h"
22 23
23 class SkBitmap; 24 class SkBitmap;
24 class SkCanvas; 25 class SkCanvas;
25 26
26 namespace blink { 27 namespace blink {
27 class WebBatteryStatus; 28 class WebBatteryStatus;
28 class WebDeviceMotionData; 29 class WebDeviceMotionData;
29 class WebDeviceOrientationData; 30 class WebDeviceOrientationData;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 void FetchManifest( 127 void FetchManifest(
127 blink::WebView* view, 128 blink::WebView* view,
128 const GURL& url, 129 const GURL& url,
129 const base::Callback<void(const blink::WebURLResponse& response, 130 const base::Callback<void(const blink::WebURLResponse& response,
130 const std::string& data)>& callback) override; 131 const std::string& data)>& callback) override;
131 void SetPermission(const std::string& name, 132 void SetPermission(const std::string& name,
132 const std::string& value, 133 const std::string& value,
133 const GURL& origin, 134 const GURL& origin,
134 const GURL& embedding_origin) override; 135 const GURL& embedding_origin) override;
135 void ResetPermissions() override; 136 void ResetPermissions() override;
136 bool AddMediaStreamSourceAndTrack(blink::WebMediaStream* stream) override; 137 bool AddMediaStreamVideoSourceAndTrack(
138 blink::WebMediaStream* stream) override;
139 bool AddMediaStreamAudioSourceAndTrack(
140 blink::WebMediaStream* stream) override;
137 cc::SharedBitmapManager* GetSharedBitmapManager() override; 141 cc::SharedBitmapManager* GetSharedBitmapManager() override;
138 void DispatchBeforeInstallPromptEvent( 142 void DispatchBeforeInstallPromptEvent(
139 int request_id, 143 int request_id,
140 const std::vector<std::string>& event_platforms, 144 const std::vector<std::string>& event_platforms,
141 const base::Callback<void(bool)>& callback) override; 145 const base::Callback<void(bool)>& callback) override;
142 void ResolveBeforeInstallPromptPromise( 146 void ResolveBeforeInstallPromptPromise(
143 int request_id, 147 int request_id,
144 const std::string& platform) override; 148 const std::string& platform) override;
145 blink::WebPlugin* CreatePluginPlaceholder( 149 blink::WebPlugin* CreatePluginPlaceholder(
146 blink::WebLocalFrame* frame, 150 blink::WebLocalFrame* frame,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 198
195 scoped_ptr<LeakDetector> leak_detector_; 199 scoped_ptr<LeakDetector> leak_detector_;
196 bool needs_leak_detector_; 200 bool needs_leak_detector_;
197 201
198 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner); 202 DISALLOW_COPY_AND_ASSIGN(BlinkTestRunner);
199 }; 203 };
200 204
201 } // namespace content 205 } // namespace content
202 206
203 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_ 207 #endif // CONTENT_SHELL_RENDERER_LAYOUT_TEST_BLINK_TEST_RUNNER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698