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 21 matching lines...) Expand all Loading... |
32 #include "content/public/common/page_zoom.h" | 32 #include "content/public/common/page_zoom.h" |
33 #include "content/public/common/referrer.h" | 33 #include "content/public/common/referrer.h" |
34 #include "content/public/common/renderer_preferences.h" | 34 #include "content/public/common/renderer_preferences.h" |
35 #include "content/public/common/stop_find_action.h" | 35 #include "content/public/common/stop_find_action.h" |
36 #include "content/public/common/top_controls_state.h" | 36 #include "content/public/common/top_controls_state.h" |
37 #include "content/public/renderer/render_view.h" | 37 #include "content/public/renderer/render_view.h" |
38 #include "content/renderer/media/webmediaplayer_delegate.h" | 38 #include "content/renderer/media/webmediaplayer_delegate.h" |
39 #include "content/renderer/mouse_lock_dispatcher.h" | 39 #include "content/renderer/mouse_lock_dispatcher.h" |
40 #include "content/renderer/render_frame_impl.h" | 40 #include "content/renderer/render_frame_impl.h" |
41 #include "content/renderer/render_widget.h" | 41 #include "content/renderer/render_widget.h" |
| 42 #include "content/renderer/renderer_date_time_picker.h" |
42 #include "content/renderer/renderer_webcookiejar_impl.h" | 43 #include "content/renderer/renderer_webcookiejar_impl.h" |
43 #include "content/renderer/stats_collection_observer.h" | 44 #include "content/renderer/stats_collection_observer.h" |
44 #include "ipc/ipc_platform_file.h" | 45 #include "ipc/ipc_platform_file.h" |
45 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" | 46 #include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
46 #include "third_party/WebKit/public/web/WebAXObject.h" | 47 #include "third_party/WebKit/public/web/WebAXObject.h" |
47 #include "third_party/WebKit/public/web/WebConsoleMessage.h" | 48 #include "third_party/WebKit/public/web/WebConsoleMessage.h" |
48 #include "third_party/WebKit/public/web/WebDataSource.h" | 49 #include "third_party/WebKit/public/web/WebDataSource.h" |
49 #include "third_party/WebKit/public/web/WebFrameClient.h" | 50 #include "third_party/WebKit/public/web/WebFrameClient.h" |
50 #include "third_party/WebKit/public/web/WebHistoryItem.h" | 51 #include "third_party/WebKit/public/web/WebHistoryItem.h" |
51 #include "third_party/WebKit/public/web/WebIconURL.h" | 52 #include "third_party/WebKit/public/web/WebIconURL.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 class MIDIDispatcher; | 146 class MIDIDispatcher; |
146 class MediaStreamClient; | 147 class MediaStreamClient; |
147 class MediaStreamDispatcher; | 148 class MediaStreamDispatcher; |
148 class MouseLockDispatcher; | 149 class MouseLockDispatcher; |
149 class NavigationState; | 150 class NavigationState; |
150 class NotificationProvider; | 151 class NotificationProvider; |
151 class PepperPluginInstanceImpl; | 152 class PepperPluginInstanceImpl; |
152 class RenderViewObserver; | 153 class RenderViewObserver; |
153 class RenderViewTest; | 154 class RenderViewTest; |
154 class RendererAccessibility; | 155 class RendererAccessibility; |
155 class RendererDateTimePicker; | |
156 class RendererPpapiHost; | 156 class RendererPpapiHost; |
157 class RendererWebColorChooserImpl; | 157 class RendererWebColorChooserImpl; |
158 class RenderWidgetFullscreenPepper; | 158 class RenderWidgetFullscreenPepper; |
159 class SpeechRecognitionDispatcher; | 159 class SpeechRecognitionDispatcher; |
160 class StatsCollectionController; | 160 class StatsCollectionController; |
161 class WebPluginDelegateProxy; | 161 class WebPluginDelegateProxy; |
162 struct CustomContextMenuContext; | 162 struct CustomContextMenuContext; |
163 struct DropData; | 163 struct DropData; |
164 struct FaviconURL; | 164 struct FaviconURL; |
165 struct FileChooserParams; | 165 struct FileChooserParams; |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 bool ScheduleFileChooser(const FileChooserParams& params, | 258 bool ScheduleFileChooser(const FileChooserParams& params, |
259 blink::WebFileChooserCompletion* completion); | 259 blink::WebFileChooserCompletion* completion); |
260 | 260 |
261 void LoadNavigationErrorPage( | 261 void LoadNavigationErrorPage( |
262 blink::WebFrame* frame, | 262 blink::WebFrame* frame, |
263 const blink::WebURLRequest& failed_request, | 263 const blink::WebURLRequest& failed_request, |
264 const blink::WebURLError& error, | 264 const blink::WebURLError& error, |
265 const std::string& html, | 265 const std::string& html, |
266 bool replace); | 266 bool replace); |
267 | 267 |
| 268 #if defined(OS_ANDROID) |
| 269 void DismissDateTimeDialog() { |
| 270 DCHECK(date_time_picker_client_); |
| 271 date_time_picker_client_.reset(NULL); |
| 272 } |
| 273 #endif |
| 274 |
268 // Plugin-related functions -------------------------------------------------- | 275 // Plugin-related functions -------------------------------------------------- |
269 | 276 |
270 #if defined(ENABLE_PLUGINS) | 277 #if defined(ENABLE_PLUGINS) |
271 // Indicates that the given instance has been created. | 278 // Indicates that the given instance has been created. |
272 void PepperInstanceCreated(PepperPluginInstanceImpl* instance); | 279 void PepperInstanceCreated(PepperPluginInstanceImpl* instance); |
273 | 280 |
274 // Indicates that the given instance is being destroyed. This is called from | 281 // Indicates that the given instance is being destroyed. This is called from |
275 // the destructor, so it's important that the instance is not dereferenced | 282 // the destructor, so it's important that the instance is not dereferenced |
276 // from this call. | 283 // from this call. |
277 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance); | 284 void PepperInstanceDeleted(PepperPluginInstanceImpl* instance); |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1563 // use the Observer interface to filter IPC messages and receive frame change | 1570 // use the Observer interface to filter IPC messages and receive frame change |
1564 // notifications. | 1571 // notifications. |
1565 // --------------------------------------------------------------------------- | 1572 // --------------------------------------------------------------------------- |
1566 | 1573 |
1567 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1574 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1568 }; | 1575 }; |
1569 | 1576 |
1570 } // namespace content | 1577 } // namespace content |
1571 | 1578 |
1572 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1579 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |