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

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

Issue 1836973003: Move download messages from Renderer to Frame filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments, merge 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
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 // Tell the render view to enable a set of javascript bindings. The argument 94 // Tell the render view to enable a set of javascript bindings. The argument
95 // should be a combination of values from BindingsPolicy. 95 // should be a combination of values from BindingsPolicy.
96 virtual void AllowBindings(int binding_flags) = 0; 96 virtual void AllowBindings(int binding_flags) = 0;
97 97
98 // Tells the renderer to clear the focused element (if any). 98 // Tells the renderer to clear the focused element (if any).
99 virtual void ClearFocusedElement() = 0; 99 virtual void ClearFocusedElement() = 0;
100 100
101 // Returns true if the current focused element is editable. 101 // Returns true if the current focused element is editable.
102 virtual bool IsFocusedElementEditable() = 0; 102 virtual bool IsFocusedElementEditable() = 0;
103 103
104 // Copies the image at location x, y to the clipboard (if there indeed is an
105 // image at that location).
106 virtual void CopyImageAt(int x, int y) = 0;
107
108 // Saves the image at location x, y to the disk (if there indeed is an
109 // image at that location).
110 virtual void SaveImageAt(int x, int y) = 0;
111
112 // Notifies the listener that a directory enumeration is complete. 104 // Notifies the listener that a directory enumeration is complete.
113 virtual void DirectoryEnumerationFinished( 105 virtual void DirectoryEnumerationFinished(
114 int request_id, 106 int request_id,
115 const std::vector<base::FilePath>& files) = 0; 107 const std::vector<base::FilePath>& files) = 0;
116 108
117 // Tells the renderer not to add scrollbars with height and width below a 109 // Tells the renderer not to add scrollbars with height and width below a
118 // threshold. 110 // threshold.
119 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) = 0; 111 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) = 0;
120 112
121 // Notifies the renderer that a a drag operation that it started has ended, 113 // Notifies the renderer that a a drag operation that it started has ended,
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 204
213 private: 205 private:
214 // This interface should only be implemented inside content. 206 // This interface should only be implemented inside content.
215 friend class RenderViewHostImpl; 207 friend class RenderViewHostImpl;
216 RenderViewHost() {} 208 RenderViewHost() {}
217 }; 209 };
218 210
219 } // namespace content 211 } // namespace content
220 212
221 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 213 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_frame_host.h ('k') | content/renderer/render_frame_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698