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

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

Issue 150034: linux: only create browser-side plugin container after plugin requests it (Closed)
Patch Set: fix chrome build Created 11 years, 5 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 | « webkit/glue/webview_delegate.h ('k') | webkit/tools/test_shell/test_webview_delegate_gtk.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 (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 bool user_gesture, 82 bool user_gesture,
83 const GURL& creator_url); 83 const GURL& creator_url);
84 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable); 84 virtual WebWidget* CreatePopupWidget(WebView* webview, bool activatable);
85 virtual WebPluginDelegate* CreatePluginDelegate( 85 virtual WebPluginDelegate* CreatePluginDelegate(
86 WebView* webview, 86 WebView* webview,
87 const GURL& url, 87 const GURL& url,
88 const std::string& mime_type, 88 const std::string& mime_type,
89 const std::string& clsid, 89 const std::string& clsid,
90 std::string* actual_mime_type); 90 std::string* actual_mime_type);
91 #if defined(OS_LINUX) 91 #if defined(OS_LINUX)
92 virtual gfx::PluginWindowHandle CreatePluginContainer();
92 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle); 93 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle);
93 #endif 94 #endif
94 virtual WebKit::WebMediaPlayer* CreateWebMediaPlayer( 95 virtual WebKit::WebMediaPlayer* CreateWebMediaPlayer(
95 WebKit::WebMediaPlayerClient* client); 96 WebKit::WebMediaPlayerClient* client);
96 virtual WebKit::WebWorker* CreateWebWorker(WebKit::WebWorkerClient* client); 97 virtual WebKit::WebWorker* CreateWebWorker(WebKit::WebWorkerClient* client);
97 virtual void OpenURL(WebView* webview, 98 virtual void OpenURL(WebView* webview,
98 const GURL& url, 99 const GURL& url,
99 const GURL& referrer, 100 const GURL& referrer,
100 WindowOpenDisposition disposition); 101 WindowOpenDisposition disposition);
101 virtual void RunJavaScriptAlert(WebFrame* webframe, 102 virtual void RunJavaScriptAlert(WebFrame* webframe,
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 // cursor. 367 // cursor.
367 GdkCursorType cursor_type_; 368 GdkCursorType cursor_type_;
368 #endif 369 #endif
369 370
370 CapturedContextMenuEvents captured_context_menu_events_; 371 CapturedContextMenuEvents captured_context_menu_events_;
371 372
372 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 373 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
373 }; 374 };
374 375
375 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 376 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/glue/webview_delegate.h ('k') | webkit/tools/test_shell/test_webview_delegate_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698