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

Side by Side Diff: Source/web/ChromeClientImpl.h

Issue 1143043006: Cleanup: Move ChromeClient::m_lastSetMouseCursorForTesting to ChromeClientImpl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/testing/Internals.cpp ('k') | Source/web/ChromeClientImpl.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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void layoutUpdated(LocalFrame*) const override; 101 void layoutUpdated(LocalFrame*) const override;
102 void showMouseOverURL(const HitTestResult&) override; 102 void showMouseOverURL(const HitTestResult&) override;
103 void setToolTip(const String& tooltipText, TextDirection) override; 103 void setToolTip(const String& tooltipText, TextDirection) override;
104 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride; 104 void dispatchViewportPropertiesDidChange(const ViewportDescription&) const o verride;
105 void printInternal(LocalFrame*) override; 105 void printInternal(LocalFrame*) override;
106 void annotatedRegionsChanged() override; 106 void annotatedRegionsChanged() override;
107 PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorCh ooserClient*, const Color&) override; 107 PassOwnPtrWillBeRawPtr<ColorChooser> createColorChooser(LocalFrame*, ColorCh ooserClient*, const Color&) override;
108 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&) override; 108 PassRefPtr<DateTimeChooser> openDateTimeChooser(DateTimeChooserClient*, cons t DateTimeChooserParameters&) override;
109 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) override; 109 void runOpenPanel(LocalFrame*, PassRefPtr<FileChooser>) override;
110 void enumerateChosenDirectory(FileChooser*) override; 110 void enumerateChosenDirectory(FileChooser*) override;
111 void setCursorInternal(const Cursor&) override; 111 void setCursor(const Cursor&) override;
112 Cursor lastSetCursorForTesting() const override;
112 void needTouchEvents(bool needTouchEvents) override; 113 void needTouchEvents(bool needTouchEvents) override;
113 void setTouchAction(TouchAction) override; 114 void setTouchAction(TouchAction) override;
114 115
115 GraphicsLayerFactory* graphicsLayerFactory() const override; 116 GraphicsLayerFactory* graphicsLayerFactory() const override;
116 117
117 // Pass 0 as the GraphicsLayer to detatch the root layer. 118 // Pass 0 as the GraphicsLayer to detatch the root layer.
118 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ; 119 void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override ;
119 120
120 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override; 121 void attachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override;
121 void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override; 122 void detachCompositorAnimationTimeline(WebCompositorAnimationTimeline*, Loca lFrame* localRoot) override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 bool isChromeClientImpl() const override { return true; } 169 bool isChromeClientImpl() const override { return true; }
169 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 170 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
170 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 171 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
171 172
172 void notifyPopupOpeningObservers() const; 173 void notifyPopupOpeningObservers() const;
173 void setCursor(const WebCursorInfo&); 174 void setCursor(const WebCursorInfo&);
174 175
175 WebViewImpl* m_webView; // Weak pointer. 176 WebViewImpl* m_webView; // Weak pointer.
176 WindowFeatures m_windowFeatures; 177 WindowFeatures m_windowFeatures;
177 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 178 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
179 Cursor m_lastSetMouseCursorForTesting;
178 }; 180 };
179 181
180 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 182 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
181 183
182 } // namespace blink 184 } // namespace blink
183 185
184 #endif 186 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/Internals.cpp ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698