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_VIEW_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 int request_id, | 146 int request_id, |
147 const std::vector<base::FilePath>& files) OVERRIDE; | 147 const std::vector<base::FilePath>& files) OVERRIDE; |
148 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE; | 148 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) OVERRIDE; |
149 virtual void DragSourceEndedAt( | 149 virtual void DragSourceEndedAt( |
150 int client_x, int client_y, int screen_x, int screen_y, | 150 int client_x, int client_y, int screen_x, int screen_y, |
151 WebKit::WebDragOperation operation) OVERRIDE; | 151 WebKit::WebDragOperation operation) OVERRIDE; |
152 virtual void DragSourceMovedTo( | 152 virtual void DragSourceMovedTo( |
153 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; | 153 int client_x, int client_y, int screen_x, int screen_y) OVERRIDE; |
154 virtual void DragSourceSystemDragEnded() OVERRIDE; | 154 virtual void DragSourceSystemDragEnded() OVERRIDE; |
155 virtual void DragTargetDragEnter( | 155 virtual void DragTargetDragEnter( |
156 const WebDropData& drop_data, | 156 const DropData& drop_data, |
157 const gfx::Point& client_pt, | 157 const gfx::Point& client_pt, |
158 const gfx::Point& screen_pt, | 158 const gfx::Point& screen_pt, |
159 WebKit::WebDragOperationsMask operations_allowed, | 159 WebKit::WebDragOperationsMask operations_allowed, |
160 int key_modifiers) OVERRIDE; | 160 int key_modifiers) OVERRIDE; |
161 virtual void DragTargetDragOver( | 161 virtual void DragTargetDragOver( |
162 const gfx::Point& client_pt, | 162 const gfx::Point& client_pt, |
163 const gfx::Point& screen_pt, | 163 const gfx::Point& screen_pt, |
164 WebKit::WebDragOperationsMask operations_allowed, | 164 WebKit::WebDragOperationsMask operations_allowed, |
165 int key_modifiers) OVERRIDE; | 165 int key_modifiers) OVERRIDE; |
166 virtual void DragTargetDragLeave() OVERRIDE; | 166 virtual void DragTargetDragLeave() OVERRIDE; |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); | 536 void OnRouteMessageEvent(const ViewMsg_PostMessage_Params& params); |
537 void OnRunJavaScriptMessage(const string16& message, | 537 void OnRunJavaScriptMessage(const string16& message, |
538 const string16& default_prompt, | 538 const string16& default_prompt, |
539 const GURL& frame_url, | 539 const GURL& frame_url, |
540 JavaScriptMessageType type, | 540 JavaScriptMessageType type, |
541 IPC::Message* reply_msg); | 541 IPC::Message* reply_msg); |
542 void OnRunBeforeUnloadConfirm(const GURL& frame_url, | 542 void OnRunBeforeUnloadConfirm(const GURL& frame_url, |
543 const string16& message, | 543 const string16& message, |
544 bool is_reload, | 544 bool is_reload, |
545 IPC::Message* reply_msg); | 545 IPC::Message* reply_msg); |
546 void OnStartDragging(const WebDropData& drop_data, | 546 void OnStartDragging(const DropData& drop_data, |
547 WebKit::WebDragOperationsMask operations_allowed, | 547 WebKit::WebDragOperationsMask operations_allowed, |
548 const SkBitmap& bitmap, | 548 const SkBitmap& bitmap, |
549 const gfx::Vector2d& bitmap_offset_in_dip, | 549 const gfx::Vector2d& bitmap_offset_in_dip, |
550 const DragEventSourceInfo& event_info); | 550 const DragEventSourceInfo& event_info); |
551 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); | 551 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); |
552 void OnTargetDropACK(); | 552 void OnTargetDropACK(); |
553 void OnTakeFocus(bool reverse); | 553 void OnTakeFocus(bool reverse); |
554 void OnFocusedNodeChanged(bool is_editable_node); | 554 void OnFocusedNodeChanged(bool is_editable_node); |
555 void OnAddMessageToConsole(int32 level, | 555 void OnAddMessageToConsole(int32 level, |
556 const string16& message, | 556 const string16& message, |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); | 721 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); |
722 }; | 722 }; |
723 | 723 |
724 #if defined(COMPILER_MSVC) | 724 #if defined(COMPILER_MSVC) |
725 #pragma warning(pop) | 725 #pragma warning(pop) |
726 #endif | 726 #endif |
727 | 727 |
728 } // namespace content | 728 } // namespace content |
729 | 729 |
730 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ | 730 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ |
OLD | NEW |