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

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: merge boo boo 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 (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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 202
211 private: 203 private:
212 // This interface should only be implemented inside content. 204 // This interface should only be implemented inside content.
213 friend class RenderViewHostImpl; 205 friend class RenderViewHostImpl;
214 RenderViewHost() {} 206 RenderViewHost() {}
215 }; 207 };
216 208
217 } // namespace content 209 } // namespace content
218 210
219 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 211 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698