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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <functional> | 10 #include <functional> |
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 bool IsFullscreenForCurrentTab( | 622 bool IsFullscreenForCurrentTab( |
623 RenderWidgetHostImpl* render_widget_host) const override; | 623 RenderWidgetHostImpl* render_widget_host) const override; |
624 blink::WebDisplayMode GetDisplayMode( | 624 blink::WebDisplayMode GetDisplayMode( |
625 RenderWidgetHostImpl* render_widget_host) const override; | 625 RenderWidgetHostImpl* render_widget_host) const override; |
626 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; | 626 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; |
627 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; | 627 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; |
628 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, | 628 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
629 const std::vector<uint8_t>& proto) override; | 629 const std::vector<uint8_t>& proto) override; |
630 void OnRenderFrameProxyVisibilityChanged(bool visible) override; | 630 void OnRenderFrameProxyVisibilityChanged(bool visible) override; |
631 void SendScreenRects() override; | 631 void SendScreenRects() override; |
| 632 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; |
632 | 633 |
633 // RenderFrameHostManager::Delegate ------------------------------------------ | 634 // RenderFrameHostManager::Delegate ------------------------------------------ |
634 | 635 |
635 bool CreateRenderViewForRenderManager( | 636 bool CreateRenderViewForRenderManager( |
636 RenderViewHost* render_view_host, | 637 RenderViewHost* render_view_host, |
637 int opener_frame_routing_id, | 638 int opener_frame_routing_id, |
638 int proxy_routing_id, | 639 int proxy_routing_id, |
639 const FrameReplicationState& replicated_frame_state) override; | 640 const FrameReplicationState& replicated_frame_state) override; |
640 void CreateRenderWidgetHostViewForRenderManager( | 641 void CreateRenderWidgetHostViewForRenderManager( |
641 RenderViewHost* render_view_host) override; | 642 RenderViewHost* render_view_host) override; |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1401 // Adds/removes a callback called on creation of each new WebContents. | 1402 // Adds/removes a callback called on creation of each new WebContents. |
1402 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1403 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1403 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1404 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1404 | 1405 |
1405 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1406 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1406 }; | 1407 }; |
1407 | 1408 |
1408 } // namespace content | 1409 } // namespace content |
1409 | 1410 |
1410 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1411 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |