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

Side by Side Diff: content/browser/renderer_host/render_widget_host_delegate.h

Issue 2503563002: Drag-and-drop: updateDragCursor (Closed)
Patch Set: Created 4 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <vector> 10 #include <vector>
(...skipping 15 matching lines...) Expand all
26 26
27 namespace gfx { 27 namespace gfx {
28 class Point; 28 class Point;
29 class Rect; 29 class Rect;
30 class Size; 30 class Size;
31 } 31 }
32 32
33 namespace content { 33 namespace content {
34 34
35 class BrowserAccessibilityManager; 35 class BrowserAccessibilityManager;
36 class RenderWidgetHost;
36 class RenderWidgetHostImpl; 37 class RenderWidgetHostImpl;
37 class RenderWidgetHostInputEventRouter; 38 class RenderWidgetHostInputEventRouter;
38 class RenderViewHostDelegateView; 39 class RenderViewHostDelegateView;
39 class TextInputManager; 40 class TextInputManager;
40 struct ScreenInfo; 41 struct ScreenInfo;
41 struct NativeWebKeyboardEvent; 42 struct NativeWebKeyboardEvent;
42 43
43 // 44 //
44 // RenderWidgetHostDelegate 45 // RenderWidgetHostDelegate
45 // 46 //
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 virtual bool IsHidden(); 210 virtual bool IsHidden();
210 211
211 // Returns the associated RenderViewHostDelegateView*, if possible. 212 // Returns the associated RenderViewHostDelegateView*, if possible.
212 virtual RenderViewHostDelegateView* GetDelegateView(); 213 virtual RenderViewHostDelegateView* GetDelegateView();
213 214
214 // Returns the current Flash fullscreen RenderWidgetHostImpl if any. This is 215 // Returns the current Flash fullscreen RenderWidgetHostImpl if any. This is
215 // not intended for use with other types of fullscreen, such as HTML 216 // not intended for use with other types of fullscreen, such as HTML
216 // fullscreen, and will return nullptr for those cases. 217 // fullscreen, and will return nullptr for those cases.
217 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const; 218 virtual RenderWidgetHostImpl* GetFullscreenRenderWidgetHost() const;
218 219
220 // This is used to give the delegate a chance to filter IPC messages.
221 virtual bool OnMessageReceived(RenderWidgetHost* render_widget_host,
222 const IPC::Message& message);
ncarter (slow) 2016/11/14 20:23:45 I think it's probably better to add 1 call to Rend
paulmeyer 2016/11/14 22:03:53 Okay, that sounds very reasonable. Done.
223
219 protected: 224 protected:
220 virtual ~RenderWidgetHostDelegate() {} 225 virtual ~RenderWidgetHostDelegate() {}
221 }; 226 };
222 227
223 } // namespace content 228 } // namespace content
224 229
225 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_ 230 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698