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

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

Issue 188923002: Move RenderViewHost::InsertCSS to RenderFrameHost. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nasko Created 6 years, 9 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 <list> 8 #include <list>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 FileChooserParams::Mode permissions) = 0; 195 FileChooserParams::Mode permissions) = 0;
196 196
197 virtual RenderViewHostDelegate* GetDelegate() const = 0; 197 virtual RenderViewHostDelegate* GetDelegate() const = 0;
198 198
199 // Returns a bitwise OR of bindings types that have been enabled for this 199 // Returns a bitwise OR of bindings types that have been enabled for this
200 // RenderView. See BindingsPolicy for details. 200 // RenderView. See BindingsPolicy for details.
201 virtual int GetEnabledBindings() const = 0; 201 virtual int GetEnabledBindings() const = 0;
202 202
203 virtual SiteInstance* GetSiteInstance() const = 0; 203 virtual SiteInstance* GetSiteInstance() const = 0;
204 204
205 // Requests the renderer to evaluate an xpath to a frame and insert css
206 // into that frame's document.
207 virtual void InsertCSS(const base::string16& frame_xpath,
208 const std::string& css) = 0;
209
210 // Returns true if the RenderView is active and has not crashed. Virtual 205 // Returns true if the RenderView is active and has not crashed. Virtual
211 // because it is overridden by TestRenderViewHost. 206 // because it is overridden by TestRenderViewHost.
212 virtual bool IsRenderViewLive() const = 0; 207 virtual bool IsRenderViewLive() const = 0;
213 208
214 // Notification that a move or resize renderer's containing window has 209 // Notification that a move or resize renderer's containing window has
215 // started. 210 // started.
216 virtual void NotifyMoveOrResizeStarted() = 0; 211 virtual void NotifyMoveOrResizeStarted() = 0;
217 212
218 // Reloads the current focused frame. 213 // Reloads the current focused frame.
219 virtual void ReloadFrame() = 0; 214 virtual void ReloadFrame() = 0;
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 260
266 private: 261 private:
267 // This interface should only be implemented inside content. 262 // This interface should only be implemented inside content.
268 friend class RenderViewHostImpl; 263 friend class RenderViewHostImpl;
269 RenderViewHost() {} 264 RenderViewHost() {}
270 }; 265 };
271 266
272 } // namespace content 267 } // namespace content
273 268
274 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 269 #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