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

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

Issue 20072: Finish taking out render_messages.h include from other headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | Annotate | Revision Log
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
(...skipping 11 matching lines...) Expand all
22 #endif 22 #endif
23 #include "chrome/renderer/automation/dom_automation_controller.h" 23 #include "chrome/renderer/automation/dom_automation_controller.h"
24 #include "chrome/renderer/dom_ui_bindings.h" 24 #include "chrome/renderer/dom_ui_bindings.h"
25 #include "chrome/renderer/external_host_bindings.h" 25 #include "chrome/renderer/external_host_bindings.h"
26 #include "chrome/renderer/external_js_object.h" 26 #include "chrome/renderer/external_js_object.h"
27 #include "chrome/renderer/render_process.h" 27 #include "chrome/renderer/render_process.h"
28 #include "chrome/renderer/render_widget.h" 28 #include "chrome/renderer/render_widget.h"
29 #include "testing/gtest/include/gtest/gtest_prod.h" 29 #include "testing/gtest/include/gtest/gtest_prod.h"
30 #include "webkit/glue/console_message_level.h" 30 #include "webkit/glue/console_message_level.h"
31 #include "webkit/glue/dom_serializer_delegate.h" 31 #include "webkit/glue/dom_serializer_delegate.h"
32 #include "webkit/glue/find_in_page_request.h"
33 #include "webkit/glue/form_data.h"
32 #include "webkit/glue/glue_accessibility.h" 34 #include "webkit/glue/glue_accessibility.h"
35 #include "webkit/glue/password_form_dom_manager.h"
33 #include "webkit/glue/webview_delegate.h" 36 #include "webkit/glue/webview_delegate.h"
34 #include "webkit/glue/weburlrequest.h" 37 #include "webkit/glue/weburlrequest.h"
35 #include "webkit/glue/webview.h" 38 #include "webkit/glue/webview.h"
36 39
37 #if defined(OS_WIN) 40 #if defined(OS_WIN)
38 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root. 41 // RenderView is a diamond-shaped hierarchy, with WebWidgetDelegate at the root.
39 // VS warns when we inherit the WebWidgetDelegate method implementations from 42 // VS warns when we inherit the WebWidgetDelegate method implementations from
40 // RenderWidget. It's safe to ignore that warning. 43 // RenderWidget. It's safe to ignore that warning.
41 #pragma warning(disable: 4250) 44 #pragma warning(disable: 4250)
42 #endif 45 #endif
43 46
44 class DebugMessageHandler; 47 class DebugMessageHandler;
45 class GURL; 48 class GURL;
46 class RenderThread; 49 class RenderThread;
47 class SkBitmap; 50 class SkBitmap;
48 struct ThumbnailScore;
49 class WebError; 51 class WebError;
50 class WebFrame; 52 class WebFrame;
51 class WebPluginDelegate; 53 class WebPluginDelegate;
52 class WebPluginDelegateProxy; 54 class WebPluginDelegateProxy;
55 struct AccessibilityInParams;
56 struct AccessibilityOutParams;
57 struct ThumbnailScore;
58 struct ViewMsg_Navigate_Params;
59 struct ViewMsg_PrintPage_Params;
60 struct ViewMsg_PrintPages_Params;
61 struct ViewMsg_Print_Params;
62 struct ViewMsg_UploadFile_Params;
53 63
54 namespace base { 64 namespace base {
55 class WaitableEvent; 65 class WaitableEvent;
56 } 66 }
57 67
58 namespace webkit_glue { 68 namespace webkit_glue {
59 struct FileUploadData; 69 struct FileUploadData;
60 } 70 }
61 71
62 // We need to prevent a page from trying to create infinite popups. It is not 72 // We need to prevent a page from trying to create infinite popups. It is not
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 void OnReservePageIDRange(int size_of_range); 472 void OnReservePageIDRange(int size_of_range);
463 473
464 void OnDragSourceEndedOrMoved( 474 void OnDragSourceEndedOrMoved(
465 int client_x, int client_y, int screen_x, int screen_y, bool ended); 475 int client_x, int client_y, int screen_x, int screen_y, bool ended);
466 void OnDragSourceSystemDragEnded(); 476 void OnDragSourceSystemDragEnded();
467 void OnInstallMissingPlugin(); 477 void OnInstallMissingPlugin();
468 void OnFileChooserResponse(const std::vector<std::wstring>& file_names); 478 void OnFileChooserResponse(const std::vector<std::wstring>& file_names);
469 void OnEnableViewSourceMode(); 479 void OnEnableViewSourceMode();
470 void OnUpdateBackForwardListCount(int back_list_count, 480 void OnUpdateBackForwardListCount(int back_list_count,
471 int forward_list_count); 481 int forward_list_count);
472 void OnGetAccessibilityInfo(const ViewMsg_Accessibility_In_Params& in_params, 482 void OnGetAccessibilityInfo(const AccessibilityInParams& in_params,
473 ViewHostMsg_Accessibility_Out_Params* out_params); 483 AccessibilityOutParams* out_params);
474 void OnClearAccessibilityInfo(int iaccessible_id, bool clear_all); 484 void OnClearAccessibilityInfo(int iaccessible_id, bool clear_all);
475 485
476 // Checks if the RenderView should close, runs the beforeunload handler and 486 // Checks if the RenderView should close, runs the beforeunload handler and
477 // sends ViewMsg_ShouldClose to the browser. 487 // sends ViewMsg_ShouldClose to the browser.
478 void OnMsgShouldClose(); 488 void OnMsgShouldClose();
479 489
480 // Runs the onunload handler and closes the page, replying with ClosePage_ACK 490 // Runs the onunload handler and closes the page, replying with ClosePage_ACK
481 // (with the given RPH and request IDs, to help track the request). 491 // (with the given RPH and request IDs, to help track the request).
482 void OnClosePage(int new_render_process_host_id, int new_request_id); 492 void OnClosePage(int new_render_process_host_id, int new_request_id);
483 493
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 // Time in seconds of the delay between syncing page state such as form 738 // Time in seconds of the delay between syncing page state such as form
729 // elements and scroll position. This timeout allows us to avoid spamming the 739 // elements and scroll position. This timeout allows us to avoid spamming the
730 // browser process with every little thing that changes. This normally doesn't 740 // browser process with every little thing that changes. This normally doesn't
731 // change but is overridden by tests. 741 // change but is overridden by tests.
732 int delay_seconds_for_form_state_sync_; 742 int delay_seconds_for_form_state_sync_;
733 743
734 DISALLOW_COPY_AND_ASSIGN(RenderView); 744 DISALLOW_COPY_AND_ASSIGN(RenderView);
735 }; 745 };
736 746
737 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 747 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698