| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 // Whether we are currently loading. | 202 // Whether we are currently loading. |
| 203 bool is_loading_; | 203 bool is_loading_; |
| 204 | 204 |
| 205 // The cursor for the page. This is passed up from the renderer. | 205 // The cursor for the page. This is passed up from the renderer. |
| 206 WebCursor current_cursor_; | 206 WebCursor current_cursor_; |
| 207 | 207 |
| 208 // The native cursor. | 208 // The native cursor. |
| 209 gfx::NativeCursor native_cursor_; | 209 gfx::NativeCursor native_cursor_; |
| 210 | 210 |
| 211 // Whether we are showing a popup menu. | 211 // Whether we are showing a context menu. |
| 212 bool is_showing_popup_menu_; | 212 bool is_showing_context_menu_; |
| 213 | 213 |
| 214 // The time at which this view started displaying white pixels as a result of | 214 // The time at which this view started displaying white pixels as a result of |
| 215 // not having anything to paint (empty backing store from renderer). This | 215 // not having anything to paint (empty backing store from renderer). This |
| 216 // value returns true for is_null() if we are not recording whiteout times. | 216 // value returns true for is_null() if we are not recording whiteout times. |
| 217 base::TimeTicks whiteout_start_time_; | 217 base::TimeTicks whiteout_start_time_; |
| 218 | 218 |
| 219 // The time it took after this view was selected for it to be fully painted. | 219 // The time it took after this view was selected for it to be fully painted. |
| 220 base::TimeTicks tab_switch_paint_time_; | 220 base::TimeTicks tab_switch_paint_time_; |
| 221 | 221 |
| 222 // If true, fade the render widget when painting it. | 222 // If true, fade the render widget when painting it. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 243 | 243 |
| 244 #if defined(TOUCH_UI) | 244 #if defined(TOUCH_UI) |
| 245 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> > | 245 std::map<uint64, scoped_refptr<AcceleratedSurfaceContainerTouch> > |
| 246 accelerated_surface_containers_; | 246 accelerated_surface_containers_; |
| 247 #endif | 247 #endif |
| 248 | 248 |
| 249 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); | 249 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewViews); |
| 250 }; | 250 }; |
| 251 | 251 |
| 252 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ | 252 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_VIEWS_H_ |
| OLD | NEW |