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

Side by Side Diff: chrome/renderer/render_view.h

Issue 18622: POSIX: Porting renderer/render_process.cc, low hanging fruit (Closed)
Patch Set: Created 11 years, 11 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
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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" 12 #include "base/scoped_handle.h"
13 #include "base/gfx/point.h" 13 #include "base/gfx/point.h"
14 #include "base/gfx/rect.h" 14 #include "base/gfx/rect.h"
15 #include "base/timer.h" 15 #include "base/timer.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "build/build_config.h"
17 #include "chrome/common/page_zoom.h" 18 #include "chrome/common/page_zoom.h"
18 #include "chrome/common/resource_dispatcher.h" 19 #include "chrome/common/resource_dispatcher.h"
19 #ifdef CHROME_PERSONALIZATION 20 #ifdef CHROME_PERSONALIZATION
20 #include "chrome/personalization/personalization.h" 21 #include "chrome/personalization/personalization.h"
21 #endif 22 #endif
22 #include "chrome/renderer/automation/dom_automation_controller.h" 23 #include "chrome/renderer/automation/dom_automation_controller.h"
23 #include "chrome/renderer/dom_ui_bindings.h" 24 #include "chrome/renderer/dom_ui_bindings.h"
24 #include "chrome/renderer/external_host_bindings.h" 25 #include "chrome/renderer/external_host_bindings.h"
25 #include "chrome/renderer/external_js_object.h" 26 #include "chrome/renderer/external_js_object.h"
26 #include "chrome/renderer/render_process.h" 27 #include "chrome/renderer/render_process.h"
27 #include "chrome/renderer/render_widget.h" 28 #include "chrome/renderer/render_widget.h"
28 #include "testing/gtest/include/gtest/gtest_prod.h" 29 #include "testing/gtest/include/gtest/gtest_prod.h"
29 #include "webkit/glue/console_message_level.h" 30 #include "webkit/glue/console_message_level.h"
30 #include "webkit/glue/dom_serializer_delegate.h" 31 #include "webkit/glue/dom_serializer_delegate.h"
31 #include "webkit/glue/glue_accessibility.h" 32 #include "webkit/glue/glue_accessibility.h"
32 #include "webkit/glue/webview_delegate.h" 33 #include "webkit/glue/webview_delegate.h"
34 #include "webkit/glue/weburlrequest.h"
33 #include "webkit/glue/webview.h" 35 #include "webkit/glue/webview.h"
34 36
37 #if defined(OS_WIN)
35 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root. 38 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root.
36 // VS warns when we inherit the WebWidgetDelegate method implementations from 39 // VS warns when we inherit the WebWidgetDelegate method implementations from
37 // RenderWidget. It's safe to ignore that warning. 40 // RenderWidget. It's safe to ignore that warning.
38 #pragma warning(disable: 4250) 41 #pragma warning(disable: 4250)
42 #endif
39 43
40 class DebugMessageHandler; 44 class DebugMessageHandler;
41 class GURL; 45 class GURL;
42 class RenderThread; 46 class RenderThread;
43 class SkBitmap; 47 class SkBitmap;
44 struct ThumbnailScore; 48 struct ThumbnailScore;
45 class WebError; 49 class WebError;
46 class WebFrame; 50 class WebFrame;
47 class WebPluginDelegate; 51 class WebPluginDelegate;
48 class WebPluginDelegateProxy; 52 class WebPluginDelegateProxy;
49 enum WebRequestCachePolicy;
50 53
51 namespace base { 54 namespace base {
52 class WaitableEvent; 55 class WaitableEvent;
53 } 56 }
54 57
55 namespace webkit_glue { 58 namespace webkit_glue {
56 struct FileUploadData; 59 struct FileUploadData;
57 } 60 }
58 61
59 // We need to prevent a page from trying to create infinite popups. It is not 62 // We need to prevent a page from trying to create infinite popups. It is not
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 // Time in seconds of the delay between syncing page state such as form 733 // Time in seconds of the delay between syncing page state such as form
731 // elements and scroll position. This timeout allows us to avoid spamming the 734 // elements and scroll position. This timeout allows us to avoid spamming the
732 // browser process with every little thing that changes. This normally doesn't 735 // browser process with every little thing that changes. This normally doesn't
733 // change but is overridden by tests. 736 // change but is overridden by tests.
734 int delay_seconds_for_form_state_sync_; 737 int delay_seconds_for_form_state_sync_;
735 738
736 DISALLOW_COPY_AND_ASSIGN(RenderView); 739 DISALLOW_COPY_AND_ASSIGN(RenderView);
737 }; 740 };
738 741
739 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 742 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/render_widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698