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: Source/web/ChromeClientImpl.h

Issue 1176423008: Forward mouse down node information to WebWidgetClient (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: call onMouseDown for GestureTap righter after MousePress is dispatched 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
« no previous file with comments | « Source/core/page/ChromeClient.h ('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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void xhrSucceeded(LocalFrame*) override; 157 void xhrSucceeded(LocalFrame*) override;
158 158
159 void didCancelCompositionOnSelectionChange() override; 159 void didCancelCompositionOnSelectionChange() override;
160 void willSetInputMethodState() override; 160 void willSetInputMethodState() override;
161 void didUpdateTextOfFocusedElementByNonUserInput() override; 161 void didUpdateTextOfFocusedElementByNonUserInput() override;
162 void showImeIfNeeded() override; 162 void showImeIfNeeded() override;
163 163
164 void registerViewportLayers() const override; 164 void registerViewportLayers() const override;
165 165
166 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 166 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
167 void onMouseDown(Node*) override;
167 void didUpdateTopControls() const override; 168 void didUpdateTopControls() const override;
168 169
169 private: 170 private:
170 bool isChromeClientImpl() const override { return true; } 171 bool isChromeClientImpl() const override { return true; }
171 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 172 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
172 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 173 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
173 174
174 void notifyPopupOpeningObservers() const; 175 void notifyPopupOpeningObservers() const;
175 void setCursor(const WebCursorInfo&); 176 void setCursor(const WebCursorInfo&);
176 177
177 WebViewImpl* m_webView; // Weak pointer. 178 WebViewImpl* m_webView; // Weak pointer.
178 WindowFeatures m_windowFeatures; 179 WindowFeatures m_windowFeatures;
179 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 180 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
180 Cursor m_lastSetMouseCursorForTesting; 181 Cursor m_lastSetMouseCursorForTesting;
181 }; 182 };
182 183
183 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 184 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
184 185
185 } // namespace blink 186 } // namespace blink
186 187
187 #endif 188 #endif
OLDNEW
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698