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

Unified Diff: chrome/renderer/chrome_render_frame_observer.h

Issue 191293006: Move GetContextMenuNode from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync and fix android clang error Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/print_messages.h ('k') | chrome/renderer/chrome_render_frame_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/chrome_render_frame_observer.h
===================================================================
--- chrome/renderer/chrome_render_frame_observer.h (revision 255957)
+++ chrome/renderer/chrome_render_frame_observer.h (working copy)
@@ -7,6 +7,10 @@
#include "content/public/renderer/render_frame_observer.h"
+namespace gfx {
+class Size;
+}
+
// This class holds the Chrome specific parts of RenderFrame, and has the same
// lifetime.
class ChromeRenderFrameObserver : public content::RenderFrameObserver {
@@ -20,6 +24,10 @@
// IPC handlers
void OnSetIsPrerendering(bool is_prerendering);
+ void OnRequestThumbnailForContextNode(
+ int thumbnail_min_area_pixels,
+ const gfx::Size& thumbnail_max_size_pixels);
+ void OnPrintNodeUnderContextMenu();
DISALLOW_COPY_AND_ASSIGN(ChromeRenderFrameObserver);
};
« no previous file with comments | « chrome/common/print_messages.h ('k') | chrome/renderer/chrome_render_frame_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698