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

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

Issue 293001: Delete glue/webview{_delegate}.h (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
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 // This file contains the implementation of TestWebViewDelegate, which serves 5 // This file contains the implementation of TestWebViewDelegate, which serves
6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to 6 // as the WebViewDelegate for the TestShellWebHost. The host is expected to
7 // have initialized a MessageLoop before these methods are called. 7 // have initialized a MessageLoop before these methods are called.
8 8
9 #include "config.h" 9 #include "config.h"
10 10
(...skipping 22 matching lines...) Expand all
33 #include "webkit/api/public/WebNode.h" 33 #include "webkit/api/public/WebNode.h"
34 #include "webkit/api/public/WebPoint.h" 34 #include "webkit/api/public/WebPoint.h"
35 #include "webkit/api/public/WebPopupMenu.h" 35 #include "webkit/api/public/WebPopupMenu.h"
36 #include "webkit/api/public/WebRange.h" 36 #include "webkit/api/public/WebRange.h"
37 #include "webkit/api/public/WebScreenInfo.h" 37 #include "webkit/api/public/WebScreenInfo.h"
38 #include "webkit/api/public/WebString.h" 38 #include "webkit/api/public/WebString.h"
39 #include "webkit/api/public/WebURL.h" 39 #include "webkit/api/public/WebURL.h"
40 #include "webkit/api/public/WebURLError.h" 40 #include "webkit/api/public/WebURLError.h"
41 #include "webkit/api/public/WebURLRequest.h" 41 #include "webkit/api/public/WebURLRequest.h"
42 #include "webkit/api/public/WebURLResponse.h" 42 #include "webkit/api/public/WebURLResponse.h"
43 #include "webkit/api/public/WebView.h"
43 #include "webkit/appcache/appcache_interfaces.h" 44 #include "webkit/appcache/appcache_interfaces.h"
44 #include "webkit/glue/glue_serialize.h" 45 #include "webkit/glue/glue_serialize.h"
45 #include "webkit/glue/glue_util.h" 46 #include "webkit/glue/glue_util.h"
46 #include "webkit/glue/media/buffered_data_source.h" 47 #include "webkit/glue/media/buffered_data_source.h"
47 #include "webkit/glue/media/media_resource_loader_bridge_factory.h" 48 #include "webkit/glue/media/media_resource_loader_bridge_factory.h"
48 #include "webkit/glue/media/simple_data_source.h" 49 #include "webkit/glue/media/simple_data_source.h"
49 #include "webkit/glue/webdropdata.h" 50 #include "webkit/glue/webdropdata.h"
50 #include "webkit/glue/webplugin_impl.h" 51 #include "webkit/glue/webplugin_impl.h"
51 #include "webkit/glue/webpreferences.h" 52 #include "webkit/glue/webpreferences.h"
52 #include "webkit/glue/webkit_glue.h" 53 #include "webkit/glue/webkit_glue.h"
53 #include "webkit/glue/webview.h"
54 #include "webkit/glue/plugins/plugin_list.h" 54 #include "webkit/glue/plugins/plugin_list.h"
55 #include "webkit/glue/plugins/webplugin_delegate_impl.h" 55 #include "webkit/glue/plugins/webplugin_delegate_impl.h"
56 #include "webkit/glue/webmediaplayer_impl.h" 56 #include "webkit/glue/webmediaplayer_impl.h"
57 #include "webkit/glue/window_open_disposition.h" 57 #include "webkit/glue/window_open_disposition.h"
58 #include "webkit/tools/test_shell/accessibility_controller.h" 58 #include "webkit/tools/test_shell/accessibility_controller.h"
59 #include "webkit/tools/test_shell/test_navigation_controller.h" 59 #include "webkit/tools/test_shell/test_navigation_controller.h"
60 #include "webkit/tools/test_shell/test_shell.h" 60 #include "webkit/tools/test_shell/test_shell.h"
61 #include "webkit/tools/test_shell/test_web_worker.h" 61 #include "webkit/tools/test_shell/test_web_worker.h"
62 62
63 #if defined(OS_WIN) 63 #if defined(OS_WIN)
(...skipping 30 matching lines...) Expand all
94 using WebKit::WebString; 94 using WebKit::WebString;
95 using WebKit::WebTextAffinity; 95 using WebKit::WebTextAffinity;
96 using WebKit::WebTextDirection; 96 using WebKit::WebTextDirection;
97 using WebKit::WebURL; 97 using WebKit::WebURL;
98 using WebKit::WebURLError; 98 using WebKit::WebURLError;
99 using WebKit::WebURLRequest; 99 using WebKit::WebURLRequest;
100 using WebKit::WebURLResponse; 100 using WebKit::WebURLResponse;
101 using WebKit::WebWidget; 101 using WebKit::WebWidget;
102 using WebKit::WebWorker; 102 using WebKit::WebWorker;
103 using WebKit::WebWorkerClient; 103 using WebKit::WebWorkerClient;
104 using WebKit::WebView;
104 105
105 using webkit_glue::AccessibilityObjectToWebAccessibilityObject; 106 using webkit_glue::AccessibilityObjectToWebAccessibilityObject;
106 107
107 namespace { 108 namespace {
108 109
109 // WebNavigationType debugging strings taken from PolicyDelegate.mm. 110 // WebNavigationType debugging strings taken from PolicyDelegate.mm.
110 const char* kLinkClickedString = "link clicked"; 111 const char* kLinkClickedString = "link clicked";
111 const char* kFormSubmittedString = "form submitted"; 112 const char* kFormSubmittedString = "form submitted";
112 const char* kBackForwardString = "back/forward"; 113 const char* kBackForwardString = "back/forward";
113 const char* kReloadString = "reload"; 114 const char* kReloadString = "reload";
(...skipping 998 matching lines...) Expand 10 before | Expand all | Expand 10 after
1112 } 1113 }
1113 1114
1114 void TestWebViewDelegate::set_fake_window_rect(const WebRect& rect) { 1115 void TestWebViewDelegate::set_fake_window_rect(const WebRect& rect) {
1115 fake_rect_ = rect; 1116 fake_rect_ = rect;
1116 using_fake_rect_ = true; 1117 using_fake_rect_ = true;
1117 } 1118 }
1118 1119
1119 WebRect TestWebViewDelegate::fake_window_rect() { 1120 WebRect TestWebViewDelegate::fake_window_rect() {
1120 return fake_rect_; 1121 return fake_rect_;
1121 } 1122 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/test_webview_delegate.h ('k') | webkit/tools/test_shell/test_webview_delegate_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698