| 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 #endif // defined(OS_MACOSX) | 129 #endif // defined(OS_MACOSX) |
| 130 | 130 |
| 131 #if defined(OS_ANDROID) | 131 #if defined(OS_ANDROID) |
| 132 // RenderWidgetHostViewBase implementation. | 132 // RenderWidgetHostViewBase implementation. |
| 133 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, | 133 virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
| 134 const SkBitmap& zoomed_bitmap) OVERRIDE; | 134 const SkBitmap& zoomed_bitmap) OVERRIDE; |
| 135 virtual void LockCompositingSurface() OVERRIDE; | 135 virtual void LockCompositingSurface() OVERRIDE; |
| 136 virtual void UnlockCompositingSurface() OVERRIDE; | 136 virtual void UnlockCompositingSurface() OVERRIDE; |
| 137 #endif // defined(OS_ANDROID) | 137 #endif // defined(OS_ANDROID) |
| 138 | 138 |
| 139 #if defined(OS_WIN) | |
| 140 virtual void SetParentNativeViewAccessible( | |
| 141 gfx::NativeViewAccessible accessible_parent) OVERRIDE; | |
| 142 virtual gfx::NativeViewId GetParentForWindowlessPlugin() const OVERRIDE; | |
| 143 #endif | |
| 144 | |
| 145 // Overridden from ui::GestureEventHelper. | 139 // Overridden from ui::GestureEventHelper. |
| 146 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; | 140 virtual bool CanDispatchToConsumer(ui::GestureConsumer* consumer) OVERRIDE; |
| 147 virtual void DispatchGestureEvent(ui::GestureEvent* event) OVERRIDE; | 141 virtual void DispatchGestureEvent(ui::GestureEvent* event) OVERRIDE; |
| 148 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; | 142 virtual void DispatchCancelTouchEvent(ui::TouchEvent* event) OVERRIDE; |
| 149 | 143 |
| 150 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; | 144 virtual SkBitmap::Config PreferredReadbackFormat() OVERRIDE; |
| 151 | 145 |
| 152 protected: | 146 protected: |
| 153 friend class RenderWidgetHostView; | 147 friend class RenderWidgetHostView; |
| 154 | 148 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 174 RenderWidgetHostViewBase* platform_view_; | 168 RenderWidgetHostViewBase* platform_view_; |
| 175 #if defined(USE_AURA) | 169 #if defined(USE_AURA) |
| 176 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 170 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 177 #endif | 171 #endif |
| 178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 172 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 179 }; | 173 }; |
| 180 | 174 |
| 181 } // namespace content | 175 } // namespace content |
| 182 | 176 |
| 183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 177 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |