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

Side by Side Diff: content/browser/frame_host/render_frame_host_impl.h

Issue 2059533002: Change WebContentsDelegate::RunFileChooser to be frame based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes based on reviews. Created 4 years, 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 class RenderWidgetHostImpl; 86 class RenderWidgetHostImpl;
87 class RenderWidgetHostView; 87 class RenderWidgetHostView;
88 class RenderWidgetHostViewBase; 88 class RenderWidgetHostViewBase;
89 class ResourceRequestBody; 89 class ResourceRequestBody;
90 class StreamHandle; 90 class StreamHandle;
91 class TimeoutMonitor; 91 class TimeoutMonitor;
92 class WebBluetoothServiceImpl; 92 class WebBluetoothServiceImpl;
93 struct ContentSecurityPolicyHeader; 93 struct ContentSecurityPolicyHeader;
94 struct ContextMenuParams; 94 struct ContextMenuParams;
95 struct GlobalRequestID; 95 struct GlobalRequestID;
96 struct FileChooserParams;
96 struct Referrer; 97 struct Referrer;
97 struct ResourceResponse; 98 struct ResourceResponse;
98 99
99 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, 100 class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost,
100 public BrowserAccessibilityDelegate, 101 public BrowserAccessibilityDelegate,
101 public SiteInstanceImpl::Observer { 102 public SiteInstanceImpl::Observer {
102 public: 103 public:
103 using AXTreeSnapshotCallback = 104 using AXTreeSnapshotCallback =
104 base::Callback<void( 105 base::Callback<void(
105 const ui::AXTreeUpdate&)>; 106 const ui::AXTreeUpdate&)>;
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 const JavaScriptResultCallback& callback) override; 144 const JavaScriptResultCallback& callback) override;
144 void ExecuteJavaScriptWithUserGestureForTests( 145 void ExecuteJavaScriptWithUserGestureForTests(
145 const base::string16& javascript) override; 146 const base::string16& javascript) override;
146 void ActivateFindInPageResultForAccessibility(int request_id) override; 147 void ActivateFindInPageResultForAccessibility(int request_id) override;
147 void InsertVisualStateCallback(const VisualStateCallback& callback) override; 148 void InsertVisualStateCallback(const VisualStateCallback& callback) override;
148 RenderViewHost* GetRenderViewHost() override; 149 RenderViewHost* GetRenderViewHost() override;
149 ServiceRegistry* GetServiceRegistry() override; 150 ServiceRegistry* GetServiceRegistry() override;
150 blink::WebPageVisibilityState GetVisibilityState() override; 151 blink::WebPageVisibilityState GetVisibilityState() override;
151 bool IsRenderFrameLive() override; 152 bool IsRenderFrameLive() override;
152 int GetProxyCount() override; 153 int GetProxyCount() override;
154 void FilesSelectedInChooser(const std::vector<FileChooserFileInfo>& files,
155 FileChooserParams::Mode permissions) override;
153 156
154 // IPC::Sender 157 // IPC::Sender
155 bool Send(IPC::Message* msg) override; 158 bool Send(IPC::Message* msg) override;
156 159
157 // IPC::Listener 160 // IPC::Listener
158 bool OnMessageReceived(const IPC::Message& msg) override; 161 bool OnMessageReceived(const IPC::Message& msg) override;
159 162
160 // BrowserAccessibilityDelegate 163 // BrowserAccessibilityDelegate
161 void AccessibilitySetFocus(int acc_obj_id) override; 164 void AccessibilitySetFocus(int acc_obj_id) override;
162 void AccessibilityDoDefaultAction(int acc_obj_id) override; 165 void AccessibilityDoDefaultAction(int acc_obj_id) override;
(...skipping 833 matching lines...) Expand 10 before | Expand all | Expand 10 after
996 999
997 // NOTE: This must be the last member. 1000 // NOTE: This must be the last member.
998 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; 1001 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_;
999 1002
1000 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); 1003 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl);
1001 }; 1004 };
1002 1005
1003 } // namespace content 1006 } // namespace content
1004 1007
1005 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ 1008 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « components/guest_view/browser/guest_view_base.cc ('k') | content/browser/frame_host/render_frame_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698