| OLD | NEW | 
|---|
| 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 // 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 "build/build_config.h" | 12 #include "build/build_config.h" | 
| 13 | 13 | 
| 14 #if defined(OS_WIN) | 14 #if defined(OS_WIN) | 
| 15 #include <windows.h> | 15 #include <windows.h> | 
| 16 #endif | 16 #endif | 
| 17 | 17 | 
| 18 #include <map> | 18 #include <map> | 
| 19 | 19 | 
| 20 #if defined(OS_LINUX) | 20 #if defined(OS_LINUX) | 
| 21 #include <gdk/gdkcursor.h> | 21 #include <gdk/gdkcursor.h> | 
| 22 #endif | 22 #endif | 
| 23 | 23 | 
| 24 #include "base/basictypes.h" | 24 #include "base/basictypes.h" | 
| 25 #include "base/scoped_ptr.h" | 25 #include "base/scoped_ptr.h" | 
| 26 #include "base/weak_ptr.h" | 26 #include "base/weak_ptr.h" | 
| 27 #include "webkit/api/public/WebContextMenuData.h" | 27 #include "third_party/WebKit/WebKit/chromium/public/WebContextMenuData.h" | 
| 28 #include "webkit/api/public/WebFrameClient.h" | 28 #include "third_party/WebKit/WebKit/chromium/public/WebFrameClient.h" | 
| 29 #include "webkit/api/public/WebRect.h" | 29 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" | 
| 30 #if defined(OS_MACOSX) | 30 #if defined(OS_MACOSX) | 
| 31 #include "webkit/api/public/WebPopupMenuInfo.h" | 31 #include "third_party/WebKit/WebKit/chromium/public/WebPopupMenuInfo.h" | 
| 32 #endif | 32 #endif | 
| 33 #include "webkit/api/public/WebViewClient.h" | 33 #include "third_party/WebKit/WebKit/chromium/public/WebViewClient.h" | 
| 34 #include "webkit/glue/webcursor.h" | 34 #include "webkit/glue/webcursor.h" | 
| 35 #include "webkit/glue/webplugin_page_delegate.h" | 35 #include "webkit/glue/webplugin_page_delegate.h" | 
| 36 #if defined(OS_WIN) | 36 #if defined(OS_WIN) | 
| 37 #include "webkit/tools/test_shell/drag_delegate.h" | 37 #include "webkit/tools/test_shell/drag_delegate.h" | 
| 38 #include "webkit/tools/test_shell/drop_delegate.h" | 38 #include "webkit/tools/test_shell/drop_delegate.h" | 
| 39 #endif | 39 #endif | 
| 40 #include "webkit/tools/test_shell/test_navigation_controller.h" | 40 #include "webkit/tools/test_shell/test_navigation_controller.h" | 
| 41 | 41 | 
| 42 struct WebPreferences; | 42 struct WebPreferences; | 
| 43 class GURL; | 43 class GURL; | 
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 358   // true if we want to enable selection of trailing whitespaces | 358   // true if we want to enable selection of trailing whitespaces | 
| 359   bool select_trailing_whitespace_enabled_; | 359   bool select_trailing_whitespace_enabled_; | 
| 360 | 360 | 
| 361   // true if we should block any redirects | 361   // true if we should block any redirects | 
| 362   bool block_redirects_; | 362   bool block_redirects_; | 
| 363 | 363 | 
| 364   DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 364   DISALLOW_COPY_AND_ASSIGN(TestWebViewDelegate); | 
| 365 }; | 365 }; | 
| 366 | 366 | 
| 367 #endif  // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 367 #endif  // WEBKIT_TOOLS_TEST_SHELL_TEST_WEBVIEW_DELEGATE_H_ | 
| OLD | NEW | 
|---|