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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 void WasOccluded() override {} | 90 void WasOccluded() override {} |
91 bool IsShowingContextMenu() const override; | 91 bool IsShowingContextMenu() const override; |
92 void SetShowingContextMenu(bool showing_menu) override; | 92 void SetShowingContextMenu(bool showing_menu) override; |
93 base::string16 GetSelectedText() const override; | 93 base::string16 GetSelectedText() const override; |
94 bool IsMouseLocked() override; | 94 bool IsMouseLocked() override; |
95 gfx::Size GetVisibleViewportSize() const override; | 95 gfx::Size GetVisibleViewportSize() const override; |
96 void SetInsets(const gfx::Insets& insets) override; | 96 void SetInsets(const gfx::Insets& insets) override; |
97 void BeginFrameSubscription( | 97 void BeginFrameSubscription( |
98 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; | 98 std::unique_ptr<RenderWidgetHostViewFrameSubscriber> subscriber) override; |
99 void EndFrameSubscription() override; | 99 void EndFrameSubscription() override; |
| 100 void FocusedNodeTouched(const gfx::Point& location_dips_screen, |
| 101 bool editable) override; |
100 | 102 |
101 // This only needs to be overridden by RenderWidgetHostViewBase subclasses | 103 // This only needs to be overridden by RenderWidgetHostViewBase subclasses |
102 // that handle content embedded within other RenderWidgetHostViews. | 104 // that handle content embedded within other RenderWidgetHostViews. |
103 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; | 105 gfx::Point TransformPointToRootCoordSpace(const gfx::Point& point) override; |
104 gfx::PointF TransformPointToRootCoordSpaceF( | 106 gfx::PointF TransformPointToRootCoordSpaceF( |
105 const gfx::PointF& point) override; | 107 const gfx::PointF& point) override; |
106 | 108 |
107 // IPC::Listener implementation: | 109 // IPC::Listener implementation: |
108 bool OnMessageReceived(const IPC::Message& msg) override; | 110 bool OnMessageReceived(const IPC::Message& msg) override; |
109 | 111 |
(...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 437 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
436 | 438 |
437 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 439 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
438 | 440 |
439 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 441 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
440 }; | 442 }; |
441 | 443 |
442 } // namespace content | 444 } // namespace content |
443 | 445 |
444 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 446 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |