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

Side by Side Diff: components/html_viewer/web_test_delegate_impl.h

Issue 1543673002: MediaRecorder: make MediaRecorderHandler a MediaStreamObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added content_browsertests for Error Event firing when Track added/removed to MS Created 4 years, 11 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 | components/html_viewer/web_test_delegate_impl.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 6 #define COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "components/test_runner/test_preferences.h" 10 #include "components/test_runner/test_preferences.h"
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 const std::string& data)>& callback) override; 107 const std::string& data)>& callback) override;
108 void SetPermission(const std::string& permission_name, 108 void SetPermission(const std::string& permission_name,
109 const std::string& permission_value, 109 const std::string& permission_value,
110 const GURL& origin, 110 const GURL& origin,
111 const GURL& embedding_origin) override; 111 const GURL& embedding_origin) override;
112 void ResetPermissions() override; 112 void ResetPermissions() override;
113 bool AddMediaStreamVideoSourceAndTrack( 113 bool AddMediaStreamVideoSourceAndTrack(
114 blink::WebMediaStream* stream) override; 114 blink::WebMediaStream* stream) override;
115 bool AddMediaStreamAudioSourceAndTrack( 115 bool AddMediaStreamAudioSourceAndTrack(
116 blink::WebMediaStream* stream) override; 116 blink::WebMediaStream* stream) override;
117 void AddMediaStream(blink::WebMediaStream* stream) override;
117 cc::SharedBitmapManager* GetSharedBitmapManager() override; 118 cc::SharedBitmapManager* GetSharedBitmapManager() override;
118 void DispatchBeforeInstallPromptEvent( 119 void DispatchBeforeInstallPromptEvent(
119 int request_id, 120 int request_id,
120 const std::vector<std::string>& event_platforms, 121 const std::vector<std::string>& event_platforms,
121 const base::Callback<void(bool)>& callback) override; 122 const base::Callback<void(bool)>& callback) override;
122 void ResolveBeforeInstallPromptPromise(int request_id, 123 void ResolveBeforeInstallPromptPromise(int request_id,
123 const std::string& platform) override; 124 const std::string& platform) override;
124 blink::WebPlugin* CreatePluginPlaceholder( 125 blink::WebPlugin* CreatePluginPlaceholder(
125 blink::WebLocalFrame* frame, 126 blink::WebLocalFrame* frame,
126 const blink::WebPluginParams& params) override; 127 const blink::WebPluginParams& params) override;
127 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* base) override; 128 void OnWebTestProxyBaseDestroy(test_runner::WebTestProxyBase* base) override;
128 129
129 // Must not be constructed until after blink has been initialized. 130 // Must not be constructed until after blink has been initialized.
130 scoped_ptr<test_runner::TestPreferences> prefs_; 131 scoped_ptr<test_runner::TestPreferences> prefs_;
131 test_runner::WebTestInterfaces* test_interfaces_; 132 test_runner::WebTestInterfaces* test_interfaces_;
132 test_runner::WebTestProxyBase* proxy_; 133 test_runner::WebTestProxyBase* proxy_;
133 base::Closure completion_callback_; 134 base::Closure completion_callback_;
134 135
135 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl); 136 DISALLOW_COPY_AND_ASSIGN(WebTestDelegateImpl);
136 }; 137 };
137 138
138 } // namespace html_viewer 139 } // namespace html_viewer
139 140
140 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_ 141 #endif // COMPONENTS_HTML_VIEWER_WEB_TEST_DELEGATE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | components/html_viewer/web_test_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698