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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 18129002: Update the child process security policy to use explicit permission grants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Change RVH to use FileChooserParam mode Created 7 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 virtual void ExecutePluginActionAtLocation( 185 virtual void ExecutePluginActionAtLocation(
186 const gfx::Point& location, 186 const gfx::Point& location,
187 const WebKit::WebPluginAction& action) OVERRIDE; 187 const WebKit::WebPluginAction& action) OVERRIDE;
188 virtual void ExitFullscreen() OVERRIDE; 188 virtual void ExitFullscreen() OVERRIDE;
189 virtual void Find(int request_id, const string16& search_text, 189 virtual void Find(int request_id, const string16& search_text,
190 const WebKit::WebFindOptions& options) OVERRIDE; 190 const WebKit::WebFindOptions& options) OVERRIDE;
191 virtual void StopFinding(StopFindAction action) OVERRIDE; 191 virtual void StopFinding(StopFindAction action) OVERRIDE;
192 virtual void FirePageBeforeUnload(bool for_cross_site_transition) OVERRIDE; 192 virtual void FirePageBeforeUnload(bool for_cross_site_transition) OVERRIDE;
193 virtual void FilesSelectedInChooser( 193 virtual void FilesSelectedInChooser(
194 const std::vector<ui::SelectedFileInfo>& files, 194 const std::vector<ui::SelectedFileInfo>& files,
195 int permissions) OVERRIDE; 195 FileChooserParams::Mode permissions) OVERRIDE;
196 virtual RenderViewHostDelegate* GetDelegate() const OVERRIDE; 196 virtual RenderViewHostDelegate* GetDelegate() const OVERRIDE;
197 virtual int GetEnabledBindings() const OVERRIDE; 197 virtual int GetEnabledBindings() const OVERRIDE;
198 virtual SiteInstance* GetSiteInstance() const OVERRIDE; 198 virtual SiteInstance* GetSiteInstance() const OVERRIDE;
199 virtual void InsertCSS(const string16& frame_xpath, 199 virtual void InsertCSS(const string16& frame_xpath,
200 const std::string& css) OVERRIDE; 200 const std::string& css) OVERRIDE;
201 virtual bool IsRenderViewLive() const OVERRIDE; 201 virtual bool IsRenderViewLive() const OVERRIDE;
202 virtual bool IsSubframe() const OVERRIDE; 202 virtual bool IsSubframe() const OVERRIDE;
203 virtual void NotifyContextMenuClosed( 203 virtual void NotifyContextMenuClosed(
204 const CustomContextMenuContext& context) OVERRIDE; 204 const CustomContextMenuContext& context) OVERRIDE;
205 virtual void NotifyMoveOrResizeStarted() OVERRIDE; 205 virtual void NotifyMoveOrResizeStarted() OVERRIDE;
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 721 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
722 }; 722 };
723 723
724 #if defined(COMPILER_MSVC) 724 #if defined(COMPILER_MSVC)
725 #pragma warning(pop) 725 #pragma warning(pop)
726 #endif 726 #endif
727 727
728 } // namespace content 728 } // namespace content
729 729
730 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 730 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/child_process_security_policy_unittest.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698