Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 2780373002: Use observer pattern instead of sniffing SwapCompositorFrame IPC (Closed)
Patch Set: Addressed comments Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; 671 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override;
672 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override; 672 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override;
673 RenderWidgetHostImpl* GetMouseLockWidget() override; 673 RenderWidgetHostImpl* GetMouseLockWidget() override;
674 void OnRenderFrameProxyVisibilityChanged(bool visible) override; 674 void OnRenderFrameProxyVisibilityChanged(bool visible) override;
675 void SendScreenRects() override; 675 void SendScreenRects() override;
676 TextInputManager* GetTextInputManager() override; 676 TextInputManager* GetTextInputManager() override;
677 bool OnUpdateDragCursor() override; 677 bool OnUpdateDragCursor() override;
678 bool IsWidgetForMainFrame(RenderWidgetHostImpl* render_widget_host) override; 678 bool IsWidgetForMainFrame(RenderWidgetHostImpl* render_widget_host) override;
679 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override; 679 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override;
680 void FocusedNodeTouched(bool editable) override; 680 void FocusedNodeTouched(bool editable) override;
681 void DidReceiveCompositorFrame() override;
681 682
682 // RenderFrameHostManager::Delegate ------------------------------------------ 683 // RenderFrameHostManager::Delegate ------------------------------------------
683 684
684 bool CreateRenderViewForRenderManager( 685 bool CreateRenderViewForRenderManager(
685 RenderViewHost* render_view_host, 686 RenderViewHost* render_view_host,
686 int opener_frame_routing_id, 687 int opener_frame_routing_id,
687 int proxy_routing_id, 688 int proxy_routing_id,
688 const FrameReplicationState& replicated_frame_state) override; 689 const FrameReplicationState& replicated_frame_state) override;
689 void CreateRenderWidgetHostViewForRenderManager( 690 void CreateRenderWidgetHostViewForRenderManager(
690 RenderViewHost* render_view_host) override; 691 RenderViewHost* render_view_host) override;
(...skipping 865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 // Adds/removes a callback called on creation of each new WebContents. 1557 // Adds/removes a callback called on creation of each new WebContents.
1557 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1558 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1558 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1559 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1559 1560
1560 DISALLOW_COPY_AND_ASSIGN(FriendWrapper); 1561 DISALLOW_COPY_AND_ASSIGN(FriendWrapper);
1561 }; 1562 };
1562 1563
1563 } // namespace content 1564 } // namespace content
1564 1565
1565 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1566 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698