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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 bool PostProcessEventForPluginIme( | 118 bool PostProcessEventForPluginIme( |
119 const NativeWebKeyboardEvent& event) override; | 119 const NativeWebKeyboardEvent& event) override; |
120 #endif // defined(OS_MACOSX) | 120 #endif // defined(OS_MACOSX) |
121 | 121 |
122 #if defined(OS_ANDROID) || defined(USE_AURA) | 122 #if defined(OS_ANDROID) || defined(USE_AURA) |
123 // RenderWidgetHostViewBase implementation. | 123 // RenderWidgetHostViewBase implementation. |
124 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, | 124 void ShowDisambiguationPopup(const gfx::Rect& rect_pixels, |
125 const SkBitmap& zoomed_bitmap) override; | 125 const SkBitmap& zoomed_bitmap) override; |
126 #endif // defined(OS_ANDROID) || defined(USE_AURA) | 126 #endif // defined(OS_ANDROID) || defined(USE_AURA) |
127 | 127 |
128 #if defined(OS_ANDROID) | 128 #if defined(OS_ANDROID) && !defined(USE_AURA) |
129 void LockCompositingSurface() override; | 129 void LockCompositingSurface() override; |
130 void UnlockCompositingSurface() override; | 130 void UnlockCompositingSurface() override; |
131 #endif // defined(OS_ANDROID) | 131 #endif // defined(OS_ANDROID) |
132 | 132 |
133 #if defined(OS_WIN) | 133 #if defined(OS_WIN) |
134 void SetParentNativeViewAccessible( | 134 void SetParentNativeViewAccessible( |
135 gfx::NativeViewAccessible accessible_parent) override; | 135 gfx::NativeViewAccessible accessible_parent) override; |
136 gfx::NativeViewId GetParentForWindowlessPlugin() const override; | 136 gfx::NativeViewId GetParentForWindowlessPlugin() const override; |
137 #endif | 137 #endif |
138 | 138 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; | 177 base::WeakPtr<RenderWidgetHostViewBase> platform_view_; |
178 #if defined(USE_AURA) | 178 #if defined(USE_AURA) |
179 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 179 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
180 #endif | 180 #endif |
181 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 181 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
182 }; | 182 }; |
183 | 183 |
184 } // namespace content | 184 } // namespace content |
185 | 185 |
186 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 186 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |