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

Side by Side Diff: webkit/tools/test_shell/test_webview_delegate.h

Issue 10537091: add url as additional argument to createMediaPlayer. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 (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 // TestWebViewDelegate class: 5 // TestWebViewDelegate class:
6 // This class implements the WebViewDelegate methods for the test shell. One 6 // This class implements the WebViewDelegate methods for the test shell. One
7 // instance is owned by each TestShell. 7 // instance is owned by each TestShell.
8 8
9 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 9 #ifndef WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
10 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 10 #define WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 virtual WebKit::WebRect windowRect(); 159 virtual WebKit::WebRect windowRect();
160 virtual void setWindowRect(const WebKit::WebRect& rect); 160 virtual void setWindowRect(const WebKit::WebRect& rect);
161 virtual WebKit::WebRect rootWindowRect(); 161 virtual WebKit::WebRect rootWindowRect();
162 virtual WebKit::WebRect windowResizerRect(); 162 virtual WebKit::WebRect windowResizerRect();
163 virtual WebKit::WebScreenInfo screenInfo(); 163 virtual WebKit::WebScreenInfo screenInfo();
164 164
165 // WebKit::WebFrameClient 165 // WebKit::WebFrameClient
166 virtual WebKit::WebPlugin* createPlugin( 166 virtual WebKit::WebPlugin* createPlugin(
167 WebKit::WebFrame*, const WebKit::WebPluginParams&); 167 WebKit::WebFrame*, const WebKit::WebPluginParams&);
168 virtual WebKit::WebMediaPlayer* createMediaPlayer( 168 virtual WebKit::WebMediaPlayer* createMediaPlayer(
169 WebKit::WebFrame*, WebKit::WebMediaPlayerClient*, const WebKit::WebURL&);
170 virtual WebKit::WebMediaPlayer* createMediaPlayer(
169 WebKit::WebFrame*, WebKit::WebMediaPlayerClient*); 171 WebKit::WebFrame*, WebKit::WebMediaPlayerClient*);
170 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost( 172 virtual WebKit::WebApplicationCacheHost* createApplicationCacheHost(
171 WebKit::WebFrame*, WebKit::WebApplicationCacheHostClient*); 173 WebKit::WebFrame*, WebKit::WebApplicationCacheHostClient*);
172 virtual bool allowPlugins(WebKit::WebFrame* frame, bool enabled_per_settings); 174 virtual bool allowPlugins(WebKit::WebFrame* frame, bool enabled_per_settings);
173 virtual bool allowImage(WebKit::WebFrame* frame, 175 virtual bool allowImage(WebKit::WebFrame* frame,
174 bool enabled_per_settings, 176 bool enabled_per_settings,
175 const WebKit::WebURL& image_url); 177 const WebKit::WebURL& image_url);
176 virtual void loadURLExternally( 178 virtual void loadURLExternally(
177 WebKit::WebFrame*, const WebKit::WebURLRequest&, 179 WebKit::WebFrame*, const WebKit::WebURLRequest&,
178 WebKit::WebNavigationPolicy); 180 WebKit::WebNavigationPolicy);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 std::string edit_command_name_; 442 std::string edit_command_name_;
441 std::string edit_command_value_; 443 std::string edit_command_value_;
442 444
443 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 445 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
444 MockSpellCheck mock_spellcheck_; 446 MockSpellCheck mock_spellcheck_;
445 447
446 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 448 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
447 }; 449 };
448 450
449 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 451 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698