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