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

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: addressing comments Created 3 years, 10 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 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, 656 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host,
657 bool user_gesture, 657 bool user_gesture,
658 bool last_unlocked_by_target, 658 bool last_unlocked_by_target,
659 bool privileged) override; 659 bool privileged) override;
660 bool IsFullscreenForCurrentTab() const override; 660 bool IsFullscreenForCurrentTab() const override;
661 blink::WebDisplayMode GetDisplayMode( 661 blink::WebDisplayMode GetDisplayMode(
662 RenderWidgetHostImpl* render_widget_host) const override; 662 RenderWidgetHostImpl* render_widget_host) const override;
663 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; 663 void LostCapture(RenderWidgetHostImpl* render_widget_host) override;
664 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; 664 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override;
665 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override; 665 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override;
666 RenderWidgetHostImpl* GetMouseLockWidget() override;
666 void OnRenderFrameProxyVisibilityChanged(bool visible) override; 667 void OnRenderFrameProxyVisibilityChanged(bool visible) override;
667 void SendScreenRects() override; 668 void SendScreenRects() override;
668 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; 669 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override;
669 TextInputManager* GetTextInputManager() override; 670 TextInputManager* GetTextInputManager() override;
670 bool OnUpdateDragCursor() override; 671 bool OnUpdateDragCursor() override;
671 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override; 672 bool AddDomainInfoToRapporSample(rappor::Sample* sample) override;
672 void FocusedNodeTouched(bool editable) override; 673 void FocusedNodeTouched(bool editable) override;
673 674
674 // RenderFrameHostManager::Delegate ------------------------------------------ 675 // RenderFrameHostManager::Delegate ------------------------------------------
675 676
(...skipping 843 matching lines...) Expand 10 before | Expand all | Expand 10 after
1519 // Adds/removes a callback called on creation of each new WebContents. 1520 // Adds/removes a callback called on creation of each new WebContents.
1520 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1521 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1521 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1522 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1522 1523
1523 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1524 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1524 }; 1525 };
1525 1526
1526 } // namespace content 1527 } // namespace content
1527 1528
1528 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1529 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698