| 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 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 430 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame, | 430 virtual blink::WebString userAgentOverride(blink::WebLocalFrame* frame, |
| 431 const blink::WebURL& url); | 431 const blink::WebURL& url); |
| 432 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame); | 432 virtual blink::WebString doNotTrackValue(blink::WebLocalFrame* frame); |
| 433 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value); | 433 virtual bool allowWebGL(blink::WebLocalFrame* frame, bool default_value); |
| 434 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame, | 434 virtual void didLoseWebGLContext(blink::WebLocalFrame* frame, |
| 435 int arb_robustness_status_code); | 435 int arb_robustness_status_code); |
| 436 virtual void forwardInputEvent(const blink::WebInputEvent* event); | 436 virtual void forwardInputEvent(const blink::WebInputEvent* event); |
| 437 virtual void initializeChildFrame(const blink::WebRect& frame_rect, | 437 virtual void initializeChildFrame(const blink::WebRect& frame_rect, |
| 438 float scale_factor); | 438 float scale_factor); |
| 439 virtual blink::WebScreenOrientationClient* webScreenOrientationClient(); | 439 virtual blink::WebScreenOrientationClient* webScreenOrientationClient(); |
| 440 virtual bool isControlledByServiceWorker(); |
| 440 | 441 |
| 441 // WebMediaPlayerDelegate implementation: | 442 // WebMediaPlayerDelegate implementation: |
| 442 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; | 443 virtual void DidPlay(blink::WebMediaPlayer* player) OVERRIDE; |
| 443 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; | 444 virtual void DidPause(blink::WebMediaPlayer* player) OVERRIDE; |
| 444 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; | 445 virtual void PlayerGone(blink::WebMediaPlayer* player) OVERRIDE; |
| 445 | 446 |
| 446 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move | 447 // TODO(nasko): Make all tests in RenderViewImplTest friends and then move |
| 447 // this back to private member. | 448 // this back to private member. |
| 448 void OnNavigate(const FrameMsg_Navigate_Params& params); | 449 void OnNavigate(const FrameMsg_Navigate_Params& params); |
| 449 | 450 |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 #endif | 740 #endif |
| 740 | 741 |
| 741 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 742 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 742 | 743 |
| 743 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 744 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 744 }; | 745 }; |
| 745 | 746 |
| 746 } // namespace content | 747 } // namespace content |
| 747 | 748 |
| 748 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 749 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |