| OLD | NEW |
| 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_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 // FilterDropData before passing the drop data to RWHI. | 198 // FilterDropData before passing the drop data to RWHI. |
| 199 void DragTargetDrop(const DropData& drop_data, | 199 void DragTargetDrop(const DropData& drop_data, |
| 200 const gfx::Point& client_pt, | 200 const gfx::Point& client_pt, |
| 201 const gfx::Point& screen_pt, | 201 const gfx::Point& screen_pt, |
| 202 int key_modifiers) override; | 202 int key_modifiers) override; |
| 203 void DragSourceEndedAt(const gfx::Point& client_pt, | 203 void DragSourceEndedAt(const gfx::Point& client_pt, |
| 204 const gfx::Point& screen_pt, | 204 const gfx::Point& screen_pt, |
| 205 blink::WebDragOperation operation) override; | 205 blink::WebDragOperation operation) override; |
| 206 void DragSourceSystemDragEnded() override; | 206 void DragSourceSystemDragEnded() override; |
| 207 void FilterDropData(DropData* drop_data) override; | 207 void FilterDropData(DropData* drop_data) override; |
| 208 void SetCursor(const CursorInfo& cursor_info) override; |
| 208 | 209 |
| 209 // Notification that the screen info has changed. | 210 // Notification that the screen info has changed. |
| 210 void NotifyScreenInfoChanged(); | 211 void NotifyScreenInfoChanged(); |
| 211 | 212 |
| 212 // Forces redraw in the renderer and when the update reaches the browser. | 213 // Forces redraw in the renderer and when the update reaches the browser. |
| 213 // grabs snapshot from the compositor. | 214 // grabs snapshot from the compositor. |
| 214 // If |from_surface| is false, it will obtain the snapshot directly from the | 215 // If |from_surface| is false, it will obtain the snapshot directly from the |
| 215 // view (On MacOS, the snapshot is taken from the Cocoa view for end-to-end | 216 // view (On MacOS, the snapshot is taken from the Cocoa view for end-to-end |
| 216 // testing purposes). | 217 // testing purposes). |
| 217 // Otherwise, the snapshot is obtained from the view's surface, with no bounds | 218 // Otherwise, the snapshot is obtained from the view's surface, with no bounds |
| (...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; | 979 std::queue<std::pair<uint32_t, std::vector<IPC::Message>>> queued_messages_; |
| 979 | 980 |
| 980 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 981 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
| 981 | 982 |
| 982 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 983 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
| 983 }; | 984 }; |
| 984 | 985 |
| 985 } // namespace content | 986 } // namespace content |
| 986 | 987 |
| 987 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 988 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
| OLD | NEW |