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

Side by Side Diff: chrome/browser/renderer_host/render_view_host_delegate.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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_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/file_path.h" 12 #include "base/file_path.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "net/base/load_states.h" 14 #include "net/base/load_states.h"
15 #include "webkit/glue/password_form.h" 15 #include "webkit/glue/password_form.h"
16 #include "webkit/glue/webpreferences.h" 16 #include "webkit/glue/webpreferences.h"
17 #include "webkit/glue/window_open_disposition.h" 17 #include "webkit/glue/window_open_disposition.h"
18 18
19 class AutofillForm; 19 class AutofillForm;
20 class NavigationEntry; 20 class NavigationEntry;
21 class Profile; 21 class Profile;
22 class RenderProcessHost; 22 class RenderProcessHost;
23 class RenderViewHost; 23 class RenderViewHost;
24 class SkBitmap; 24 class SkBitmap;
25 class WebContents; 25 class WebContents;
26 class WebKeyboardEvent; 26 class WebKeyboardEvent;
27 struct ThumbnailScore; 27 struct ThumbnailScore;
28 struct ViewHostMsg_ContextMenu_Params; 28 struct ContextMenuParams;
29 struct ViewHostMsg_DidPrintPage_Params; 29 struct ViewHostMsg_DidPrintPage_Params;
30 struct ViewHostMsg_FrameNavigate_Params; 30 struct ViewHostMsg_FrameNavigate_Params;
31 struct WebDropData; 31 struct WebDropData;
32 32
33 namespace base { 33 namespace base {
34 class WaitableEvent; 34 class WaitableEvent;
35 } 35 }
36 36
37 namespace IPC { 37 namespace IPC {
38 class Message; 38 class Message;
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const gfx::Rect& initial_pos, 89 const gfx::Rect& initial_pos,
90 bool user_gesture) = 0; 90 bool user_gesture) = 0;
91 91
92 // Show the newly created widget with the specified bounds. 92 // Show the newly created widget with the specified bounds.
93 // The widget is identified by the route_id passed to CreateNewWidget. 93 // The widget is identified by the route_id passed to CreateNewWidget.
94 virtual void ShowCreatedWidget(int route_id, 94 virtual void ShowCreatedWidget(int route_id,
95 const gfx::Rect& initial_pos) = 0; 95 const gfx::Rect& initial_pos) = 0;
96 96
97 // A context menu should be shown, to be built using the context information 97 // A context menu should be shown, to be built using the context information
98 // provided in the supplied params. 98 // provided in the supplied params.
99 virtual void ShowContextMenu( 99 virtual void ShowContextMenu(const ContextMenuParams& params) = 0;
100 const ViewHostMsg_ContextMenu_Params& params) = 0;
101 100
102 // The user started dragging content of the specified type within the 101 // The user started dragging content of the specified type within the
103 // RenderView. Contextual information about the dragged content is supplied 102 // RenderView. Contextual information about the dragged content is supplied
104 // by WebDropData. 103 // by WebDropData.
105 virtual void StartDragging(const WebDropData& drop_data) = 0; 104 virtual void StartDragging(const WebDropData& drop_data) = 0;
106 105
107 // The page wants to update the mouse cursor during a drag & drop operation. 106 // The page wants to update the mouse cursor during a drag & drop operation.
108 // |is_drop_target| is true if the mouse is over a valid drop target. 107 // |is_drop_target| is true if the mouse is over a valid drop target.
109 virtual void UpdateDragCursor(bool is_drop_target) = 0; 108 virtual void UpdateDragCursor(bool is_drop_target) = 0;
110 109
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 // page. This is used to avoid uninitiated user downloads (aka carpet 394 // page. This is used to avoid uninitiated user downloads (aka carpet
396 // bombing), see DownloadRequestManager for details. 395 // bombing), see DownloadRequestManager for details.
397 virtual void OnEnterOrSpace() { } 396 virtual void OnEnterOrSpace() { }
398 397
399 // If this view can be terminated without any side effects 398 // If this view can be terminated without any side effects
400 virtual bool CanTerminate() const { return true; } 399 virtual bool CanTerminate() const { return true; }
401 }; 400 };
402 401
403 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 402 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
404 403
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698