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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
611 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) | 611 void AdjustSelectionByCharacterOffset(int start_adjust, int end_adjust) |
612 override; | 612 override; |
613 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; | 613 RenderWidgetHostInputEventRouter* GetInputEventRouter() override; |
614 void ReplicatePageFocus(bool is_focused) override; | 614 void ReplicatePageFocus(bool is_focused) override; |
615 RenderWidgetHostImpl* GetFocusedRenderWidgetHost( | 615 RenderWidgetHostImpl* GetFocusedRenderWidgetHost( |
616 RenderWidgetHostImpl* receiving_widget) override; | 616 RenderWidgetHostImpl* receiving_widget) override; |
617 void RendererUnresponsive(RenderWidgetHostImpl* render_widget_host) override; | 617 void RendererUnresponsive(RenderWidgetHostImpl* render_widget_host) override; |
618 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override; | 618 void RendererResponsive(RenderWidgetHostImpl* render_widget_host) override; |
619 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, | 619 void RequestToLockMouse(RenderWidgetHostImpl* render_widget_host, |
620 bool user_gesture, | 620 bool user_gesture, |
621 bool last_unlocked_by_target) override; | 621 bool last_unlocked_by_target, |
| 622 bool privileged) override; |
622 gfx::Rect GetRootWindowResizerRect( | 623 gfx::Rect GetRootWindowResizerRect( |
623 RenderWidgetHostImpl* render_widget_host) const override; | 624 RenderWidgetHostImpl* render_widget_host) const override; |
624 bool IsFullscreenForCurrentTab() const override; | 625 bool IsFullscreenForCurrentTab() const override; |
625 blink::WebDisplayMode GetDisplayMode( | 626 blink::WebDisplayMode GetDisplayMode( |
626 RenderWidgetHostImpl* render_widget_host) const override; | 627 RenderWidgetHostImpl* render_widget_host) const override; |
627 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; | 628 void LostCapture(RenderWidgetHostImpl* render_widget_host) override; |
628 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; | 629 void LostMouseLock(RenderWidgetHostImpl* render_widget_host) override; |
| 630 bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) override; |
629 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, | 631 void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |
630 const std::vector<uint8_t>& proto) override; | 632 const std::vector<uint8_t>& proto) override; |
631 void OnRenderFrameProxyVisibilityChanged(bool visible) override; | 633 void OnRenderFrameProxyVisibilityChanged(bool visible) override; |
632 void SendScreenRects() override; | 634 void SendScreenRects() override; |
633 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; | 635 void OnFirstPaintAfterLoad(RenderWidgetHostImpl* render_widget_host) override; |
634 TextInputManager* GetTextInputManager() override; | 636 TextInputManager* GetTextInputManager() override; |
635 | 637 |
636 // RenderFrameHostManager::Delegate ------------------------------------------ | 638 // RenderFrameHostManager::Delegate ------------------------------------------ |
637 | 639 |
638 bool CreateRenderViewForRenderManager( | 640 bool CreateRenderViewForRenderManager( |
(...skipping 791 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1430 // Adds/removes a callback called on creation of each new WebContents. | 1432 // Adds/removes a callback called on creation of each new WebContents. |
1431 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1433 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1432 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1434 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1433 | 1435 |
1434 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1436 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1435 }; | 1437 }; |
1436 | 1438 |
1437 } // namespace content | 1439 } // namespace content |
1438 | 1440 |
1439 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1441 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |