Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(283)

Side by Side Diff: chrome/browser/renderer_host/render_widget_host_view_views.h

Issue 7227007: [Mac] Show correct cursor after context menu is closed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698