diff options
| author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 19:02:29 +0000 |
|---|---|---|
| committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-27 19:02:29 +0000 |
| commit | b021c6e571d6a234eb81d789eabd9b1243d96bdd (patch) | |
| tree | 4f84b6da6fcbc9206558fbf166b1950ad8c3c15d /chrome/browser/renderer_host/render_widget_host_view_mac.h | |
| parent | 80544c8a2341ce96f68c65174a3eaceec861082d (diff) | |
| download | chromium_src-b021c6e571d6a234eb81d789eabd9b1243d96bdd.zip chromium_src-b021c6e571d6a234eb81d789eabd9b1243d96bdd.tar.gz chromium_src-b021c6e571d6a234eb81d789eabd9b1243d96bdd.tar.bz2 | |
Render widget host view cursors:
- Make UpdateCursorIfOverSelf private and only exist on mac and win.
- update loading state for linux and show a loading cursor appropriately.
BUG=9385
Review URL: http://codereview.chromium.org/53130
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host_view_mac.h')
| -rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_mac.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.h b/chrome/browser/renderer_host/render_widget_host_view_mac.h index 0a0dd3d..ffa0a5d 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_mac.h +++ b/chrome/browser/renderer_host/render_widget_host_view_mac.h @@ -78,7 +78,6 @@ class RenderWidgetHostViewMac : public RenderWidgetHostView { virtual void Hide(); virtual gfx::Rect GetViewBounds() const; virtual void UpdateCursor(const WebCursor& cursor); - virtual void UpdateCursorIfOverSelf(); virtual void SetIsLoading(bool is_loading); virtual void IMEUpdateStatus(int control, const gfx::Rect& caret_rect); virtual void DidPaintRect(const gfx::Rect& rect); @@ -91,6 +90,10 @@ class RenderWidgetHostViewMac : public RenderWidgetHostView { void KillSelf(); private: + // Updates the display cursor to the current cursor if the cursor is over this + // render view. + void UpdateCursorIfOverSelf(); + // Shuts down the render_widget_host_. This is a separate function so we can // invoke it from the message loop. void ShutdownHost(); |
