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

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

Issue 2770923002: Prevent browser-side hit testing when page popup is selected (Closed)
Patch Set: Changed the test Created 3 years, 9 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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 RenderWidgetHostImpl* render_widget_host) const override; 664 RenderWidgetHostImpl* render_widget_host) const override;
665 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; 665 void LostCapture(RenderWidgetHostImpl* render_widget_host) override;
666 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; 666 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override;
667 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override; 667 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override;
668 RenderWidgetHostImpl* GetMouseLockWidget() override; 668 RenderWidgetHostImpl* GetMouseLockWidget() override;
669 void OnRenderFrameProxyVisibilityChanged(bool visible) override; 669 void OnRenderFrameProxyVisibilityChanged(bool visible) override;
670 void SendScreenRects() override; 670 void SendScreenRects() override;
671 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; 671 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override;
672 TextInputManager* GetTextInputManager() override; 672 TextInputManager* GetTextInputManager() override;
673 bool OnUpdateDragCursor() override; 673 bool OnUpdateDragCursor() override;
674 bool IsWidgetForMainFrame(RenderWidgetHostImpl* render_widget_host) override;
674 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override; 675 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override;
675 void FocusedNodeTouched(bool editable) override; 676 void FocusedNodeTouched(bool editable) override;
676 677
677 // RenderFrameHostManager::Delegate ------------------------------------------ 678 // RenderFrameHostManager::Delegate ------------------------------------------
678 679
679 bool CreateRenderViewForRenderManager( 680 bool CreateRenderViewForRenderManager(
680 RenderViewHost* render_view_host, 681 RenderViewHost* render_view_host,
681 int opener_frame_routing_id, 682 int opener_frame_routing_id,
682 int proxy_routing_id, 683 int proxy_routing_id,
683 const FrameReplicationState& replicated_frame_state) override; 684 const FrameReplicationState& replicated_frame_state) override;
(...skipping 864 matching lines...) Expand 10 before | Expand all | Expand 10 after
1548 // Adds/removes a callback called on creation of each new WebContents. 1549 // Adds/removes a callback called on creation of each new WebContents.
1549 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1550 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1550 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1551 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1551 1552
1552 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1553 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1553 }; 1554 };
1554 1555
1555 } // namespace content 1556 } // namespace content
1556 1557
1557 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1558 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698