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

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

Issue 42435: Implement default css for toolstrips. (Closed)
Patch Set: Fix crash Created 11 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 void DragTargetDrop(const gfx::Point& client_pt, 222 void DragTargetDrop(const gfx::Point& client_pt,
223 const gfx::Point& screen_pt); 223 const gfx::Point& screen_pt);
224 224
225 // Tell the RenderView to reserve a range of page ids of the given size. 225 // Tell the RenderView to reserve a range of page ids of the given size.
226 void ReservePageIDRange(int size); 226 void ReservePageIDRange(int size);
227 227
228 // Runs some javascript within the context of a frame in the page. 228 // Runs some javascript within the context of a frame in the page.
229 void ExecuteJavascriptInWebFrame(const std::wstring& frame_xpath, 229 void ExecuteJavascriptInWebFrame(const std::wstring& frame_xpath,
230 const std::wstring& jscript); 230 const std::wstring& jscript);
231 231
232 // Insert some css into a frame in the page.
233 void InsertCSSInWebFrame(const std::wstring& frame_xpath,
234 const std::string& css);
235
232 // Logs a message to the console of a frame in the page. 236 // Logs a message to the console of a frame in the page.
233 void AddMessageToConsole(const std::wstring& frame_xpath, 237 void AddMessageToConsole(const std::wstring& frame_xpath,
234 const std::wstring& msg, 238 const std::wstring& msg,
235 ConsoleMessageLevel level); 239 ConsoleMessageLevel level);
236 240
237 // Send command to the debugger 241 // Send command to the debugger
238 void DebugCommand(const std::wstring& cmd); 242 void DebugCommand(const std::wstring& cmd);
239 243
240 // Attach to the V8 instance for debugging 244 // Attach to the V8 instance for debugging
241 void DebugAttach(); 245 void DebugAttach();
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 virtual ~RenderViewHostFactory() {} 640 virtual ~RenderViewHostFactory() {}
637 641
638 virtual RenderViewHost* CreateRenderViewHost( 642 virtual RenderViewHost* CreateRenderViewHost(
639 SiteInstance* instance, 643 SiteInstance* instance,
640 RenderViewHostDelegate* delegate, 644 RenderViewHostDelegate* delegate,
641 int routing_id, 645 int routing_id,
642 base::WaitableEvent* modal_dialog_event) = 0; 646 base::WaitableEvent* modal_dialog_event) = 0;
643 }; 647 };
644 648
645 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 649 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698