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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
10 | 10 |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 | 207 |
208 // The cursor for the page. This is passed up from the renderer. | 208 // The cursor for the page. This is passed up from the renderer. |
209 WebCursor current_cursor_; | 209 WebCursor current_cursor_; |
210 | 210 |
211 // The time at which this view started displaying white pixels as a result of | 211 // The time at which this view started displaying white pixels as a result of |
212 // not having anything to paint (empty backing store from renderer). This | 212 // not having anything to paint (empty backing store from renderer). This |
213 // value returns true for is_null() if we are not recording whiteout times. | 213 // value returns true for is_null() if we are not recording whiteout times. |
214 base::TimeTicks whiteout_start_time_; | 214 base::TimeTicks whiteout_start_time_; |
215 | 215 |
216 // The time it took after this view was selected for it to be fully painted. | 216 // The time it took after this view was selected for it to be fully painted. |
217 base::TimeTicks tab_switch_paint_time_; | 217 base::TimeTicks web_contents_switch_paint_time_; |
218 | 218 |
219 // The native view of our parent widget. Used only for popups. | 219 // The native view of our parent widget. Used only for popups. |
220 GtkWidget* parent_; | 220 GtkWidget* parent_; |
221 | 221 |
222 // We ignore the first mouse release on popups so the popup will remain open. | 222 // We ignore the first mouse release on popups so the popup will remain open. |
223 bool is_popup_first_mouse_release_; | 223 bool is_popup_first_mouse_release_; |
224 | 224 |
225 // Whether or not this widget's input context was focused before being | 225 // Whether or not this widget's input context was focused before being |
226 // shadowed by another widget. Used in OnGrabNotify() handler to track the | 226 // shadowed by another widget. Used in OnGrabNotify() handler to track the |
227 // focused state correctly. | 227 // focused state correctly. |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 gfx::PluginWindowHandle compositing_surface_; | 283 gfx::PluginWindowHandle compositing_surface_; |
284 | 284 |
285 // The event for the last mouse down we handled. We need this for context | 285 // The event for the last mouse down we handled. We need this for context |
286 // menus and drags. | 286 // menus and drags. |
287 GdkEventButton* last_mouse_down_; | 287 GdkEventButton* last_mouse_down_; |
288 | 288 |
289 ui::GtkSignalRegistrar signals_; | 289 ui::GtkSignalRegistrar signals_; |
290 }; | 290 }; |
291 | 291 |
292 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ | 292 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_GTK_H_ |
OLD | NEW |