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

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

Issue 9254035: Implement WebViewClient::createGraphicsContext3D (and support for DRT) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix missing includes Created 8 years, 11 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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 virtual WebKit::WebView* createView( 82 virtual WebKit::WebView* createView(
83 WebKit::WebFrame* creator, 83 WebKit::WebFrame* creator,
84 const WebKit::WebURLRequest& request, 84 const WebKit::WebURLRequest& request,
85 const WebKit::WebWindowFeatures& features, 85 const WebKit::WebWindowFeatures& features,
86 const WebKit::WebString& frame_name); 86 const WebKit::WebString& frame_name);
87 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type); 87 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType popup_type);
88 virtual WebKit::WebWidget* createPopupMenu( 88 virtual WebKit::WebWidget* createPopupMenu(
89 const WebKit::WebPopupMenuInfo& info); 89 const WebKit::WebPopupMenuInfo& info);
90 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace( 90 virtual WebKit::WebStorageNamespace* createSessionStorageNamespace(
91 unsigned quota); 91 unsigned quota);
92 virtual WebKit::WebGraphicsContext3D* createGraphicsContext3D(
93 WebKit::WebGraphicsContext3D::Attributes attributes,
94 WebKit::WebView* web_view,
95 bool direct);
92 virtual void didAddMessageToConsole( 96 virtual void didAddMessageToConsole(
93 const WebKit::WebConsoleMessage& message, 97 const WebKit::WebConsoleMessage& message,
94 const WebKit::WebString& source_name, unsigned source_line); 98 const WebKit::WebString& source_name, unsigned source_line);
95 virtual void didStartLoading(); 99 virtual void didStartLoading();
96 virtual void didStopLoading(); 100 virtual void didStopLoading();
97 virtual bool shouldBeginEditing(const WebKit::WebRange& range); 101 virtual bool shouldBeginEditing(const WebKit::WebRange& range);
98 virtual bool shouldEndEditing(const WebKit::WebRange& range); 102 virtual bool shouldEndEditing(const WebKit::WebRange& range);
99 virtual bool shouldInsertNode( 103 virtual bool shouldInsertNode(
100 const WebKit::WebNode& node, const WebKit::WebRange& range, 104 const WebKit::WebNode& node, const WebKit::WebRange& range,
101 WebKit::WebEditingAction action); 105 WebKit::WebEditingAction action);
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 std::string edit_command_name_; 449 std::string edit_command_name_;
446 std::string edit_command_value_; 450 std::string edit_command_value_;
447 451
448 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). 452 // The mock spellchecker used in TestWebViewDelegate::spellCheck().
449 MockSpellCheck mock_spellcheck_; 453 MockSpellCheck mock_spellcheck_;
450 454
451 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); 455 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate);
452 }; 456 };
453 457
454 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ 458 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698