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

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

Issue 311903002: Remove dead notification for number of wheel event handlers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Another try. Created 6 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/web/ChromeClientImpl.cpp ('k') | Source/web/WebViewImpl.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 // the page is shutting down, but will be valid at all other times. 313 // the page is shutting down, but will be valid at all other times.
314 WebLocalFrameImpl* mainFrameImpl(); 314 WebLocalFrameImpl* mainFrameImpl();
315 315
316 // Event related methods: 316 // Event related methods:
317 void mouseContextMenu(const WebMouseEvent&); 317 void mouseContextMenu(const WebMouseEvent&);
318 void mouseDoubleClick(const WebMouseEvent&); 318 void mouseDoubleClick(const WebMouseEvent&);
319 319
320 bool detectContentOnTouch(const WebPoint&); 320 bool detectContentOnTouch(const WebPoint&);
321 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u seAnchor, float newScale, double durationInSeconds); 321 bool startPageScaleAnimation(const WebCore::IntPoint& targetPosition, bool u seAnchor, float newScale, double durationInSeconds);
322 322
323 void numberOfWheelEventHandlersChanged(unsigned);
324 void hasTouchEventHandlers(bool); 323 void hasTouchEventHandlers(bool);
325 324
326 // WebGestureCurveTarget implementation for fling. 325 // WebGestureCurveTarget implementation for fling.
327 virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocit y) OVERRIDE; 326 virtual bool scrollBy(const WebFloatSize& delta, const WebFloatSize& velocit y) OVERRIDE;
328 327
329 // Handles context menu events orignated via the the keyboard. These 328 // Handles context menu events orignated via the the keyboard. These
330 // include the VK_APPS virtual key and the Shift+F10 combine. Code is 329 // include the VK_APPS virtual key and the Shift+F10 combine. Code is
331 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM 330 // based on the Webkit function bool WebView::handleContextMenuEvent(WPARAM
332 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only 331 // wParam, LPARAM lParam) in webkit\webkit\win\WebView.cpp. The only
333 // significant change in this function is the code to convert from a 332 // significant change in this function is the code to convert from a
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 bool m_userGestureObserved; 712 bool m_userGestureObserved;
714 }; 713 };
715 714
716 // We have no ways to check if the specified WebView is an instance of 715 // We have no ways to check if the specified WebView is an instance of
717 // WebViewImpl because WebViewImpl is the only implementation of WebView. 716 // WebViewImpl because WebViewImpl is the only implementation of WebView.
718 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 717 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
719 718
720 } // namespace blink 719 } // namespace blink
721 720
722 #endif 721 #endif
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698