| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FRAME_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 #include "content/public/common/referrer.h" | 21 #include "content/public/common/referrer.h" |
| 22 #include "content/public/renderer/render_frame.h" | 22 #include "content/public/renderer/render_frame.h" |
| 23 #include "content/renderer/render_frame_proxy.h" | 23 #include "content/renderer/render_frame_proxy.h" |
| 24 #include "content/renderer/renderer_webcookiejar_impl.h" | 24 #include "content/renderer/renderer_webcookiejar_impl.h" |
| 25 #include "ipc/ipc_message.h" | 25 #include "ipc/ipc_message.h" |
| 26 #include "media/blink/webmediaplayer_delegate.h" | 26 #include "media/blink/webmediaplayer_delegate.h" |
| 27 #include "third_party/WebKit/public/web/WebAXObject.h" | 27 #include "third_party/WebKit/public/web/WebAXObject.h" |
| 28 #include "third_party/WebKit/public/web/WebDataSource.h" | 28 #include "third_party/WebKit/public/web/WebDataSource.h" |
| 29 #include "third_party/WebKit/public/web/WebFrameClient.h" | 29 #include "third_party/WebKit/public/web/WebFrameClient.h" |
| 30 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" | 30 #include "third_party/WebKit/public/web/WebHistoryCommitType.h" |
| 31 #include "third_party/WebKit/public/web/WebTransitionElementData.h" |
| 31 #include "ui/gfx/range/range.h" | 32 #include "ui/gfx/range/range.h" |
| 32 | 33 |
| 33 #if defined(OS_ANDROID) | 34 #if defined(OS_ANDROID) |
| 34 #include "content/renderer/media/android/renderer_media_player_manager.h" | 35 #include "content/renderer/media/android/renderer_media_player_manager.h" |
| 35 #endif | 36 #endif |
| 36 | 37 |
| 37 class GURL; | 38 class GURL; |
| 38 class TransportDIB; | 39 class TransportDIB; |
| 39 struct FrameHostMsg_AddNavigationTransitionData_Params; | 40 struct FrameHostMsg_AddNavigationTransitionData_Params; |
| 40 struct FrameMsg_Navigate_Params; | 41 struct FrameMsg_Navigate_Params; |
| 41 struct FrameMsg_RequestNavigation_Params; | 42 struct FrameMsg_RequestNavigation_Params; |
| 42 | 43 |
| 43 namespace blink { | 44 namespace blink { |
| 44 class WebGeolocationClient; | 45 class WebGeolocationClient; |
| 45 class WebMouseEvent; | 46 class WebMouseEvent; |
| 46 class WebContentDecryptionModule; | 47 class WebContentDecryptionModule; |
| 47 class WebMediaPlayer; | 48 class WebMediaPlayer; |
| 48 class WebNotificationPresenter; | 49 class WebNotificationPresenter; |
| 49 class WebPushClient; | 50 class WebPushClient; |
| 50 class WebSecurityOrigin; | 51 class WebSecurityOrigin; |
| 51 struct WebCompositionUnderline; | 52 struct WebCompositionUnderline; |
| 52 struct WebContextMenuData; | 53 struct WebContextMenuData; |
| 53 struct WebCursorInfo; | 54 struct WebCursorInfo; |
| 55 struct WebTransitionElementData; |
| 54 } | 56 } |
| 55 | 57 |
| 56 namespace gfx { | 58 namespace gfx { |
| 57 class Point; | 59 class Point; |
| 58 class Range; | 60 class Range; |
| 59 class Rect; | 61 class Rect; |
| 60 } | 62 } |
| 61 | 63 |
| 62 namespace content { | 64 namespace content { |
| 63 | 65 |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); | 375 virtual void didFinishDocumentLoad(blink::WebLocalFrame* frame); |
| 374 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); | 376 virtual void didHandleOnloadEvents(blink::WebLocalFrame* frame); |
| 375 virtual void didFailLoad(blink::WebLocalFrame* frame, | 377 virtual void didFailLoad(blink::WebLocalFrame* frame, |
| 376 const blink::WebURLError& error); | 378 const blink::WebURLError& error); |
| 377 virtual void didFinishLoad(blink::WebLocalFrame* frame); | 379 virtual void didFinishLoad(blink::WebLocalFrame* frame); |
| 378 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, | 380 virtual void didNavigateWithinPage(blink::WebLocalFrame* frame, |
| 379 const blink::WebHistoryItem& item, | 381 const blink::WebHistoryItem& item, |
| 380 blink::WebHistoryCommitType commit_type); | 382 blink::WebHistoryCommitType commit_type); |
| 381 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); | 383 virtual void didUpdateCurrentHistoryItem(blink::WebLocalFrame* frame); |
| 382 virtual void addNavigationTransitionData( | 384 virtual void addNavigationTransitionData( |
| 383 const blink::WebString& allowedDestinationOrigin, | |
| 384 const blink::WebString& selector, | |
| 385 const blink::WebString& markup); | |
| 386 virtual void addNavigationTransitionData( | |
| 387 const blink::WebString& allowedDestinationOrigin, | 385 const blink::WebString& allowedDestinationOrigin, |
| 388 const blink::WebString& selector, | 386 const blink::WebString& selector, |
| 389 const blink::WebString& markup, | 387 const blink::WebString& markup, |
| 390 const blink::WebVector<blink::WebString>& web_names, | 388 const blink::WebVector<blink::WebString>& web_ids, |
| 391 const blink::WebVector<blink::WebRect>& web_rects); | 389 const blink::WebVector<blink::WebRect>& web_rects); |
| 390 virtual void addNavigationTransitionData( |
| 391 const blink::WebTransitionElementData& data); |
| 392 virtual void didChangeThemeColor(); | 392 virtual void didChangeThemeColor(); |
| 393 virtual void requestNotificationPermission( | 393 virtual void requestNotificationPermission( |
| 394 const blink::WebSecurityOrigin& origin, | 394 const blink::WebSecurityOrigin& origin, |
| 395 blink::WebNotificationPermissionCallback* callback); | 395 blink::WebNotificationPermissionCallback* callback); |
| 396 virtual blink::WebNotificationPresenter* notificationPresenter(); | 396 virtual blink::WebNotificationPresenter* notificationPresenter(); |
| 397 virtual void didChangeSelection(bool is_empty_selection); | 397 virtual void didChangeSelection(bool is_empty_selection); |
| 398 virtual blink::WebColorChooser* createColorChooser( | 398 virtual blink::WebColorChooser* createColorChooser( |
| 399 blink::WebColorChooserClient* client, | 399 blink::WebColorChooserClient* client, |
| 400 const blink::WebColor& initial_color, | 400 const blink::WebColor& initial_color, |
| 401 const blink::WebVector<blink::WebColorSuggestion>& suggestions); | 401 const blink::WebVector<blink::WebColorSuggestion>& suggestions); |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 #endif | 806 #endif |
| 807 | 807 |
| 808 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 808 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 809 | 809 |
| 810 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 810 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 811 }; | 811 }; |
| 812 | 812 |
| 813 } // namespace content | 813 } // namespace content |
| 814 | 814 |
| 815 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 815 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |