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

Side by Side Diff: content/browser/renderer_host/render_view_host.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_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_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 23 matching lines...) Expand all
34 class SkBitmap; 34 class SkBitmap;
35 class ViewMsg_Navigate; 35 class ViewMsg_Navigate;
36 struct ContextMenuParams; 36 struct ContextMenuParams;
37 struct MediaPlayerAction; 37 struct MediaPlayerAction;
38 struct ViewHostMsg_AccessibilityNotification_Params; 38 struct ViewHostMsg_AccessibilityNotification_Params;
39 struct ViewHostMsg_CreateWindow_Params; 39 struct ViewHostMsg_CreateWindow_Params;
40 struct ViewHostMsg_ShowPopup_Params; 40 struct ViewHostMsg_ShowPopup_Params;
41 struct ViewMsg_Navigate_Params; 41 struct ViewMsg_Navigate_Params;
42 struct WebDropData; 42 struct WebDropData;
43 struct UserMetricsAction; 43 struct UserMetricsAction;
44 struct ViewHostMsg_RunFileChooser_Params;
44 45
45 namespace base { 46 namespace base {
46 class ListValue; 47 class ListValue;
47 } 48 }
48 49
49 namespace gfx { 50 namespace gfx {
50 class Point; 51 class Point;
51 } // namespace gfx 52 } // namespace gfx
52 53
53 namespace ui { 54 namespace ui {
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 void OnRequestDesktopNotificationPermission(const GURL& origin, 469 void OnRequestDesktopNotificationPermission(const GURL& origin,
469 int callback_id); 470 int callback_id);
470 void OnShowDesktopNotification( 471 void OnShowDesktopNotification(
471 const DesktopNotificationHostMsg_Show_Params& params); 472 const DesktopNotificationHostMsg_Show_Params& params);
472 void OnCancelDesktopNotification(int notification_id); 473 void OnCancelDesktopNotification(int notification_id);
473 474
474 #if defined(OS_MACOSX) 475 #if defined(OS_MACOSX)
475 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params); 476 void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
476 #endif 477 #endif
477 478
479 void OnRunFileChooser(const ViewHostMsg_RunFileChooser_Params& params);
480
478 private: 481 private:
479 friend class TestRenderViewHost; 482 friend class TestRenderViewHost;
480 483
481 // The SiteInstance associated with this RenderViewHost. All pages drawn 484 // The SiteInstance associated with this RenderViewHost. All pages drawn
482 // in this RenderViewHost are part of this SiteInstance. Should not change 485 // in this RenderViewHost are part of this SiteInstance. Should not change
483 // over time. 486 // over time.
484 scoped_refptr<SiteInstance> instance_; 487 scoped_refptr<SiteInstance> instance_;
485 488
486 // Our delegate, which wants to know about changes in the RenderView. 489 // Our delegate, which wants to know about changes in the RenderView.
487 RenderViewHostDelegate* delegate_; 490 RenderViewHostDelegate* delegate_;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 // The termination status of the last render view that terminated. 558 // The termination status of the last render view that terminated.
556 base::TerminationStatus render_view_termination_status_; 559 base::TerminationStatus render_view_termination_status_;
557 560
558 // A list of observers that filter messages. Weak references. 561 // A list of observers that filter messages. Weak references.
559 ObserverList<RenderViewHostObserver> observers_; 562 ObserverList<RenderViewHostObserver> observers_;
560 563
561 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 564 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
562 }; 565 };
563 566
564 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 567 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | content/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698