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

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

Issue 6142013: Allow printing/saving a plugin through right click menu, even if it's in a fr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698