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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 bool PostProcessEventForPluginIme( | 116 bool PostProcessEventForPluginIme( |
117 const NativeWebKeyboardEvent& event) override; | 117 const NativeWebKeyboardEvent& event) override; |
118 #endif // defined(OS_MACOSX) | 118 #endif // defined(OS_MACOSX) |
119 | 119 |
120 #if defined(OS_ANDROID) || defined(USE_AURA) | 120 #if defined(OS_ANDROID) || defined(USE_AURA) |
121 // RenderWidgetHostViewBase implementation. | 121 // RenderWidgetHostViewBase implementation. |
122 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 122 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
123 const SkBitmap& zoomed_bitmap) override; | 123 const SkBitmap& zoomed_bitmap) override; |
124 #endif // defined(OS_ANDROID) || defined(USE_AURA) | 124 #endif // defined(OS_ANDROID) || defined(USE_AURA) |
125 | 125 |
126 #if defined(OS_ANDROID) | 126 #if defined(OS_ANDROID) && !defined(USE_AURA) |
127 void LockCompositingSurface() override; | 127 void LockCompositingSurface() override; |
128 void UnlockCompositingSurface() override; | 128 void UnlockCompositingSurface() override; |
129 #endif // defined(OS_ANDROID) | 129 #endif // defined(OS_ANDROID) |
130 | 130 |
131 #if defined(OS_WIN) | 131 #if defined(OS_WIN) |
132 void SetParentNativeViewAccessible( | 132 void SetParentNativeViewAccessible( |
133 gfx::NativeViewAccessible accessible_parent) override; | 133 gfx::NativeViewAccessible accessible_parent) override; |
134 gfx::NativeViewId GetParentForWindowlessPlugin() const override; | 134 gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
135 #endif | 135 #endif |
136 | 136 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 169 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
170 #if defined(USE_AURA) | 170 #if defined(USE_AURA) |
171 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 171 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
172 #endif | 172 #endif |
173 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 173 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
174 }; | 174 }; |
175 | 175 |
176 } // namespace content | 176 } // namespace content |
177 | 177 |
178 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 178 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |