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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove host_render_view_id Created 9 years, 10 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 306
307 // Captures a snapshot of the page. 307 // Captures a snapshot of the page.
308 void CaptureSnapshot(); 308 void CaptureSnapshot();
309 309
310 // Notifies the RenderView that the JavaScript message that was shown was 310 // Notifies the RenderView that the JavaScript message that was shown was
311 // closed by the user. 311 // closed by the user.
312 void JavaScriptMessageBoxClosed(IPC::Message* reply_msg, 312 void JavaScriptMessageBoxClosed(IPC::Message* reply_msg,
313 bool success, 313 bool success,
314 const std::wstring& prompt); 314 const std::wstring& prompt);
315 315
316 // Notifies the RenderView that the modal html dialog has been closed.
317 void ModalHTMLDialogClosed(IPC::Message* reply_msg,
318 const std::string& json_retval);
319
320 // Send an action to the media player element located at |location|. 316 // Send an action to the media player element located at |location|.
321 void MediaPlayerActionAt(const gfx::Point& location, 317 void MediaPlayerActionAt(const gfx::Point& location,
322 const WebKit::WebMediaPlayerAction& action); 318 const WebKit::WebMediaPlayerAction& action);
323 319
324 // Notifies the renderer that the context menu has closed. 320 // Notifies the renderer that the context menu has closed.
325 void ContextMenuClosed( 321 void ContextMenuClosed(
326 const webkit_glue::CustomContextMenuContext& custom_context); 322 const webkit_glue::CustomContextMenuContext& custom_context);
327 323
328 // Prints the node that's under the context menu. 324 // Prints the node that's under the context menu.
329 void PrintNodeUnderContextMenu(); 325 void PrintNodeUnderContextMenu();
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 void OnMsgSelectionChanged(const std::string& text); 592 void OnMsgSelectionChanged(const std::string& text);
597 void OnMsgPasteFromSelectionClipboard(); 593 void OnMsgPasteFromSelectionClipboard();
598 void OnMsgRunJavaScriptMessage(const std::wstring& message, 594 void OnMsgRunJavaScriptMessage(const std::wstring& message,
599 const std::wstring& default_prompt, 595 const std::wstring& default_prompt,
600 const GURL& frame_url, 596 const GURL& frame_url,
601 const int flags, 597 const int flags,
602 IPC::Message* reply_msg); 598 IPC::Message* reply_msg);
603 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, 599 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url,
604 const std::wstring& message, 600 const std::wstring& message,
605 IPC::Message* reply_msg); 601 IPC::Message* reply_msg);
606 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height,
607 const std::string& json_arguments,
608 IPC::Message* reply_msg);
609 void OnMsgStartDragging(const WebDropData& drop_data, 602 void OnMsgStartDragging(const WebDropData& drop_data,
610 WebKit::WebDragOperationsMask operations_allowed, 603 WebKit::WebDragOperationsMask operations_allowed,
611 const SkBitmap& image, 604 const SkBitmap& image,
612 const gfx::Point& image_offset); 605 const gfx::Point& image_offset);
613 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); 606 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation);
614 void OnTakeFocus(bool reverse); 607 void OnTakeFocus(bool reverse);
615 void OnAddMessageToConsole(const std::wstring& message, 608 void OnAddMessageToConsole(const std::wstring& message,
616 int32 line_no, 609 int32 line_no,
617 const std::wstring& source_id); 610 const std::wstring& source_id);
618 void OnUpdateInspectorSetting(const std::string& key, 611 void OnUpdateInspectorSetting(const std::string& key,
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 // The termination status of the last render view that terminated. 725 // The termination status of the last render view that terminated.
733 base::TerminationStatus render_view_termination_status_; 726 base::TerminationStatus render_view_termination_status_;
734 727
735 // The enabled/disabled states of various commands. 728 // The enabled/disabled states of various commands.
736 std::map<RenderViewCommand, CommandState> command_states_; 729 std::map<RenderViewCommand, CommandState> command_states_;
737 730
738 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 731 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
739 }; 732 };
740 733
741 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 734 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698