| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 int32 status); | 542 int32 status); |
| 543 | 543 |
| 544 void OnDidGetApplicationInfo(int32 page_id, | 544 void OnDidGetApplicationInfo(int32 page_id, |
| 545 const webkit_glue::WebApplicationInfo& info); | 545 const webkit_glue::WebApplicationInfo& info); |
| 546 void OnMsgShouldCloseACK(bool proceed); | 546 void OnMsgShouldCloseACK(bool proceed); |
| 547 void OnUnloadListenerChanged(bool has_handler); | 547 void OnUnloadListenerChanged(bool has_handler); |
| 548 void OnQueryFormFieldAutofill(const std::wstring& field_name, | 548 void OnQueryFormFieldAutofill(const std::wstring& field_name, |
| 549 const std::wstring& user_text, | 549 const std::wstring& user_text, |
| 550 int64 node_id, | 550 int64 node_id, |
| 551 int request_id); | 551 int request_id); |
| 552 void OnRemoveAutofillEntry(const std::wstring& field_name, |
| 553 const std::wstring& value); |
| 552 | 554 |
| 553 // Helper function to send a navigation message. If a cross-site request is | 555 // Helper function to send a navigation message. If a cross-site request is |
| 554 // in progress, we may be suspended while waiting for the onbeforeunload | 556 // in progress, we may be suspended while waiting for the onbeforeunload |
| 555 // handler, so this function might buffer the message rather than sending it. | 557 // handler, so this function might buffer the message rather than sending it. |
| 556 void DoNavigate(ViewMsg_Navigate* nav_message); | 558 void DoNavigate(ViewMsg_Navigate* nav_message); |
| 557 | 559 |
| 558 private: | 560 private: |
| 559 friend class TestRenderViewHost; | 561 friend class TestRenderViewHost; |
| 560 | 562 |
| 561 void UpdateBackForwardListCount(); | 563 void UpdateBackForwardListCount(); |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 643 virtual ~RenderViewHostFactory() {} | 645 virtual ~RenderViewHostFactory() {} |
| 644 | 646 |
| 645 virtual RenderViewHost* CreateRenderViewHost( | 647 virtual RenderViewHost* CreateRenderViewHost( |
| 646 SiteInstance* instance, | 648 SiteInstance* instance, |
| 647 RenderViewHostDelegate* delegate, | 649 RenderViewHostDelegate* delegate, |
| 648 int routing_id, | 650 int routing_id, |
| 649 base::WaitableEvent* modal_dialog_event) = 0; | 651 base::WaitableEvent* modal_dialog_event) = 0; |
| 650 }; | 652 }; |
| 651 | 653 |
| 652 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ | 654 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |