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

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

Issue 9325082: Create window in a new BrowsingInstance when opening a link in a new process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix line break 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
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, 85 const WebKit::WebString& frame_name,
86 WebKit::WebNavigationPolicy policy); 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,
92 const WebKit::WebString& frame_name);
93 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); 87 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
94 virtual WebKit::WebWidget* createPopupMenu( 88 virtual WebKit::WebWidget* createPopupMenu(
95 const WebKit::WebPopupMenuInfo& info); 89 const WebKit::WebPopupMenuInfo& info);
96 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( 90 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
97 unsigned quota); 91 unsigned quota);
98 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D( 92 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(
99 const WebKit::WebGraphicsContext3D::Attributes& attributes, 93 const WebKit::WebGraphicsContext3D::Attributes& attributes,
100 bool direct); 94 bool direct);
101 virtual void didAddMessageToConsole( 95 virtual void didAddMessageToConsole(
102 const WebKit::WebConsoleMessage& message, 96 const WebKit::WebConsoleMessage& message,
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 std::string edit_command_name_; 439 std::string edit_command_name_;
446 std::string edit_command_value_; 440 std::string edit_command_value_;
447 441
448 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 442 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
449 MockSpellCheck mock_spellcheck_; 443 MockSpellCheck mock_spellcheck_;
450 444
451 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 445 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
452 }; 446 };
453 447
454 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 448 #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