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

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: Created 4 years, 7 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 (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 "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 // Tell the render view to enable a set of javascript bindings. The argument 95 // Tell the render view to enable a set of javascript bindings. The argument
96 // should be a combination of values from BindingsPolicy. 96 // should be a combination of values from BindingsPolicy.
97 virtual void AllowBindings(int binding_flags) = 0; 97 virtual void AllowBindings(int binding_flags) = 0;
98 98
99 // Tells the renderer to clear the focused element (if any). 99 // Tells the renderer to clear the focused element (if any).
100 virtual void ClearFocusedElement() = 0; 100 virtual void ClearFocusedElement() = 0;
101 101
102 // Returns true if the current focused element is editable. 102 // Returns true if the current focused element is editable.
103 virtual bool IsFocusedElementEditable() = 0; 103 virtual bool IsFocusedElementEditable() = 0;
104 104
105 // Copies the image at location x, y to the clipboard (if there indeed is an
106 // image at that location).
107 virtual void CopyImageAt(int x, int y) = 0;
108
109 // Saves the image at location x, y to the disk (if there indeed is an
110 // image at that location).
111 virtual void SaveImageAt(int x, int y) = 0;
112
113 // Notifies the listener that a directory enumeration is complete. 105 // Notifies the listener that a directory enumeration is complete.
114 virtual void DirectoryEnumerationFinished( 106 virtual void DirectoryEnumerationFinished(
115 int request_id, 107 int request_id,
116 const std::vector<base::FilePath>& files) = 0; 108 const std::vector<base::FilePath>& files) = 0;
117 109
118 // Tells the renderer not to add scrollbars with height and width below a 110 // Tells the renderer not to add scrollbars with height and width below a
119 // threshold. 111 // threshold.
120 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) = 0; 112 virtual void DisableScrollbarsForThreshold(const gfx::Size& size) = 0;
121 113
122 // Notifies the renderer that a a drag operation that it started has ended, 114 // Notifies the renderer that a a drag operation that it started has ended,
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 210
219 private: 211 private:
220 // This interface should only be implemented inside content. 212 // This interface should only be implemented inside content.
221 friend class RenderViewHostImpl; 213 friend class RenderViewHostImpl;
222 RenderViewHost() {} 214 RenderViewHost() {}
223 }; 215 };
224 216
225 } // namespace content 217 } // namespace content
226 218
227 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 219 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698