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

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

Issue 6480106: Add IPCs to check web copy/cut/paste for extensions with the appropriate permission bit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Prefix new methods with 'web'. 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 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 581 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 const std::wstring& default_prompt, 592 const std::wstring& default_prompt,
593 const GURL& frame_url, 593 const GURL& frame_url,
594 const int flags, 594 const int flags,
595 IPC::Message* reply_msg); 595 IPC::Message* reply_msg);
596 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, 596 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url,
597 const std::wstring& message, 597 const std::wstring& message,
598 IPC::Message* reply_msg); 598 IPC::Message* reply_msg);
599 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height, 599 void OnMsgShowModalHTMLDialog(const GURL& url, int width, int height,
600 const std::string& json_arguments, 600 const std::string& json_arguments,
601 IPC::Message* reply_msg); 601 IPC::Message* reply_msg);
602 void OnIsWebCopyCutEnabled(bool* enabled);
603 void OnIsWebPasteEnabled(bool* enabled);
602 void OnMsgStartDragging(const WebDropData& drop_data, 604 void OnMsgStartDragging(const WebDropData& drop_data,
603 WebKit::WebDragOperationsMask operations_allowed, 605 WebKit::WebDragOperationsMask operations_allowed,
604 const SkBitmap& image, 606 const SkBitmap& image,
605 const gfx::Point& image_offset); 607 const gfx::Point& image_offset);
606 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); 608 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation);
607 void OnTakeFocus(bool reverse); 609 void OnTakeFocus(bool reverse);
608 void OnAddMessageToConsole(const std::wstring& message, 610 void OnAddMessageToConsole(const std::wstring& message,
609 int32 line_no, 611 int32 line_no,
610 const std::wstring& source_id); 612 const std::wstring& source_id);
611 void OnUpdateInspectorSetting(const std::string& key, 613 void OnUpdateInspectorSetting(const std::string& key,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 // The termination status of the last render view that terminated. 728 // The termination status of the last render view that terminated.
727 base::TerminationStatus render_view_termination_status_; 729 base::TerminationStatus render_view_termination_status_;
728 730
729 // The enabled/disabled states of various commands. 731 // The enabled/disabled states of various commands.
730 std::map<RenderViewCommand, CommandState> command_states_; 732 std::map<RenderViewCommand, CommandState> command_states_;
731 733
732 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 734 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
733 }; 735 };
734 736
735 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 737 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698