| 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 <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 #include "third_party/WebKit/public/web/WebContentDetectionResult.h" | 66 #include "third_party/WebKit/public/web/WebContentDetectionResult.h" |
| 67 #endif | 67 #endif |
| 68 | 68 |
| 69 #if defined(COMPILER_MSVC) | 69 #if defined(COMPILER_MSVC) |
| 70 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the | 70 // RenderViewImpl is a diamond-shaped hierarchy, with WebWidgetClient at the |
| 71 // root. VS warns when we inherit the WebWidgetClient method implementations | 71 // root. VS warns when we inherit the WebWidgetClient method implementations |
| 72 // from RenderWidget. It's safe to ignore that warning. | 72 // from RenderWidget. It's safe to ignore that warning. |
| 73 #pragma warning(disable: 4250) | 73 #pragma warning(disable: 4250) |
| 74 #endif | 74 #endif |
| 75 | 75 |
| 76 class CommandLine; | |
| 77 class PepperDeviceTest; | 76 class PepperDeviceTest; |
| 78 class SkBitmap; | 77 class SkBitmap; |
| 79 struct PP_NetAddress_Private; | 78 struct PP_NetAddress_Private; |
| 80 struct FrameMsg_Navigate_Params; | 79 struct FrameMsg_Navigate_Params; |
| 81 struct ViewMsg_PostMessage_Params; | 80 struct ViewMsg_PostMessage_Params; |
| 82 struct ViewMsg_StopFinding_Params; | 81 struct ViewMsg_StopFinding_Params; |
| 83 | 82 |
| 83 namespace base { |
| 84 class CommandLine; |
| 85 } |
| 86 |
| 84 namespace ui { | 87 namespace ui { |
| 85 struct SelectedFileInfo; | 88 struct SelectedFileInfo; |
| 86 } // namespace ui | 89 } // namespace ui |
| 87 | 90 |
| 88 namespace blink { | 91 namespace blink { |
| 89 class WebApplicationCacheHost; | 92 class WebApplicationCacheHost; |
| 90 class WebApplicationCacheHostClient; | 93 class WebApplicationCacheHostClient; |
| 91 class WebDOMMessageEvent; | 94 class WebDOMMessageEvent; |
| 92 class WebDataSource; | 95 class WebDataSource; |
| 93 class WebDateTimeChooserCompletion; | 96 class WebDateTimeChooserCompletion; |
| (...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 // If we initiated a navigation, this function will populate |document_state| | 1018 // If we initiated a navigation, this function will populate |document_state| |
| 1016 // with the navigation information saved in OnNavigate(). | 1019 // with the navigation information saved in OnNavigate(). |
| 1017 void PopulateDocumentStateFromPending(DocumentState* document_state); | 1020 void PopulateDocumentStateFromPending(DocumentState* document_state); |
| 1018 | 1021 |
| 1019 // Returns a new NavigationState populated with the navigation information | 1022 // Returns a new NavigationState populated with the navigation information |
| 1020 // saved in OnNavigate(). | 1023 // saved in OnNavigate(). |
| 1021 NavigationState* CreateNavigationStateFromPending(); | 1024 NavigationState* CreateNavigationStateFromPending(); |
| 1022 | 1025 |
| 1023 // Processes the command-line flags --enable-viewport, | 1026 // Processes the command-line flags --enable-viewport, |
| 1024 // --enable-fixed-layout[=w,h] and --enable-pinch. | 1027 // --enable-fixed-layout[=w,h] and --enable-pinch. |
| 1025 void ProcessViewLayoutFlags(const CommandLine& command_line); | 1028 void ProcessViewLayoutFlags(const base::CommandLine& command_line); |
| 1026 | 1029 |
| 1027 #if defined(OS_ANDROID) | 1030 #if defined(OS_ANDROID) |
| 1028 // Launch an Android content intent with the given URL. | 1031 // Launch an Android content intent with the given URL. |
| 1029 void LaunchAndroidContentIntent(const GURL& intent_url, size_t request_id); | 1032 void LaunchAndroidContentIntent(const GURL& intent_url, size_t request_id); |
| 1030 | 1033 |
| 1031 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( | 1034 blink::WebMediaPlayer* CreateAndroidWebMediaPlayer( |
| 1032 blink::WebFrame* frame, | 1035 blink::WebFrame* frame, |
| 1033 const blink::WebURL& url, | 1036 const blink::WebURL& url, |
| 1034 blink::WebMediaPlayerClient* client); | 1037 blink::WebMediaPlayerClient* client); |
| 1035 #endif | 1038 #endif |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1437 // use the Observer interface to filter IPC messages and receive frame change | 1440 // use the Observer interface to filter IPC messages and receive frame change |
| 1438 // notifications. | 1441 // notifications. |
| 1439 // --------------------------------------------------------------------------- | 1442 // --------------------------------------------------------------------------- |
| 1440 | 1443 |
| 1441 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1444 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1442 }; | 1445 }; |
| 1443 | 1446 |
| 1444 } // namespace content | 1447 } // namespace content |
| 1445 | 1448 |
| 1446 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1449 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |