OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 const std::wstring& prompt); | 319 const std::wstring& prompt); |
320 | 320 |
321 // Notifies the RenderView that the modal html dialog has been closed. | 321 // Notifies the RenderView that the modal html dialog has been closed. |
322 void ModalHTMLDialogClosed(IPC::Message* reply_msg, | 322 void ModalHTMLDialogClosed(IPC::Message* reply_msg, |
323 const std::string& json_retval); | 323 const std::string& json_retval); |
324 | 324 |
325 // Send an action to the media player element located at |location|. | 325 // Send an action to the media player element located at |location|. |
326 void MediaPlayerActionAt(const gfx::Point& location, | 326 void MediaPlayerActionAt(const gfx::Point& location, |
327 const WebKit::WebMediaPlayerAction& action); | 327 const WebKit::WebMediaPlayerAction& action); |
328 | 328 |
| 329 // Notifies the renderer that the context menu has closed. |
| 330 void ContextMenuClosed(); |
| 331 |
| 332 // Prints the node that's under the context menu. |
| 333 void PrintNodeUnderContextMenu(); |
| 334 |
329 // Copies the image at the specified point. | 335 // Copies the image at the specified point. |
330 void CopyImageAt(int x, int y); | 336 void CopyImageAt(int x, int y); |
331 | 337 |
332 // Notifies the renderer that a a drag operation that it started has ended, | 338 // Notifies the renderer that a a drag operation that it started has ended, |
333 // either in a drop or by being cancelled. | 339 // either in a drop or by being cancelled. |
334 void DragSourceEndedAt( | 340 void DragSourceEndedAt( |
335 int client_x, int client_y, int screen_x, int screen_y, | 341 int client_x, int client_y, int screen_x, int screen_y, |
336 WebKit::WebDragOperation operation); | 342 WebKit::WebDragOperation operation); |
337 | 343 |
338 // Notifies the renderer that a drag and drop operation is in progress, with | 344 // Notifies the renderer that a drag and drop operation is in progress, with |
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 // The most recently received accessibility tree - for unit testing only. | 786 // The most recently received accessibility tree - for unit testing only. |
781 webkit_glue::WebAccessibility accessibility_tree_; | 787 webkit_glue::WebAccessibility accessibility_tree_; |
782 | 788 |
783 // The termination status of the last render view that terminated. | 789 // The termination status of the last render view that terminated. |
784 base::TerminationStatus render_view_termination_status_; | 790 base::TerminationStatus render_view_termination_status_; |
785 | 791 |
786 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 792 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
787 }; | 793 }; |
788 | 794 |
789 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 795 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |