| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 139 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
| 140 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 140 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
| 141 #if defined(OS_WIN) || defined(USE_AURA) | 141 #if defined(OS_WIN) || defined(USE_AURA) |
| 142 virtual void ProcessAckedTouchEvent( | 142 virtual void ProcessAckedTouchEvent( |
| 143 const TouchEventWithLatencyInfo& touch, | 143 const TouchEventWithLatencyInfo& touch, |
| 144 InputEventAckState ack_result) OVERRIDE; | 144 InputEventAckState ack_result) OVERRIDE; |
| 145 #endif // defined(OS_WIN) || defined(USE_AURA) | 145 #endif // defined(OS_WIN) || defined(USE_AURA) |
| 146 virtual bool LockMouse() OVERRIDE; | 146 virtual bool LockMouse() OVERRIDE; |
| 147 virtual void UnlockMouse() OVERRIDE; | 147 virtual void UnlockMouse() OVERRIDE; |
| 148 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 148 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
| 149 virtual void OnAccessibilityNotifications( | 149 virtual void OnAccessibilityEvents( |
| 150 const std::vector<AccessibilityHostMsg_NotificationParams>& | 150 const std::vector<AccessibilityHostMsg_EventParams>& |
| 151 params) OVERRIDE; | 151 params) OVERRIDE; |
| 152 | 152 |
| 153 #if defined(OS_MACOSX) | 153 #if defined(OS_MACOSX) |
| 154 // RenderWidgetHostView implementation. | 154 // RenderWidgetHostView implementation. |
| 155 virtual void SetActive(bool active) OVERRIDE; | 155 virtual void SetActive(bool active) OVERRIDE; |
| 156 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; | 156 virtual void SetTakesFocusOnlyOnMouseDown(bool flag) OVERRIDE; |
| 157 virtual void SetWindowVisibility(bool visible) OVERRIDE; | 157 virtual void SetWindowVisibility(bool visible) OVERRIDE; |
| 158 virtual void WindowFrameChanged() OVERRIDE; | 158 virtual void WindowFrameChanged() OVERRIDE; |
| 159 virtual void ShowDefinitionForSelection() OVERRIDE; | 159 virtual void ShowDefinitionForSelection() OVERRIDE; |
| 160 virtual bool SupportsSpeech() const OVERRIDE; | 160 virtual bool SupportsSpeech() const OVERRIDE; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 RenderWidgetHostViewPort* platform_view_; | 218 RenderWidgetHostViewPort* platform_view_; |
| 219 #if defined(OS_WIN) || defined(USE_AURA) | 219 #if defined(OS_WIN) || defined(USE_AURA) |
| 220 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; | 220 scoped_ptr<ui::GestureRecognizer> gesture_recognizer_; |
| 221 #endif // defined(OS_WIN) || defined(USE_AURA) | 221 #endif // defined(OS_WIN) || defined(USE_AURA) |
| 222 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); | 222 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewGuest); |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 } // namespace content | 225 } // namespace content |
| 226 | 226 |
| 227 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ | 227 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GUEST_H_ |
| OLD | NEW |