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

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

Issue 18768: POSIX: gfx::NativeViewId and CrossProcessEvent (Closed)
Patch Set: Addressing Brett's comments Created 11 years, 10 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/tools/test_shell/test_shell.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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 const WebRequest* request, 198 const WebRequest* request,
199 WebNavigationType type, 199 WebNavigationType type,
200 WindowOpenDisposition disposition, 200 WindowOpenDisposition disposition,
201 bool is_redirect); 201 bool is_redirect);
202 void SetCustomPolicyDelegate(bool isCustom); 202 void SetCustomPolicyDelegate(bool isCustom);
203 virtual WebHistoryItem* GetHistoryEntryAtOffset(int offset); 203 virtual WebHistoryItem* GetHistoryEntryAtOffset(int offset);
204 virtual int GetHistoryBackListCount(); 204 virtual int GetHistoryBackListCount();
205 virtual int GetHistoryForwardListCount(); 205 virtual int GetHistoryForwardListCount();
206 206
207 // WebWidgetDelegate 207 // WebWidgetDelegate
208 virtual gfx::NativeView GetContainingView(WebWidget* webwidget); 208 virtual gfx::NativeViewId GetContainingView(WebWidget* webwidget);
209 virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect); 209 virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect);
210 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy, 210 virtual void DidScrollRect(WebWidget* webwidget, int dx, int dy,
211 const gfx::Rect& clip_rect); 211 const gfx::Rect& clip_rect);
212 virtual void Show(WebWidget* webview, WindowOpenDisposition disposition); 212 virtual void Show(WebWidget* webview, WindowOpenDisposition disposition);
213 virtual void CloseWidgetSoon(WebWidget* webwidget); 213 virtual void CloseWidgetSoon(WebWidget* webwidget);
214 virtual void Focus(WebWidget* webwidget); 214 virtual void Focus(WebWidget* webwidget);
215 virtual void Blur(WebWidget* webwidget); 215 virtual void Blur(WebWidget* webwidget);
216 virtual void SetCursor(WebWidget* webwidget, 216 virtual void SetCursor(WebWidget* webwidget,
217 const WebCursor& cursor); 217 const WebCursor& cursor);
218 virtual void GetWindowRect(WebWidget* webwidget, gfx::Rect* rect); 218 virtual void GetWindowRect(WebWidget* webwidget, gfx::Rect* rect);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 // cursor. 322 // cursor.
323 GdkCursorType cursor_type_; 323 GdkCursorType cursor_type_;
324 #endif 324 #endif
325 325
326 CapturedContextMenuEvents captured_context_menu_events_; 326 CapturedContextMenuEvents captured_context_menu_events_;
327 327
328 DISALLOW_EVIL_CONSTRUCTORS(TestWebViewDelegate); 328 DISALLOW_EVIL_CONSTRUCTORS(TestWebViewDelegate);
329 }; 329 };
330 330
331 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 331 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell.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