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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 204022: ExtensionShelf now uses the BookmarkExtensionBackground, just like the Bookma... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 void DragTargetDrop(const gfx::Point& client_pt, 251 void DragTargetDrop(const gfx::Point& client_pt,
252 const gfx::Point& screen_pt); 252 const gfx::Point& screen_pt);
253 253
254 // Tell the RenderView to reserve a range of page ids of the given size. 254 // Tell the RenderView to reserve a range of page ids of the given size.
255 void ReservePageIDRange(int size); 255 void ReservePageIDRange(int size);
256 256
257 // Runs some javascript within the context of a frame in the page. 257 // Runs some javascript within the context of a frame in the page.
258 void ExecuteJavascriptInWebFrame(const std::wstring& frame_xpath, 258 void ExecuteJavascriptInWebFrame(const std::wstring& frame_xpath,
259 const std::wstring& jscript); 259 const std::wstring& jscript);
260 260
261 // Insert some css into a frame in the page. 261 // Insert some css into a frame in the page. |id| is optional, and specifies
262 // the element id given when inserting/replacing the style element.
262 void InsertCSSInWebFrame(const std::wstring& frame_xpath, 263 void InsertCSSInWebFrame(const std::wstring& frame_xpath,
263 const std::string& css); 264 const std::string& css,
265 const std::string& id);
264 266
265 // Logs a message to the console of a frame in the page. 267 // Logs a message to the console of a frame in the page.
266 void AddMessageToConsole(const string16& frame_xpath, 268 void AddMessageToConsole(const string16& frame_xpath,
267 const string16& message, 269 const string16& message,
268 const WebKit::WebConsoleMessage::Level&); 270 const WebKit::WebConsoleMessage::Level&);
269 271
270 // Edit operations. 272 // Edit operations.
271 void Undo(); 273 void Undo();
272 void Redo(); 274 void Redo();
273 void Cut(); 275 void Cut();
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
659 // While in this mode, mouse click is converted into InspectElement 661 // While in this mode, mouse click is converted into InspectElement
660 // command. 662 // command.
661 bool in_inspect_element_mode_; 663 bool in_inspect_element_mode_;
662 664
663 NotificationRegistrar registrar_; 665 NotificationRegistrar registrar_;
664 666
665 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 667 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
666 }; 668 };
667 669
668 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 670 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_host.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698