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

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

Issue 147251: linux: cleanup browser-side GtkSockets when plugins are destroyed (Closed)
Patch Set: fixed 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 virtual WebView* CreateWebView(WebView* webview, 81 virtual WebView* CreateWebView(WebView* webview,
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)
92 virtual void WillDestroyPluginWindow(gfx::PluginWindowHandle handle);
93 #endif
91 virtual WebKit::WebMediaPlayer* CreateWebMediaPlayer( 94 virtual WebKit::WebMediaPlayer* CreateWebMediaPlayer(
92 WebKit::WebMediaPlayerClient* client); 95 WebKit::WebMediaPlayerClient* client);
93 virtual WebKit::WebWorker* CreateWebWorker(WebKit::WebWorkerClient* client); 96 virtual WebKit::WebWorker* CreateWebWorker(WebKit::WebWorkerClient* client);
94 virtual void OpenURL(WebView* webview, 97 virtual void OpenURL(WebView* webview,
95 const GURL& url, 98 const GURL& url,
96 const GURL& referrer, 99 const GURL& referrer,
97 WindowOpenDisposition disposition); 100 WindowOpenDisposition disposition);
98 virtual void RunJavaScriptAlert(WebFrame* webframe, 101 virtual void RunJavaScriptAlert(WebFrame* webframe,
99 const std::wstring& message); 102 const std::wstring& message);
100 virtual bool RunJavaScriptConfirm(WebFrame* webframe, 103 virtual bool RunJavaScriptConfirm(WebFrame* webframe,
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 // cursor. 366 // cursor.
364 GdkCursorType cursor_type_; 367 GdkCursorType cursor_type_;
365 #endif 368 #endif
366 369
367 CapturedContextMenuEvents captured_context_menu_events_; 370 CapturedContextMenuEvents captured_context_menu_events_;
368 371
369 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 372 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
370 }; 373 };
371 374
372 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 375 #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