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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 | 63 |
64 namespace content { | 64 namespace content { |
65 class BrowserAccessibilityDelegate; | 65 class BrowserAccessibilityDelegate; |
66 class BrowserAccessibilityManager; | 66 class BrowserAccessibilityManager; |
67 class RenderWidgetHostViewBaseObserver; | 67 class RenderWidgetHostViewBaseObserver; |
68 class SyntheticGesture; | 68 class SyntheticGesture; |
69 class SyntheticGestureTarget; | 69 class SyntheticGestureTarget; |
70 class WebCursor; | 70 class WebCursor; |
71 struct DidOverscrollParams; | 71 struct DidOverscrollParams; |
72 struct NativeWebKeyboardEvent; | 72 struct NativeWebKeyboardEvent; |
73 struct WebPluginGeometry; | |
74 | 73 |
75 // Basic implementation shared by concrete RenderWidgetHostView subclasses. | 74 // Basic implementation shared by concrete RenderWidgetHostView subclasses. |
76 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, | 75 class CONTENT_EXPORT RenderWidgetHostViewBase : public RenderWidgetHostView, |
77 public IPC::Listener { | 76 public IPC::Listener { |
78 public: | 77 public: |
79 ~RenderWidgetHostViewBase() override; | 78 ~RenderWidgetHostViewBase() override; |
80 | 79 |
81 float current_device_scale_factor() const { | 80 float current_device_scale_factor() const { |
82 return current_device_scale_factor_; | 81 return current_device_scale_factor_; |
83 } | 82 } |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; | 434 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; |
436 | 435 |
437 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; | 436 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; |
438 | 437 |
439 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); | 438 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); |
440 }; | 439 }; |
441 | 440 |
442 } // namespace content | 441 } // namespace content |
443 | 442 |
444 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ | 443 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ |
OLD | NEW |