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

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

Issue 1313013005: Add a test that we resume commits after inserting the body. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove extra incs. Created 5 years, 3 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 /* 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 169 void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
170 void onMouseDown(Node*) override; 170 void onMouseDown(Node*) override;
171 void didUpdateTopControls() const override; 171 void didUpdateTopControls() const override;
172 172
173 FloatSize elasticOverscroll() const override; 173 FloatSize elasticOverscroll() const override;
174 174
175 private: 175 private:
176 explicit ChromeClientImpl(WebViewImpl*); 176 explicit ChromeClientImpl(WebViewImpl*);
177 177
178 bool disableThreadedParsingForUnitTests() const override;
179
178 bool isChromeClientImpl() const override { return true; } 180 bool isChromeClientImpl() const override { return true; }
179 void registerPopupOpeningObserver(PopupOpeningObserver*) override; 181 void registerPopupOpeningObserver(PopupOpeningObserver*) override;
180 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override; 182 void unregisterPopupOpeningObserver(PopupOpeningObserver*) override;
181 183
182 void notifyPopupOpeningObservers() const; 184 void notifyPopupOpeningObservers() const;
183 void setCursor(const WebCursorInfo&); 185 void setCursor(const WebCursorInfo&);
184 186
185 WebViewImpl* m_webView; // Weak pointer. 187 WebViewImpl* m_webView; // Weak pointer.
186 WindowFeatures m_windowFeatures; 188 WindowFeatures m_windowFeatures;
187 Vector<PopupOpeningObserver*> m_popupOpeningObservers; 189 Vector<PopupOpeningObserver*> m_popupOpeningObservers;
188 Cursor m_lastSetMouseCursorForTesting; 190 Cursor m_lastSetMouseCursorForTesting;
189 }; 191 };
190 192
191 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 193 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
192 194
193 } // namespace blink 195 } // namespace blink
194 196
195 #endif 197 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698