| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_RENDER_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 // from RenderWidget. It's safe to ignore that warning. | 60 // from RenderWidget. It's safe to ignore that warning. |
| 61 #pragma warning(disable: 4250) | 61 #pragma warning(disable: 4250) |
| 62 #endif | 62 #endif |
| 63 | 63 |
| 64 class CommandLine; | 64 class CommandLine; |
| 65 class PepperDeviceTest; | 65 class PepperDeviceTest; |
| 66 class SkBitmap; | 66 class SkBitmap; |
| 67 struct PP_NetAddress_Private; | 67 struct PP_NetAddress_Private; |
| 68 struct ViewMsg_Navigate_Params; | 68 struct ViewMsg_Navigate_Params; |
| 69 struct ViewMsg_PostMessage_Params; | 69 struct ViewMsg_PostMessage_Params; |
| 70 struct ViewMsg_PostRequest_Params; |
| 70 struct ViewMsg_StopFinding_Params; | 71 struct ViewMsg_StopFinding_Params; |
| 71 struct ViewMsg_SwapOut_Params; | 72 struct ViewMsg_SwapOut_Params; |
| 72 struct WebDropData; | 73 struct WebDropData; |
| 73 | 74 |
| 74 namespace ui { | 75 namespace ui { |
| 75 struct SelectedFileInfo; | 76 struct SelectedFileInfo; |
| 76 } // namespace ui | 77 } // namespace ui |
| 77 | 78 |
| 78 namespace webkit { | 79 namespace webkit { |
| 79 | 80 |
| (...skipping 772 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 // called, that means we have got whole html page. In here we should | 853 // called, that means we have got whole html page. In here we should |
| 853 // finally get right encoding of page. | 854 // finally get right encoding of page. |
| 854 void UpdateEncoding(WebKit::WebFrame* frame, | 855 void UpdateEncoding(WebKit::WebFrame* frame, |
| 855 const std::string& encoding_name); | 856 const std::string& encoding_name); |
| 856 | 857 |
| 857 void OpenURL(WebKit::WebFrame* frame, | 858 void OpenURL(WebKit::WebFrame* frame, |
| 858 const GURL& url, | 859 const GURL& url, |
| 859 const Referrer& referrer, | 860 const Referrer& referrer, |
| 860 WebKit::WebNavigationPolicy policy); | 861 WebKit::WebNavigationPolicy policy); |
| 861 | 862 |
| 863 void OpenPostURL(WebKit::WebFrame* frame, |
| 864 const GURL& url, |
| 865 const content::Referrer& referrer, |
| 866 WebKit::WebNavigationPolicy policy, |
| 867 const ViewMsg_PostRequest_Params& request); |
| 868 |
| 862 bool RunJavaScriptMessage(JavaScriptMessageType type, | 869 bool RunJavaScriptMessage(JavaScriptMessageType type, |
| 863 const string16& message, | 870 const string16& message, |
| 864 const string16& default_value, | 871 const string16& default_value, |
| 865 const GURL& frame_url, | 872 const GURL& frame_url, |
| 866 string16* result); | 873 string16* result); |
| 867 | 874 |
| 868 // Sends a message and runs a nested message loop. | 875 // Sends a message and runs a nested message loop. |
| 869 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); | 876 bool SendAndRunNestedMessageLoop(IPC::SyncMessage* message); |
| 870 | 877 |
| 871 // Called when the "pinned to left/right edge" state needs to be updated. | 878 // Called when the "pinned to left/right edge" state needs to be updated. |
| (...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1544 // use the Observer interface to filter IPC messages and receive frame change | 1551 // use the Observer interface to filter IPC messages and receive frame change |
| 1545 // notifications. | 1552 // notifications. |
| 1546 // --------------------------------------------------------------------------- | 1553 // --------------------------------------------------------------------------- |
| 1547 | 1554 |
| 1548 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1555 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1549 }; | 1556 }; |
| 1550 | 1557 |
| 1551 } // namespace content | 1558 } // namespace content |
| 1552 | 1559 |
| 1553 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1560 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |