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