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

Side by Side Diff: content/browser/renderer_host/render_view_host_delegate.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, 3 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 21 matching lines...) Expand all
32 class RenderProcessHost; 32 class RenderProcessHost;
33 class RenderViewHost; 33 class RenderViewHost;
34 class SkBitmap; 34 class SkBitmap;
35 class TabContents; 35 class TabContents;
36 struct ViewHostMsg_CreateWindow_Params; 36 struct ViewHostMsg_CreateWindow_Params;
37 struct ViewHostMsg_FrameNavigate_Params; 37 struct ViewHostMsg_FrameNavigate_Params;
38 struct WebDropData; 38 struct WebDropData;
39 struct WebMenuItem; 39 struct WebMenuItem;
40 class WebKeyboardEvent; 40 class WebKeyboardEvent;
41 struct WebPreferences; 41 struct WebPreferences;
42 struct ViewHostMsg_RunFileChooser_Params;
42 43
43 namespace content { 44 namespace content {
44 class BrowserContext; 45 class BrowserContext;
45 } 46 }
46 47
47 namespace gfx { 48 namespace gfx {
48 class Point; 49 class Point;
49 class Rect; 50 class Rect;
50 class Size; 51 class Size;
51 } 52 }
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 360 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
360 361
361 // Notifications about mouse events in this view. This is useful for 362 // Notifications about mouse events in this view. This is useful for
362 // implementing global 'on hover' features external to the view. 363 // implementing global 'on hover' features external to the view.
363 virtual void HandleMouseMove() {} 364 virtual void HandleMouseMove() {}
364 virtual void HandleMouseDown() {} 365 virtual void HandleMouseDown() {}
365 virtual void HandleMouseLeave() {} 366 virtual void HandleMouseLeave() {}
366 virtual void HandleMouseUp() {} 367 virtual void HandleMouseUp() {}
367 virtual void HandleMouseActivate() {} 368 virtual void HandleMouseActivate() {}
368 369
370 // Called when a file selection is to be done.
371 virtual void RunFileChooser(
372 RenderViewHost* render_view_host,
373 const ViewHostMsg_RunFileChooser_Params& params) {}
374
369 protected: 375 protected:
370 virtual ~RenderViewHostDelegate() {} 376 virtual ~RenderViewHostDelegate() {}
371 }; 377 };
372 378
373 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_ 379 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698