OLD | NEW |
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 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, | 616 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, |
617 bool user_gesture, | 617 bool user_gesture, |
618 bool last_unlocked_by_target) override; | 618 bool last_unlocked_by_target) override; |
619 gfx::Rect GetRootWindowResizerRect( | 619 gfx::Rect GetRootWindowResizerRect( |
620 RenderWidgetHostImpl* render_widget_host) const override; | 620 RenderWidgetHostImpl* render_widget_host) const override; |
621 bool IsFullscreenForCurrentTab() const override; | 621 bool IsFullscreenForCurrentTab() const override; |
622 blink::WebDisplayMode GetDisplayMode( | 622 blink::WebDisplayMode GetDisplayMode( |
623 RenderWidgetHostImpl* render_widget_host) const override; | 623 RenderWidgetHostImpl* render_widget_host) const override; |
624 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; | 624 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; |
625 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; | 625 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; |
| 626 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override; |
626 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, | 627 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
627 const std::vector<uint8_t>& proto) override; | 628 const std::vector<uint8_t>& proto) override; |
628 void OnRenderFrameProxyVisibilityChanged(bool visible) override; | 629 void OnRenderFrameProxyVisibilityChanged(bool visible) override; |
629 void SendScreenRects() override; | 630 void SendScreenRects() override; |
630 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; | 631 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; |
631 TextInputManager* GetTextInputManager() override; | 632 TextInputManager* GetTextInputManager() override; |
632 | 633 |
633 // RenderFrameHostManager::Delegate ------------------------------------------ | 634 // RenderFrameHostManager::Delegate ------------------------------------------ |
634 | 635 |
635 bool CreateRenderViewForRenderManager( | 636 bool CreateRenderViewForRenderManager( |
(...skipping 784 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1420 // Adds/removes a callback called on creation of each new WebContents. | 1421 // Adds/removes a callback called on creation of each new WebContents. |
1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1422 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1423 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1423 | 1424 |
1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1425 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1425 }; | 1426 }; |
1426 | 1427 |
1427 } // namespace content | 1428 } // namespace content |
1428 | 1429 |
1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1430 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |