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

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

Issue 2592243002: Perform direct routing of mouse events when the pointer is locked. (Closed)
Patch Set: Created 3 years, 12 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 636 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, 647 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host,
648 bool user_gesture, 648 bool user_gesture,
649 bool last_unlocked_by_target, 649 bool last_unlocked_by_target,
650 bool privileged) override; 650 bool privileged) override;
651 bool IsFullscreenForCurrentTab() const override; 651 bool IsFullscreenForCurrentTab() const override;
652 blink::WebDisplayMode GetDisplayMode( 652 blink::WebDisplayMode GetDisplayMode(
653 RenderWidgetHostImpl* render_widget_host) const override; 653 RenderWidgetHostImpl* render_widget_host) const override;
654 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; 654 void LostCapture(RenderWidgetHostImpl* render_widget_host) override;
655 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; 655 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override;
656 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override; 656 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override;
657 RenderWidgetHostImpl* MouseLockWidget() override;
657 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, 658 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host,
658 const std::vector<uint8_t>& proto) override; 659 const std::vector<uint8_t>& proto) override;
659 void OnRenderFrameProxyVisibilityChanged(bool visible) override; 660 void OnRenderFrameProxyVisibilityChanged(bool visible) override;
660 void SendScreenRects() override; 661 void SendScreenRects() override;
661 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; 662 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override;
662 TextInputManager* GetTextInputManager() override; 663 TextInputManager* GetTextInputManager() override;
663 bool OnUpdateDragCursor() override; 664 bool OnUpdateDragCursor() override;
664 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override; 665 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override;
665 666
666 // RenderFrameHostManager::Delegate ------------------------------------------ 667 // RenderFrameHostManager::Delegate ------------------------------------------
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 // Adds/removes a callback called on creation of each new WebContents. 1510 // Adds/removes a callback called on creation of each new WebContents.
1510 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1511 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1511 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1512 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1512 1513
1513 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1514 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1514 }; 1515 };
1515 1516
1516 } // namespace content 1517 } // namespace content
1517 1518
1518 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1519 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698