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

Side by Side Diff: content/public/browser/render_frame_host.h

Issue 2046293002: Implement DelegationTracker for tracking delegated permissions to RenderFrameHosts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission-delegation-2-blink
Patch Set: 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_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 // Notifies the Listener that one or more files have been chosen by the user 186 // Notifies the Listener that one or more files have been chosen by the user
187 // from a file chooser dialog for the form. |permissions| is the file 187 // from a file chooser dialog for the form. |permissions| is the file
188 // selection mode in which the chooser dialog was created. 188 // selection mode in which the chooser dialog was created.
189 virtual void FilesSelectedInChooser( 189 virtual void FilesSelectedInChooser(
190 const std::vector<content::FileChooserFileInfo>& files, 190 const std::vector<content::FileChooserFileInfo>& files,
191 FileChooserParams::Mode permissions) = 0; 191 FileChooserParams::Mode permissions) = 0;
192 192
193 private: 193 private:
194 // This interface should only be implemented inside content. 194 // This interface should only be implemented inside content.
195 friend class RenderFrameHostImpl; 195 friend class RenderFrameHostImpl;
196 friend class MockRenderFrameHost;
196 RenderFrameHost() {} 197 RenderFrameHost() {}
197 }; 198 };
198 199
199 } // namespace content 200 } // namespace content
200 201
201 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_ 202 #endif // CONTENT_PUBLIC_BROWSER_RENDER_FRAME_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698