OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 #endif // defined(OS_ANDROID) | 138 #endif // defined(OS_ANDROID) |
139 | 139 |
140 #if defined(OS_WIN) | 140 #if defined(OS_WIN) |
141 virtual void SetParentNativeViewAccessible( | 141 virtual void SetParentNativeViewAccessible( |
142 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | 142 gfx::NativeViewAccessible accessible_parent) OVERRIDE; |
143 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | 143 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; |
144 #endif | 144 #endif |
145 | 145 |
146 // Overridden from ui::GestureEventHelper. | 146 // Overridden from ui::GestureEventHelper. |
147 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; | 147 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; |
148 virtual void DispatchPostponedGestureEvent(ui::GestureEvent* event) OVERRIDE; | 148 virtual void DispatchGestureEvent(ui::GestureEvent* event) OVERRIDE; |
149 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; | 149 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; |
150 | 150 |
151 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 151 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
152 | 152 |
153 protected: | 153 protected: |
154 friend class RenderWidgetHostView; | 154 friend class RenderWidgetHostView; |
155 | 155 |
156 private: | 156 private: |
157 // Destroys this view without calling |Destroy| on |platform_view_|. | 157 // Destroys this view without calling |Destroy| on |platform_view_|. |
158 void DestroyGuestView(); | 158 void DestroyGuestView(); |
(...skipping 16 matching lines...) Expand all Loading... |
175 RenderWidgetHostViewBase* platform_view_; | 175 RenderWidgetHostViewBase* platform_view_; |
176 #if defined(USE_AURA) | 176 #if defined(USE_AURA) |
177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 177 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
178 #endif | 178 #endif |
179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 179 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
180 }; | 180 }; |
181 | 181 |
182 } // namespace content | 182 } // namespace content |
183 | 183 |
184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 184 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |