| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 void MediaPlayerActionAt(const gfx::Point& location, | 322 void MediaPlayerActionAt(const gfx::Point& location, |
| 323 const WebKit::WebMediaPlayerAction& action); | 323 const WebKit::WebMediaPlayerAction& action); |
| 324 | 324 |
| 325 // Notifies the renderer that the context menu has closed. | 325 // Notifies the renderer that the context menu has closed. |
| 326 void ContextMenuClosed( | 326 void ContextMenuClosed( |
| 327 const webkit_glue::CustomContextMenuContext& custom_context); | 327 const webkit_glue::CustomContextMenuContext& custom_context); |
| 328 | 328 |
| 329 // Prints the node that's under the context menu. | 329 // Prints the node that's under the context menu. |
| 330 void PrintNodeUnderContextMenu(); | 330 void PrintNodeUnderContextMenu(); |
| 331 | 331 |
| 332 // Triggers printing of the preview PDF. |
| 333 void PrintForPrintPreview(); |
| 334 |
| 332 // Copies the image at the specified point. | 335 // Copies the image at the specified point. |
| 333 void CopyImageAt(int x, int y); | 336 void CopyImageAt(int x, int y); |
| 334 | 337 |
| 335 // 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, |
| 336 // either in a drop or by being cancelled. | 339 // either in a drop or by being cancelled. |
| 337 void DragSourceEndedAt( | 340 void DragSourceEndedAt( |
| 338 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, |
| 339 WebKit::WebDragOperation operation); | 342 WebKit::WebDragOperation operation); |
| 340 | 343 |
| 341 // 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 // The termination status of the last render view that terminated. | 733 // The termination status of the last render view that terminated. |
| 731 base::TerminationStatus render_view_termination_status_; | 734 base::TerminationStatus render_view_termination_status_; |
| 732 | 735 |
| 733 // The enabled/disabled states of various commands. | 736 // The enabled/disabled states of various commands. |
| 734 std::map<RenderViewCommand, CommandState> command_states_; | 737 std::map<RenderViewCommand, CommandState> command_states_; |
| 735 | 738 |
| 736 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 739 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 737 }; | 740 }; |
| 738 | 741 |
| 739 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 742 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |