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

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

Issue 2775003: Added plumbing to transport the frame name between RenderViewHost and the Webkit layer. (Closed)
Patch Set: Final version for the record Created 10 years, 6 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 | « chrome/test/render_view_test.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 } 69 }
70 70
71 int node_type; 71 int node_type;
72 int x; 72 int x;
73 int y; 73 int y;
74 }; 74 };
75 75
76 typedef std::vector<CapturedContextMenuEvent> CapturedContextMenuEvents; 76 typedef std::vector<CapturedContextMenuEvent> CapturedContextMenuEvents;
77 77
78 // WebKit::WebViewClient 78 // WebKit::WebViewClient
79 // TODO(atwilson): Remove this API when we push related changes upstream
79 virtual WebKit::WebView* createView( 80 virtual WebKit::WebView* createView(
80 WebKit::WebFrame* creator, 81 WebKit::WebFrame* creator,
81 const WebKit::WebWindowFeatures& window_features); 82 const WebKit::WebWindowFeatures& window_features);
83 virtual WebKit::WebView* createView(
84 WebKit::WebFrame* creator,
85 const WebKit::WebWindowFeatures& features,
86 const WebKit::WebString& frame_name);
82 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); 87 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
83 virtual WebKit::WebWidget* createPopupMenu( 88 virtual WebKit::WebWidget* createPopupMenu(
84 const WebKit::WebPopupMenuInfo& info); 89 const WebKit::WebPopupMenuInfo& info);
85 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( 90 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
86 unsigned quota); 91 unsigned quota);
87 virtual void didAddMessageToConsole( 92 virtual void didAddMessageToConsole(
88 const WebKit::WebConsoleMessage& message, 93 const WebKit::WebConsoleMessage& message,
89 const WebKit::WebString& source_name, unsigned source_line); 94 const WebKit::WebString& source_name, unsigned source_line);
90 virtual void didStartLoading(); 95 virtual void didStartLoading();
91 virtual void didStopLoading(); 96 virtual void didStopLoading();
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 437
433 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 438 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
434 MockSpellCheck mock_spellcheck_; 439 MockSpellCheck mock_spellcheck_;
435 440
436 scoped_ptr<TestGeolocationService> test_geolocation_service_; 441 scoped_ptr<TestGeolocationService> test_geolocation_service_;
437 442
438 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 443 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
439 }; 444 };
440 445
441 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 446 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/test/render_view_test.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