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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 155243: Remove WebWidgetDelegate::GetContainingView since it is not needed.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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 side-by-side diff with in-line comments
Download patch
Index: webkit/tools/test_shell/test_webview_delegate.cc
===================================================================
--- webkit/tools/test_shell/test_webview_delegate.cc (revision 20187)
+++ webkit/tools/test_shell/test_webview_delegate.cc (working copy)
@@ -744,15 +744,6 @@
// WebWidgetDelegate ---------------------------------------------------------
-gfx::NativeViewId TestWebViewDelegate::GetContainingView(WebWidget* webwidget) {
- // For test shell, we pack a NativeView pointer into the NativeViewId since
- // everything is single process.
- if (WebWidgetHost* host = GetHostForWidget(webwidget))
- return gfx::IdFromNativeView(host->view_handle());
-
- return NULL;
-}
-
void TestWebViewDelegate::DidInvalidateRect(WebWidget* webwidget,
const WebRect& rect) {
if (WebWidgetHost* host = GetHostForWidget(webwidget))
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate.h ('k') | webkit/tools/test_shell/test_webview_delegate_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698