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