OLD | NEW |
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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, | 557 void OnMsgRunBeforeUnloadConfirm(const GURL& frame_url, |
558 const string16& message, | 558 const string16& message, |
559 IPC::Message* reply_msg); | 559 IPC::Message* reply_msg); |
560 void OnMsgStartDragging(const WebDropData& drop_data, | 560 void OnMsgStartDragging(const WebDropData& drop_data, |
561 WebKit::WebDragOperationsMask operations_allowed, | 561 WebKit::WebDragOperationsMask operations_allowed, |
562 const SkBitmap& image, | 562 const SkBitmap& image, |
563 const gfx::Point& image_offset); | 563 const gfx::Point& image_offset); |
564 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); | 564 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); |
565 void OnTargetDropACK(); | 565 void OnTargetDropACK(); |
566 void OnTakeFocus(bool reverse); | 566 void OnTakeFocus(bool reverse); |
567 void OnFocusedNodeChanged(bool is_editable_node); | |
568 void OnAddMessageToConsole(int32 level, | 567 void OnAddMessageToConsole(int32 level, |
569 const string16& message, | 568 const string16& message, |
570 int32 line_no, | 569 int32 line_no, |
571 const string16& source_id); | 570 const string16& source_id); |
572 void OnUpdateInspectorSetting(const std::string& key, | 571 void OnUpdateInspectorSetting(const std::string& key, |
573 const std::string& value); | 572 const std::string& value); |
574 void OnMsgShouldCloseACK(bool proceed); | 573 void OnMsgShouldCloseACK(bool proceed); |
575 void OnMsgClosePageACK(); | 574 void OnMsgClosePageACK(); |
576 void OnAccessibilityNotifications( | 575 void OnAccessibilityNotifications( |
577 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 576 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; | 681 typedef std::map<int64, PowerSaveBlocker*> PowerSaveBlockerMap; |
683 PowerSaveBlockerMap power_save_blockers_; | 682 PowerSaveBlockerMap power_save_blockers_; |
684 | 683 |
685 // A list of observers that filter messages. Weak references. | 684 // A list of observers that filter messages. Weak references. |
686 ObserverList<content::RenderViewHostObserver> observers_; | 685 ObserverList<content::RenderViewHostObserver> observers_; |
687 | 686 |
688 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 687 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
689 }; | 688 }; |
690 | 689 |
691 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 690 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |