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

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

Issue 163933002: Send early ShowPress on TapDown when page isn't scrollable/pinchable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 virtual void requestPointerUnlock() OVERRIDE; 182 virtual void requestPointerUnlock() OVERRIDE;
183 183
184 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element> >&) OVERRIDE; 184 virtual void didAssociateFormControls(const Vector<RefPtr<WebCore::Element> >&) OVERRIDE;
185 virtual void didChangeValueInTextField(WebCore::HTMLInputElement&) OVERRIDE; 185 virtual void didChangeValueInTextField(WebCore::HTMLInputElement&) OVERRIDE;
186 virtual void didEndEditingOnTextField(WebCore::HTMLInputElement&) OVERRIDE; 186 virtual void didEndEditingOnTextField(WebCore::HTMLInputElement&) OVERRIDE;
187 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE; 187 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE;
188 188
189 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; 189 virtual void didCancelCompositionOnSelectionChange() OVERRIDE;
190 virtual void willSetInputMethodState() OVERRIDE; 190 virtual void willSetInputMethodState() OVERRIDE;
191 191
192 virtual float minimumPageScaleFactor() const OVERRIDE;
193 virtual float maximumPageScaleFactor() const OVERRIDE;
194
192 private: 195 private:
193 virtual bool isChromeClientImpl() const OVERRIDE { return true; } 196 virtual bool isChromeClientImpl() const OVERRIDE { return true; }
194 197
195 WebNavigationPolicy getNavigationPolicy(); 198 WebNavigationPolicy getNavigationPolicy();
196 void getPopupMenuInfo(WebCore::PopupContainer*, WebPopupMenuInfo*); 199 void getPopupMenuInfo(WebCore::PopupContainer*, WebPopupMenuInfo*);
197 void setCursor(const WebCursorInfo&); 200 void setCursor(const WebCursorInfo&);
198 201
199 WebViewImpl* m_webView; // weak pointer 202 WebViewImpl* m_webView; // weak pointer
200 bool m_toolbarsVisible; 203 bool m_toolbarsVisible;
201 bool m_statusbarVisible; 204 bool m_statusbarVisible;
(...skipping 17 matching lines...) Expand all
219 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 222 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
220 223
221 WebViewImpl* m_webView; 224 WebViewImpl* m_webView;
222 }; 225 };
223 226
224 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 227 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
225 228
226 } // namespace blink 229 } // namespace blink
227 230
228 #endif 231 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698