| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_ |
| 11 | 11 |
| 12 #include <map> | 12 #include <map> |
| 13 #include <set> | 13 #include <set> |
| 14 #include <string> | 14 #include <string> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
| 18 #include "base/memory/scoped_ptr.h" | 18 #include "base/memory/scoped_ptr.h" |
| 19 #include "base/memory/weak_ptr.h" | 19 #include "base/memory/weak_ptr.h" |
| 20 #include "build/build_config.h" | 20 #include "build/build_config.h" |
| 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" | 21 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" |
| 22 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFileSystem.h" | 22 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSyste
m.h" |
| 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" | 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrameClient.h" |
| 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" | 24 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" |
| 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
| 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h" |
| 27 #include "webkit/glue/webcursor.h" | 27 #include "webkit/glue/webcursor.h" |
| 28 #include "webkit/plugins/npapi/webplugin_page_delegate.h" | 28 #include "webkit/plugins/npapi/webplugin_page_delegate.h" |
| 29 #include "webkit/tools/test_shell/mock_spellcheck.h" | 29 #include "webkit/tools/test_shell/mock_spellcheck.h" |
| 30 #include "webkit/tools/test_shell/test_navigation_controller.h" | 30 #include "webkit/tools/test_shell/test_navigation_controller.h" |
| 31 | 31 |
| 32 #if defined(OS_MACOSX) | 32 #if defined(OS_MACOSX) |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" |
| 34 #endif | 34 #endif |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 std::string edit_command_name_; | 444 std::string edit_command_name_; |
| 445 std::string edit_command_value_; | 445 std::string edit_command_value_; |
| 446 | 446 |
| 447 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). | 447 // The mock spellchecker used in TestWebViewDelegate::spellCheck(). |
| 448 MockSpellCheck mock_spellcheck_; | 448 MockSpellCheck mock_spellcheck_; |
| 449 | 449 |
| 450 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 450 DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); |
| 451 }; | 451 }; |
| 452 | 452 |
| 453 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 453 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ |
| OLD | NEW |