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

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

Issue 9583026: Prepare for a change in contract to WebViewClient::createView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « content/renderer/render_view_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 int y; 75 int y;
76 }; 76 };
77 77
78 typedef std::vector<CapturedContextMenuEvent> CapturedContextMenuEvents; 78 typedef std::vector<CapturedContextMenuEvent> CapturedContextMenuEvents;
79 79
80 // WebKit::WebViewClient 80 // WebKit::WebViewClient
81 virtual WebKit::WebView* createView( 81 virtual WebKit::WebView* createView(
82 WebKit::WebFrame* creator, 82 WebKit::WebFrame* creator,
83 const WebKit::WebURLRequest& request, 83 const WebKit::WebURLRequest& request,
84 const WebKit::WebWindowFeatures& features, 84 const WebKit::WebWindowFeatures& features,
85 const WebKit::WebString& frame_name,
86 WebKit::WebNavigationPolicy policy);
87 // TODO(creis): Remove as part of http://crbug.com/69267.
88 virtual WebKit::WebView* createView(
89 WebKit::WebFrame* creator,
90 const WebKit::WebURLRequest& request,
91 const WebKit::WebWindowFeatures& features,
85 const WebKit::WebString& frame_name); 92 const WebKit::WebString& frame_name);
86 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); 93 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
87 virtual WebKit::WebWidget* createPopupMenu( 94 virtual WebKit::WebWidget* createPopupMenu(
88 const WebKit::WebPopupMenuInfo& info); 95 const WebKit::WebPopupMenuInfo& info);
89 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( 96 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
90 unsigned quota); 97 unsigned quota);
91 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D( 98 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(
92 const WebKit::WebGraphicsContext3D::Attributes& attributes, 99 const WebKit::WebGraphicsContext3D::Attributes& attributes,
93 bool direct); 100 bool direct);
94 virtual void didAddMessageToConsole( 101 virtual void didAddMessageToConsole(
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 std::string edit_command_name_; 445 std::string edit_command_name_;
439 std::string edit_command_value_; 446 std::string edit_command_value_;
440 447
441 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 448 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
442 MockSpellCheck mock_spellcheck_; 449 MockSpellCheck mock_spellcheck_;
443 450
444 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 451 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
445 }; 452 };
446 453
447 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 454 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_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