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

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

Issue 287009: Move WebDevToolsAgent{Delegate} into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/tools/test_shell/test_shell_mac.mm ('k') | webkit/webkit.gyp » ('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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 virtual bool acceptsLoadDrops() { return true; } 135 virtual bool acceptsLoadDrops() { return true; }
136 virtual void focusNext() {} 136 virtual void focusNext() {}
137 virtual void focusPrevious() {} 137 virtual void focusPrevious() {}
138 virtual void navigateBackForwardSoon(int offset); 138 virtual void navigateBackForwardSoon(int offset);
139 virtual int historyBackListCount(); 139 virtual int historyBackListCount();
140 virtual int historyForwardListCount(); 140 virtual int historyForwardListCount();
141 virtual void didAddHistoryItem() {} 141 virtual void didAddHistoryItem() {}
142 virtual void focusAccessibilityObject( 142 virtual void focusAccessibilityObject(
143 const WebKit::WebAccessibilityObject& object); 143 const WebKit::WebAccessibilityObject& object);
144 virtual void didUpdateInspectorSettings() {} 144 virtual void didUpdateInspectorSettings() {}
145 virtual WebKit::WebDevToolsAgentClient* devToolsAgentClient() {
146 return NULL;
147 }
145 virtual void queryAutofillSuggestions( 148 virtual void queryAutofillSuggestions(
146 const WebKit::WebNode&, const WebKit::WebString& name, 149 const WebKit::WebNode&, const WebKit::WebString& name,
147 const WebKit::WebString& value) {} 150 const WebKit::WebString& value) {}
148 virtual void removeAutofillSuggestions( 151 virtual void removeAutofillSuggestions(
149 const WebKit::WebString& name, const WebKit::WebString& value) {} 152 const WebKit::WebString& name, const WebKit::WebString& value) {}
150 153
151 // WebKit::WebWidgetClient 154 // WebKit::WebWidgetClient
152 virtual void didInvalidateRect(const WebKit::WebRect& rect); 155 virtual void didInvalidateRect(const WebKit::WebRect& rect);
153 virtual void didScrollRect(int dx, int dy, 156 virtual void didScrollRect(int dx, int dy,
154 const WebKit::WebRect& clip_rect); 157 const WebKit::WebRect& clip_rect);
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // true if we want to enable selection of trailing whitespaces 407 // true if we want to enable selection of trailing whitespaces
405 bool select_trailing_whitespace_enabled_; 408 bool select_trailing_whitespace_enabled_;
406 409
407 // true if we should block any redirects 410 // true if we should block any redirects
408 bool block_redirects_; 411 bool block_redirects_;
409 412
410 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 413 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
411 }; 414 };
412 415
413 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 416 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_shell_mac.mm ('k') | webkit/webkit.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698