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

Side by Side Diff: Source/core/page/Chrome.h

Issue 1121433003: Fix mouse cursor update timer to be page-global instead of per-frame (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: bokan cr feedback Created 5 years, 7 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
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 virtual IntRect viewportToScreen(const IntRect&) const override; 65 virtual IntRect viewportToScreen(const IntRect&) const override;
66 virtual WebScreenInfo screenInfo() const override; 66 virtual WebScreenInfo screenInfo() const override;
67 67
68 virtual void scheduleAnimation() override; 68 virtual void scheduleAnimation() override;
69 69
70 void scheduleAnimationForFrame(LocalFrame* localRoot); 70 void scheduleAnimationForFrame(LocalFrame* localRoot);
71 71
72 void contentsSizeChanged(LocalFrame*, const IntSize&) const; 72 void contentsSizeChanged(LocalFrame*, const IntSize&) const;
73 73
74 void setCursor(const Cursor&); 74 void setCursor(const Cursor&);
75 Cursor getLastSetCursorForTesting() const;
75 76
76 void setWindowRect(const IntRect&) const; 77 void setWindowRect(const IntRect&) const;
77 IntRect windowRect() const; 78 IntRect windowRect() const;
78 79
79 IntRect pageRect() const; 80 IntRect pageRect() const;
80 81
81 void focus() const; 82 void focus() const;
82 83
83 bool canTakeFocus(WebFocusType) const; 84 bool canTakeFocus(WebFocusType) const;
84 void takeFocus(WebFocusType) const; 85 void takeFocus(WebFocusType) const;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 132
132 void willBeDestroyed(); 133 void willBeDestroyed();
133 134
134 private: 135 private:
135 Chrome(Page*, ChromeClient*); 136 Chrome(Page*, ChromeClient*);
136 void notifyPopupOpeningObservers() const; 137 void notifyPopupOpeningObservers() const;
137 138
138 Page* m_page; 139 Page* m_page;
139 ChromeClient* m_client; 140 ChromeClient* m_client;
140 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 141 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
142 Cursor m_lastSetMouseCursorForTesting;
141 }; 143 };
142 144
143 } // namespace blink 145 } // namespace blink
144 146
145 #endif // Chrome_h 147 #endif // Chrome_h
OLDNEW
« no previous file with comments | « Source/core/layout/LayoutObject.cpp ('k') | Source/core/page/Chrome.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698