| 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. |job_settings| is a json string that |
| 333 // contains print job settings information. |
| 334 void PrintForPrintPreview(const std::string& job_settings); |
| 335 |
| 332 // Copies the image at the specified point. | 336 // Copies the image at the specified point. |
| 333 void CopyImageAt(int x, int y); | 337 void CopyImageAt(int x, int y); |
| 334 | 338 |
| 335 // Notifies the renderer that a a drag operation that it started has ended, | 339 // Notifies the renderer that a a drag operation that it started has ended, |
| 336 // either in a drop or by being cancelled. | 340 // either in a drop or by being cancelled. |
| 337 void DragSourceEndedAt( | 341 void DragSourceEndedAt( |
| 338 int client_x, int client_y, int screen_x, int screen_y, | 342 int client_x, int client_y, int screen_x, int screen_y, |
| 339 WebKit::WebDragOperation operation); | 343 WebKit::WebDragOperation operation); |
| 340 | 344 |
| 341 // Notifies the renderer that a drag and drop operation is in progress, with | 345 // 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. | 734 // The termination status of the last render view that terminated. |
| 731 base::TerminationStatus render_view_termination_status_; | 735 base::TerminationStatus render_view_termination_status_; |
| 732 | 736 |
| 733 // The enabled/disabled states of various commands. | 737 // The enabled/disabled states of various commands. |
| 734 std::map<RenderViewCommand, CommandState> command_states_; | 738 std::map<RenderViewCommand, CommandState> command_states_; |
| 735 | 739 |
| 736 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 740 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 737 }; | 741 }; |
| 738 | 742 |
| 739 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 743 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |