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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 const string16& message, | 439 const string16& message, |
440 IPC::Message* reply_msg); | 440 IPC::Message* reply_msg); |
441 void OnMsgStartDragging(const WebDropData& drop_data, | 441 void OnMsgStartDragging(const WebDropData& drop_data, |
442 WebKit::WebDragOperationsMask operations_allowed, | 442 WebKit::WebDragOperationsMask operations_allowed, |
443 const SkBitmap& image, | 443 const SkBitmap& image, |
444 const gfx::Point& image_offset); | 444 const gfx::Point& image_offset); |
445 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); | 445 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); |
446 void OnTargetDropACK(); | 446 void OnTargetDropACK(); |
447 void OnTakeFocus(bool reverse); | 447 void OnTakeFocus(bool reverse); |
448 void OnAddMessageToConsole(int32 level, | 448 void OnAddMessageToConsole(int32 level, |
449 const std::wstring& message, | 449 const string16& message, |
450 int32 line_no, | 450 int32 line_no, |
451 const std::wstring& source_id); | 451 const string16& source_id); |
452 void OnUpdateInspectorSetting(const std::string& key, | 452 void OnUpdateInspectorSetting(const std::string& key, |
453 const std::string& value); | 453 const std::string& value); |
454 void OnMsgShouldCloseACK(bool proceed); | 454 void OnMsgShouldCloseACK(bool proceed); |
455 void OnMsgClosePageACK(); | 455 void OnMsgClosePageACK(); |
456 void OnAccessibilityNotifications( | 456 void OnAccessibilityNotifications( |
457 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); | 457 const std::vector<ViewHostMsg_AccessibilityNotification_Params>& params); |
458 void OnScriptEvalResponse(int id, const base::ListValue& result); | 458 void OnScriptEvalResponse(int id, const base::ListValue& result); |
459 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); | 459 void OnDidZoomURL(double zoom_level, bool remember, const GURL& url); |
460 void OnRequestDesktopNotificationPermission(const GURL& origin, | 460 void OnRequestDesktopNotificationPermission(const GURL& origin, |
461 int callback_id); | 461 int callback_id); |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 // The termination status of the last render view that terminated. | 547 // The termination status of the last render view that terminated. |
548 base::TerminationStatus render_view_termination_status_; | 548 base::TerminationStatus render_view_termination_status_; |
549 | 549 |
550 // A list of observers that filter messages. Weak references. | 550 // A list of observers that filter messages. Weak references. |
551 ObserverList<RenderViewHostObserver> observers_; | 551 ObserverList<RenderViewHostObserver> observers_; |
552 | 552 |
553 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 553 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
554 }; | 554 }; |
555 | 555 |
556 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 556 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
OLD | NEW |