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_GUEST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 6 #define CONTENT_BROWSER_RENDERER_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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 134 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
135 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 135 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
136 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 136 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
137 #if defined(OS_WIN) || defined(USE_AURA) | 137 #if defined(OS_WIN) || defined(USE_AURA) |
138 virtual void ProcessAckedTouchEvent( | 138 virtual void ProcessAckedTouchEvent( |
139 const TouchEventWithLatencyInfo& touch, | 139 const TouchEventWithLatencyInfo& touch, |
140 InputEventAckState ack_result) OVERRIDE; | 140 InputEventAckState ack_result) OVERRIDE; |
141 #endif // defined(OS_WIN) || defined(USE_AURA) | 141 #endif // defined(OS_WIN) || defined(USE_AURA) |
142 virtual bool LockMouse() OVERRIDE; | 142 virtual bool LockMouse() OVERRIDE; |
143 virtual void UnlockMouse() OVERRIDE; | 143 virtual void UnlockMouse() OVERRIDE; |
144 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 144 virtual void GetScreenInfo(blink::WebScreenInfo* results) OVERRIDE; |
145 virtual void OnAccessibilityEvents( | 145 virtual void OnAccessibilityEvents( |
146 const std::vector<AccessibilityHostMsg_EventParams>& | 146 const std::vector<AccessibilityHostMsg_EventParams>& |
147 params) OVERRIDE; | 147 params) OVERRIDE; |
148 | 148 |
149 #if defined(OS_MACOSX) | 149 #if defined(OS_MACOSX) |
150 // RenderWidgetHostView implementation. | 150 // RenderWidgetHostView implementation. |
151 virtual void SetActive(bool active) OVERRIDE; | 151 virtual void SetActive(bool active) OVERRIDE; |
152 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 152 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
153 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 153 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
154 virtual void WindowFrameChanged() OVERRIDE; | 154 virtual void WindowFrameChanged() OVERRIDE; |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 RenderWidgetHostViewPort* platform_view_; | 214 RenderWidgetHostViewPort* platform_view_; |
215 #if defined(OS_WIN) || defined(USE_AURA) | 215 #if defined(OS_WIN) || defined(USE_AURA) |
216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 216 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
217 #endif // defined(OS_WIN) || defined(USE_AURA) | 217 #endif // defined(OS_WIN) || defined(USE_AURA) |
218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 218 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
219 }; | 219 }; |
220 | 220 |
221 } // namespace content | 221 } // namespace content |
222 | 222 |
223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 223 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
OLD | NEW |