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_GTK_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
7 | 7 |
8 #include <gdk/gdk.h> | 8 #include <gdk/gdk.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; | 124 virtual bool HasAcceleratedSurface(const gfx::Size& desired_size) OVERRIDE; |
125 virtual void SetHasHorizontalScrollbar( | 125 virtual void SetHasHorizontalScrollbar( |
126 bool has_horizontal_scrollbar) OVERRIDE; | 126 bool has_horizontal_scrollbar) OVERRIDE; |
127 virtual void SetScrollOffsetPinning( | 127 virtual void SetScrollOffsetPinning( |
128 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; | 128 bool is_pinned_to_left, bool is_pinned_to_right) OVERRIDE; |
129 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; | 129 virtual void GetScreenInfo(WebKit::WebScreenInfo* results) OVERRIDE; |
130 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; | 130 virtual gfx::Rect GetBoundsInRootWindow() OVERRIDE; |
131 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; | 131 virtual gfx::GLSurfaceHandle GetCompositingSurface() OVERRIDE; |
132 virtual bool LockMouse() OVERRIDE; | 132 virtual bool LockMouse() OVERRIDE; |
133 virtual void UnlockMouse() OVERRIDE; | 133 virtual void UnlockMouse() OVERRIDE; |
134 virtual void OnAccessibilityNotifications( | 134 virtual void OnAccessibilityEvents( |
135 const std::vector<AccessibilityHostMsg_NotificationParams>& params) | 135 const std::vector<AccessibilityHostMsg_EventParams>& params) |
136 OVERRIDE; | 136 OVERRIDE; |
137 | 137 |
138 // ActiveWindowWatcherXObserver implementation. | 138 // ActiveWindowWatcherXObserver implementation. |
139 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; | 139 virtual void ActiveWindowChanged(GdkWindow* active_window) OVERRIDE; |
140 | 140 |
141 // IPC::Sender implementation: | 141 // IPC::Sender implementation: |
142 virtual bool Send(IPC::Message* message) OVERRIDE; | 142 virtual bool Send(IPC::Message* message) OVERRIDE; |
143 | 143 |
144 // If the widget is aligned with an edge of the monitor its on and the user | 144 // If the widget is aligned with an edge of the monitor its on and the user |
145 // attempts to drag past that edge we track the number of times it has | 145 // attempts to drag past that edge we track the number of times it has |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; | 333 scoped_ptr<BrowserAccessibilityManager> browser_accessibility_manager_; |
334 | 334 |
335 ui::GtkSignalRegistrar signals_; | 335 ui::GtkSignalRegistrar signals_; |
336 | 336 |
337 ui::LatencyInfo software_latency_info_; | 337 ui::LatencyInfo software_latency_info_; |
338 }; | 338 }; |
339 | 339 |
340 } // namespace content | 340 } // namespace content |
341 | 341 |
342 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 342 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |