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

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

Issue 1414663011: Notifying the Out of Process Renderer about Visibility Change of a Remote Frame (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added WebContentsImpl::ForwardVisibilityChangeToInnerContents(bool) Created 5 years 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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 gfx::Rect GetRootWindowResizerRect( 600 gfx::Rect GetRootWindowResizerRect(
601 RenderWidgetHostImpl* render_widget_host) const override; 601 RenderWidgetHostImpl* render_widget_host) const override;
602 bool IsFullscreenForCurrentTab( 602 bool IsFullscreenForCurrentTab(
603 RenderWidgetHostImpl* render_widget_host) const override; 603 RenderWidgetHostImpl* render_widget_host) const override;
604 blink::WebDisplayMode GetDisplayMode( 604 blink::WebDisplayMode GetDisplayMode(
605 RenderWidgetHostImpl* render_widget_host) const override; 605 RenderWidgetHostImpl* render_widget_host) const override;
606 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; 606 void LostCapture(RenderWidgetHostImpl* render_widget_host) override;
607 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; 607 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override;
608 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, 608 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host,
609 const std::vector<uint8_t>& proto) override; 609 const std::vector<uint8_t>& proto) override;
610 void ForwardVisibilityChangeToInnerContents(bool visible) override;
610 611
611 // RenderFrameHostManager::Delegate ------------------------------------------ 612 // RenderFrameHostManager::Delegate ------------------------------------------
612 613
613 bool CreateRenderViewForRenderManager( 614 bool CreateRenderViewForRenderManager(
614 RenderViewHost* render_view_host, 615 RenderViewHost* render_view_host,
615 int opener_frame_routing_id, 616 int opener_frame_routing_id,
616 int proxy_routing_id, 617 int proxy_routing_id,
617 const FrameReplicationState& replicated_frame_state) override; 618 const FrameReplicationState& replicated_frame_state) override;
618 void CreateRenderWidgetHostViewForRenderManager( 619 void CreateRenderWidgetHostViewForRenderManager(
619 RenderViewHost* render_view_host) override; 620 RenderViewHost* render_view_host) override;
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after
1357 // Adds/removes a callback called on creation of each new WebContents. 1358 // Adds/removes a callback called on creation of each new WebContents.
1358 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1359 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1359 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1360 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1360 1361
1361 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1362 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1362 }; 1363 };
1363 1364
1364 } // namespace content 1365 } // namespace content
1365 1366
1366 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1367 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698