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

Unified Diff: content/browser/tab_contents/tab_contents.h

Issue 7729002: Handle the ViewHostMsg_RunFileChooser IPC message which is sent by content(renderer) in RVH and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
Index: content/browser/tab_contents/tab_contents.h
===================================================================
--- content/browser/tab_contents/tab_contents.h (revision 98116)
+++ content/browser/tab_contents/tab_contents.h (working copy)
@@ -504,9 +504,6 @@
void AddObserver(TabContentsObserver* observer);
void RemoveObserver(TabContentsObserver* observer);
- // From RenderViewHostDelegate.
- virtual bool OnMessageReceived(const IPC::Message& message);
-
private:
friend class NavigationController;
// Used to access the child_windows_ (ConstrainedWindowList) for testing
@@ -566,8 +563,6 @@
int maximum_percent,
bool remember);
void OnFocusedNodeChanged(bool is_editable_node);
- // Called when a file selection is to be done.
- void OnRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params);
void OnEnumerateDirectory(int request_id, const FilePath& path);
// Changes the IsLoading state and notifies delegate as needed
@@ -709,6 +704,9 @@
const NativeWebKeyboardEvent& event) OVERRIDE;
virtual void HandleMouseUp() OVERRIDE;
virtual void HandleMouseActivate() OVERRIDE;
+ virtual bool OnMessageReceived(const IPC::Message& message);
+ virtual void RunFileChooser(RenderViewHost* render_view_host,
+ const ViewHostMsg_RunFileChooser_Params& params);
// RenderViewHostManager::Delegate -------------------------------------------
« no previous file with comments | « content/browser/renderer_host/render_view_host_delegate.h ('k') | content/browser/tab_contents/tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698