Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 // 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 "webkit/tools/test_shell/test_webview_delegate.h" | 9 #include "webkit/tools/test_shell/test_webview_delegate.h" |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 54 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" | 54 #include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h" |
| 55 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h" | 55 #include "third_party/WebKit/Source/WebKit/chromium/public/WebWindowFeatures.h" |
| 56 #include "ui/gfx/native_widget_types.h" | 56 #include "ui/gfx/native_widget_types.h" |
| 57 #include "ui/gfx/point.h" | 57 #include "ui/gfx/point.h" |
| 58 #include "webkit/appcache/web_application_cache_host_impl.h" | 58 #include "webkit/appcache/web_application_cache_host_impl.h" |
| 59 #include "webkit/glue/glue_serialize.h" | 59 #include "webkit/glue/glue_serialize.h" |
| 60 #include "webkit/glue/webdropdata.h" | 60 #include "webkit/glue/webdropdata.h" |
| 61 #include "webkit/glue/webkit_glue.h" | 61 #include "webkit/glue/webkit_glue.h" |
| 62 #include "webkit/glue/webpreferences.h" | 62 #include "webkit/glue/webpreferences.h" |
| 63 #include "webkit/glue/weburlrequest_extradata_impl.h" | 63 #include "webkit/glue/weburlrequest_extradata_impl.h" |
| 64 #include "webkit/glue/weburlresponse_extradata_impl.h" | |
|
Ryan Sleevi
2012/02/17 05:37:08
You don't seem to be using this class in this file
ramant (doing other things)
2012/02/17 21:47:35
Done.
| |
| 64 #include "webkit/glue/window_open_disposition.h" | 65 #include "webkit/glue/window_open_disposition.h" |
| 65 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 66 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
| 66 #include "webkit/media/webmediaplayer_impl.h" | 67 #include "webkit/media/webmediaplayer_impl.h" |
| 67 #include "webkit/plugins/npapi/webplugin_impl.h" | 68 #include "webkit/plugins/npapi/webplugin_impl.h" |
| 68 #include "webkit/plugins/npapi/plugin_list.h" | 69 #include "webkit/plugins/npapi/plugin_list.h" |
| 69 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" | 70 #include "webkit/plugins/npapi/webplugin_delegate_impl.h" |
| 70 #include "webkit/tools/test_shell/mock_spellcheck.h" | 71 #include "webkit/tools/test_shell/mock_spellcheck.h" |
| 71 #include "webkit/tools/test_shell/notification_presenter.h" | 72 #include "webkit/tools/test_shell/notification_presenter.h" |
| 72 #include "webkit/tools/test_shell/simple_appcache_system.h" | 73 #include "webkit/tools/test_shell/simple_appcache_system.h" |
| 73 #include "webkit/tools/test_shell/simple_file_system.h" | 74 #include "webkit/tools/test_shell/simple_file_system.h" |
| (...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1144 } | 1145 } |
| 1145 | 1146 |
| 1146 void TestWebViewDelegate::set_fake_window_rect(const WebRect& rect) { | 1147 void TestWebViewDelegate::set_fake_window_rect(const WebRect& rect) { |
| 1147 fake_rect_ = rect; | 1148 fake_rect_ = rect; |
| 1148 using_fake_rect_ = true; | 1149 using_fake_rect_ = true; |
| 1149 } | 1150 } |
| 1150 | 1151 |
| 1151 WebRect TestWebViewDelegate::fake_window_rect() { | 1152 WebRect TestWebViewDelegate::fake_window_rect() { |
| 1152 return fake_rect_; | 1153 return fake_rect_; |
| 1153 } | 1154 } |
| OLD | NEW |