| 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_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 5 #ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 6 #define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 #endif // defined(TOOLKIT_GTK) | 230 #endif // defined(TOOLKIT_GTK) |
| 231 | 231 |
| 232 #if defined(OS_WIN) && !defined(USE_AURA) | 232 #if defined(OS_WIN) && !defined(USE_AURA) |
| 233 virtual void WillWmDestroy() = 0; | 233 virtual void WillWmDestroy() = 0; |
| 234 #endif | 234 #endif |
| 235 | 235 |
| 236 #if defined(OS_POSIX) || defined(USE_AURA) | 236 #if defined(OS_POSIX) || defined(USE_AURA) |
| 237 static void GetDefaultScreenInfo( | 237 static void GetDefaultScreenInfo( |
| 238 WebKit::WebScreenInfo* results); | 238 WebKit::WebScreenInfo* results); |
| 239 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; | 239 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) = 0; |
| 240 virtual gfx::Rect GetRootWindowBounds() = 0; | 240 virtual gfx::Rect GetBoundsInRootWindow() = 0; |
| 241 #endif | 241 #endif |
| 242 | 242 |
| 243 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; | 243 virtual gfx::GLSurfaceHandle GetCompositingSurface() = 0; |
| 244 | 244 |
| 245 // Because the associated remote WebKit instance can asynchronously | 245 // Because the associated remote WebKit instance can asynchronously |
| 246 // prevent-default on a dispatched touch event, the touch events are queued in | 246 // prevent-default on a dispatched touch event, the touch events are queued in |
| 247 // the GestureRecognizer until invocation of ProcessTouchAck releases it to be | 247 // the GestureRecognizer until invocation of ProcessTouchAck releases it to be |
| 248 // processed (when |processed| is false) or ignored (when |processed| is true) | 248 // processed (when |processed| is false) or ignored (when |processed| is true) |
| 249 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, | 249 virtual void ProcessTouchAck(WebKit::WebInputEvent::Type type, |
| 250 bool processed) = 0; | 250 bool processed) = 0; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 267 virtual BrowserAccessibilityManager* | 267 virtual BrowserAccessibilityManager* |
| 268 GetBrowserAccessibilityManager() const = 0; | 268 GetBrowserAccessibilityManager() const = 0; |
| 269 virtual void OnAccessibilityNotifications( | 269 virtual void OnAccessibilityNotifications( |
| 270 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { | 270 const std::vector<AccessibilityHostMsg_NotificationParams>& params) { |
| 271 } | 271 } |
| 272 }; | 272 }; |
| 273 | 273 |
| 274 } // namespace content | 274 } // namespace content |
| 275 | 275 |
| 276 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ | 276 #endif // CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_ |
| OLD | NEW |