| Index: chrome/renderer/render_view.h
|
| ===================================================================
|
| --- chrome/renderer/render_view.h (revision 71495)
|
| +++ chrome/renderer/render_view.h (working copy)
|
| @@ -41,6 +41,7 @@
|
| #include "third_party/WebKit/WebKit/chromium/public/WebFrameClient.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerAction.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebPageSerializerClient.h"
|
| +#include "third_party/WebKit/WebKit/chromium/public/WebNode.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebTextDirection.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebViewClient.h"
|
| #include "third_party/WebKit/WebKit/chromium/public/WebNavigationType.h"
|
| @@ -140,7 +141,6 @@
|
| class WebMediaPlayer;
|
| class WebMediaPlayerClient;
|
| class WebMouseEvent;
|
| -class WebNode;
|
| class WebPlugin;
|
| class WebSpeechInputController;
|
| class WebSpeechInputListener;
|
| @@ -877,6 +877,7 @@
|
| const PP_Flash_NetAddress& local_addr,
|
| const PP_Flash_NetAddress& remote_addr);
|
| #endif
|
| + void OnContextMenuClosed();
|
| void OnCopy();
|
| void OnCopyImageAt(int x, int y);
|
| #if defined(OS_MACOSX)
|
| @@ -955,6 +956,7 @@
|
| void OnPrintingDone(int document_cookie, bool success);
|
| void OnPrintPages();
|
| void OnPrintPreview();
|
| + void OnPrintNodeUnderContextMenu();
|
| void OnRedo();
|
| void OnReloadFrame();
|
| void OnReplace(const string16& text);
|
| @@ -1138,8 +1140,12 @@
|
| const WebKit::WebURLError& error,
|
| bool replace);
|
|
|
| + // Prints |frame|.
|
| void Print(WebKit::WebFrame* frame, bool script_initiated, bool is_preview);
|
|
|
| + // Returns the PrintWebViewHelper for this class, creating if necessary.
|
| + PrintWebViewHelper* GetPrintWebViewHelper();
|
| +
|
| // Returns whether the page associated with |document| is a candidate for
|
| // translation. Some pages can explictly specify (via a meta-tag) that they
|
| // should not be translated.
|
| @@ -1523,6 +1529,9 @@
|
| // The custom menu event listener, if any.
|
| CustomMenuListener* custom_menu_listener_;
|
|
|
| + // The node that the context menu was pressed over.
|
| + WebKit::WebNode context_menu_node_;
|
| +
|
| // Reports load progress to the browser.
|
| scoped_ptr<LoadProgressTracker> load_progress_tracker_;
|
|
|
|
|