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 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
619 bool IsFullscreenForCurrentTab( | 619 bool IsFullscreenForCurrentTab( |
620 RenderWidgetHostImpl* render_widget_host) const override; | 620 RenderWidgetHostImpl* render_widget_host) const override; |
621 blink::WebDisplayMode GetDisplayMode( | 621 blink::WebDisplayMode GetDisplayMode( |
622 RenderWidgetHostImpl* render_widget_host) const override; | 622 RenderWidgetHostImpl* render_widget_host) const override; |
623 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; | 623 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; |
624 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; | 624 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; |
625 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, | 625 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
626 const std::vector<uint8_t>& proto) override; | 626 const std::vector<uint8_t>& proto) override; |
627 void OnRenderFrameProxyVisibilityChanged(bool visible) override; | 627 void OnRenderFrameProxyVisibilityChanged(bool visible) override; |
628 void SendScreenRects() override; | 628 void SendScreenRects() override; |
| 629 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; |
629 | 630 |
630 // RenderFrameHostManager::Delegate ------------------------------------------ | 631 // RenderFrameHostManager::Delegate ------------------------------------------ |
631 | 632 |
632 bool CreateRenderViewForRenderManager( | 633 bool CreateRenderViewForRenderManager( |
633 RenderViewHost* render_view_host, | 634 RenderViewHost* render_view_host, |
634 int opener_frame_routing_id, | 635 int opener_frame_routing_id, |
635 int proxy_routing_id, | 636 int proxy_routing_id, |
636 const FrameReplicationState& replicated_frame_state) override; | 637 const FrameReplicationState& replicated_frame_state) override; |
637 void CreateRenderWidgetHostViewForRenderManager( | 638 void CreateRenderWidgetHostViewForRenderManager( |
638 RenderViewHost* render_view_host) override; | 639 RenderViewHost* render_view_host) override; |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1394 // Adds/removes a callback called on creation of each new WebContents. | 1395 // Adds/removes a callback called on creation of each new WebContents. |
1395 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1396 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1396 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1397 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1397 | 1398 |
1398 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1399 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1399 }; | 1400 }; |
1400 | 1401 |
1401 } // namespace content | 1402 } // namespace content |
1402 | 1403 |
1403 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1404 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |