| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 WebKit::WebDragOperationsMask operations_allowed); | 532 WebKit::WebDragOperationsMask operations_allowed); |
| 533 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); | 533 void OnUpdateDragCursor(WebKit::WebDragOperation drag_operation); |
| 534 void OnTakeFocus(bool reverse); | 534 void OnTakeFocus(bool reverse); |
| 535 void OnMsgPageHasOSDD(int32 page_id, const GURL& doc_url, bool autodetected); | 535 void OnMsgPageHasOSDD(int32 page_id, const GURL& doc_url, bool autodetected); |
| 536 void OnDidGetPrintedPagesCount(int cookie, int number_pages); | 536 void OnDidGetPrintedPagesCount(int cookie, int number_pages); |
| 537 void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params); | 537 void DidPrintPage(const ViewHostMsg_DidPrintPage_Params& params); |
| 538 void OnAddMessageToConsole(const std::wstring& message, | 538 void OnAddMessageToConsole(const std::wstring& message, |
| 539 int32 line_no, | 539 int32 line_no, |
| 540 const std::wstring& source_id); | 540 const std::wstring& source_id); |
| 541 | 541 |
| 542 void OnUpdateInspectorSettings(const std::wstring& raw_settings); | 542 void OnUpdateInspectorSettings(const std::string& raw_settings); |
| 543 void OnForwardToDevToolsAgent(const IPC::Message& message); | 543 void OnForwardToDevToolsAgent(const IPC::Message& message); |
| 544 void OnForwardToDevToolsClient(const IPC::Message& message); | 544 void OnForwardToDevToolsClient(const IPC::Message& message); |
| 545 void OnActivateDevToolsWindow(); | 545 void OnActivateDevToolsWindow(); |
| 546 void OnCloseDevToolsWindow(); | 546 void OnCloseDevToolsWindow(); |
| 547 void OnDockDevToolsWindow(); | 547 void OnDockDevToolsWindow(); |
| 548 void OnUndockDevToolsWindow(); | 548 void OnUndockDevToolsWindow(); |
| 549 void OnToggleInspectElementMode(bool enabled); | 549 void OnToggleInspectElementMode(bool enabled); |
| 550 | 550 |
| 551 void OnUserMetricsRecordAction(const std::wstring& action); | 551 void OnUserMetricsRecordAction(const std::wstring& action); |
| 552 void OnMissingPluginStatus(int status); | 552 void OnMissingPluginStatus(int status); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 651 // While in this mode, mouse click is converted into InspectElement | 651 // While in this mode, mouse click is converted into InspectElement |
| 652 // command. | 652 // command. |
| 653 bool in_inspect_element_mode_; | 653 bool in_inspect_element_mode_; |
| 654 | 654 |
| 655 NotificationRegistrar registrar_; | 655 NotificationRegistrar registrar_; |
| 656 | 656 |
| 657 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); | 657 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); |
| 658 }; | 658 }; |
| 659 | 659 |
| 660 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 660 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |