Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 6479004: Print Preview: Hook up the print button to initiate a normal print operation.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: add a comment Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
332 void PrintForPrintPreview();
333
331 // Copies the image at the specified point. 334 // Copies the image at the specified point.
332 void CopyImageAt(int x, int y); 335 void CopyImageAt(int x, int y);
333 336
334 // Notifies the renderer that a a drag operation that it started has ended, 337 // Notifies the renderer that a a drag operation that it started has ended,
335 // either in a drop or by being cancelled. 338 // either in a drop or by being cancelled.
336 void DragSourceEndedAt( 339 void DragSourceEndedAt(
337 int client_x, int client_y, int screen_x, int screen_y, 340 int client_x, int client_y, int screen_x, int screen_y,
338 WebKit::WebDragOperation operation); 341 WebKit::WebDragOperation operation);
339 342
340 // Notifies the renderer that a drag and drop operation is in progress, with 343 // Notifies the renderer that a drag and drop operation is in progress, with
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/print_preview_handler.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698