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

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

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/webworker_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 WebFrame* frame, 215 WebFrame* frame,
216 const WebKit::WebURLRequest& request, 216 const WebKit::WebURLRequest& request,
217 WebKit::WebNavigationType type, 217 WebKit::WebNavigationType type,
218 WindowOpenDisposition disposition, 218 WindowOpenDisposition disposition,
219 bool is_redirect); 219 bool is_redirect);
220 virtual void NavigateBackForwardSoon(int offset); 220 virtual void NavigateBackForwardSoon(int offset);
221 virtual int GetHistoryBackListCount(); 221 virtual int GetHistoryBackListCount();
222 virtual int GetHistoryForwardListCount(); 222 virtual int GetHistoryForwardListCount();
223 223
224 // WebWidgetDelegate 224 // WebWidgetDelegate
225 virtual gfx::NativeViewId GetContainingView(WebWidget* webwidget);
226 virtual void DidInvalidateRect(WebWidget* webwidget, 225 virtual void DidInvalidateRect(WebWidget* webwidget,
227 const WebKit::WebRect& rect); 226 const WebKit::WebRect& rect);
228 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, 227 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy,
229 const WebKit::WebRect& clip_rect); 228 const WebKit::WebRect& clip_rect);
230 virtual void Show(WebWidget* webview, WindowOpenDisposition disposition); 229 virtual void Show(WebWidget* webview, WindowOpenDisposition disposition);
231 virtual void ShowAsPopupWithItems(WebWidget* webwidget, 230 virtual void ShowAsPopupWithItems(WebWidget* webwidget,
232 const WebKit::WebRect& bounds, 231 const WebKit::WebRect& bounds,
233 int item_height, 232 int item_height,
234 int selected_index, 233 int selected_index,
235 const std::vector<WebMenuItem>& items); 234 const std::vector<WebMenuItem>& items);
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // cursor. 366 // cursor.
368 GdkCursorType cursor_type_; 367 GdkCursorType cursor_type_;
369 #endif 368 #endif
370 369
371 CapturedContextMenuEvents captured_context_menu_events_; 370 CapturedContextMenuEvents captured_context_menu_events_;
372 371
373 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 372 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
374 }; 373 };
375 374
376 #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/webworker_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698