| 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 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ | 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_ |
| 6 #define CHROME_RENDERER_RENDER_VIEW_H_ | 6 #define CHROME_RENDERER_RENDER_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| 11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 12 #include "base/scoped_handle.h" | |
| 13 #include "base/gfx/point.h" | 12 #include "base/gfx/point.h" |
| 14 #include "base/gfx/rect.h" | 13 #include "base/gfx/rect.h" |
| 15 #include "base/timer.h" | 14 #include "base/timer.h" |
| 16 #include "base/values.h" | 15 #include "base/values.h" |
| 17 #include "build/build_config.h" | 16 #include "build/build_config.h" |
| 18 #include "chrome/common/page_zoom.h" | |
| 19 #include "chrome/common/resource_dispatcher.h" | 17 #include "chrome/common/resource_dispatcher.h" |
| 20 #ifdef CHROME_PERSONALIZATION | 18 #ifdef CHROME_PERSONALIZATION |
| 21 #include "chrome/personalization/personalization.h" | 19 #include "chrome/personalization/personalization.h" |
| 22 #endif | 20 #endif |
| 23 #include "chrome/renderer/automation/dom_automation_controller.h" | 21 #include "chrome/renderer/automation/dom_automation_controller.h" |
| 24 #include "chrome/renderer/dom_ui_bindings.h" | 22 #include "chrome/renderer/dom_ui_bindings.h" |
| 25 #include "chrome/renderer/external_host_bindings.h" | 23 #include "chrome/renderer/external_host_bindings.h" |
| 26 #include "chrome/renderer/external_js_object.h" | 24 #include "chrome/renderer/external_js_object.h" |
| 27 #include "chrome/renderer/render_process.h" | |
| 28 #include "chrome/renderer/render_widget.h" | 25 #include "chrome/renderer/render_widget.h" |
| 29 #include "testing/gtest/include/gtest/gtest_prod.h" | 26 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 30 #include "webkit/glue/console_message_level.h" | 27 #include "webkit/glue/console_message_level.h" |
| 31 #include "webkit/glue/dom_serializer_delegate.h" | 28 #include "webkit/glue/dom_serializer_delegate.h" |
| 32 #include "webkit/glue/find_in_page_request.h" | |
| 33 #include "webkit/glue/form_data.h" | 29 #include "webkit/glue/form_data.h" |
| 34 #include "webkit/glue/glue_accessibility.h" | |
| 35 #include "webkit/glue/password_form_dom_manager.h" | 30 #include "webkit/glue/password_form_dom_manager.h" |
| 36 #include "webkit/glue/webview_delegate.h" | 31 #include "webkit/glue/webview_delegate.h" |
| 37 #include "webkit/glue/weburlrequest.h" | |
| 38 #include "webkit/glue/webview.h" | 32 #include "webkit/glue/webview.h" |
| 39 | 33 |
| 40 #if defined(OS_WIN) | 34 #if defined(OS_WIN) |
| 41 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root. | 35 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root. |
| 42 // VS warns when we inherit the WebWidgetDelegate method implementations from | 36 // VS warns when we inherit the WebWidgetDelegate method implementations from |
| 43 // RenderWidget. It's safe to ignore that warning. | 37 // RenderWidget. It's safe to ignore that warning. |
| 44 #pragma warning(disable: 4250) | 38 #pragma warning(disable: 4250) |
| 45 #endif | 39 #endif |
| 46 | 40 |
| 41 class DictionaryValue; |
| 47 class DebugMessageHandler; | 42 class DebugMessageHandler; |
| 43 class FilePath; |
| 44 class GlueAccessibility; |
| 48 class GURL; | 45 class GURL; |
| 49 class RenderThread; | 46 class RenderThread; |
| 47 class ResourceDispatcher; |
| 50 class SkBitmap; | 48 class SkBitmap; |
| 51 class WebError; | 49 class WebError; |
| 52 class WebFrame; | 50 class WebFrame; |
| 53 class WebPluginDelegate; | 51 class WebPluginDelegate; |
| 54 class WebPluginDelegateProxy; | 52 class WebPluginDelegateProxy; |
| 55 struct AccessibilityInParams; | 53 struct AccessibilityInParams; |
| 56 struct AccessibilityOutParams; | 54 struct AccessibilityOutParams; |
| 55 struct FindInPageRequest; |
| 57 struct ThumbnailScore; | 56 struct ThumbnailScore; |
| 58 struct ViewMsg_Navigate_Params; | 57 struct ViewMsg_Navigate_Params; |
| 59 struct ViewMsg_PrintPage_Params; | 58 struct ViewMsg_PrintPage_Params; |
| 60 struct ViewMsg_PrintPages_Params; | 59 struct ViewMsg_PrintPages_Params; |
| 61 struct ViewMsg_Print_Params; | 60 struct ViewMsg_Print_Params; |
| 62 struct ViewMsg_UploadFile_Params; | 61 struct ViewMsg_UploadFile_Params; |
| 63 | 62 |
| 64 namespace base { | 63 namespace base { |
| 65 class WaitableEvent; | 64 class WaitableEvent; |
| 66 } | 65 } |
| (...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 // Time in seconds of the delay between syncing page state such as form | 740 // Time in seconds of the delay between syncing page state such as form |
| 742 // elements and scroll position. This timeout allows us to avoid spamming the | 741 // elements and scroll position. This timeout allows us to avoid spamming the |
| 743 // browser process with every little thing that changes. This normally doesn't | 742 // browser process with every little thing that changes. This normally doesn't |
| 744 // change but is overridden by tests. | 743 // change but is overridden by tests. |
| 745 int delay_seconds_for_form_state_sync_; | 744 int delay_seconds_for_form_state_sync_; |
| 746 | 745 |
| 747 DISALLOW_COPY_AND_ASSIGN(RenderView); | 746 DISALLOW_COPY_AND_ASSIGN(RenderView); |
| 748 }; | 747 }; |
| 749 | 748 |
| 750 #endif // CHROME_RENDERER_RENDER_VIEW_H_ | 749 #endif // CHROME_RENDERER_RENDER_VIEW_H_ |
| OLD | NEW |