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

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

Issue 2790893004: Delete Android content detectors. (Closed)
Patch Set: Rebase Created 3 years, 8 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
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 317 matching lines...) Expand 10 before | Expand all | Expand 10 after
328 } 328 }
329 329
330 // Returns the main frame associated with this view. This may be null when 330 // Returns the main frame associated with this view. This may be null when
331 // the page is shutting down, but will be valid at all other times. 331 // the page is shutting down, but will be valid at all other times.
332 WebLocalFrameImpl* mainFrameImpl() const; 332 WebLocalFrameImpl* mainFrameImpl() const;
333 333
334 // Event related methods: 334 // Event related methods:
335 void mouseContextMenu(const WebMouseEvent&); 335 void mouseContextMenu(const WebMouseEvent&);
336 void mouseDoubleClick(const WebMouseEvent&); 336 void mouseDoubleClick(const WebMouseEvent&);
337 337
338 bool detectContentOnTouch(
339 const GestureEventWithHitTestResults& targetedEvent);
340 bool startPageScaleAnimation(const IntPoint& targetPosition, 338 bool startPageScaleAnimation(const IntPoint& targetPosition,
341 bool useAnchor, 339 bool useAnchor,
342 float newScale, 340 float newScale,
343 double durationInSeconds); 341 double durationInSeconds);
344 342
345 // WebGestureCurveTarget implementation for fling. 343 // WebGestureCurveTarget implementation for fling.
346 bool scrollBy(const WebFloatSize& delta, 344 bool scrollBy(const WebFloatSize& delta,
347 const WebFloatSize& velocity) override; 345 const WebFloatSize& velocity) override;
348 346
349 // Handles context menu events orignated via the the keyboard. These 347 // Handles context menu events orignated via the the keyboard. These
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 754 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
757 }; 755 };
758 756
759 // We have no ways to check if the specified WebView is an instance of 757 // We have no ways to check if the specified WebView is an instance of
760 // WebViewImpl because WebViewImpl is the only implementation of WebView. 758 // WebViewImpl because WebViewImpl is the only implementation of WebView.
761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 759 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
762 760
763 } // namespace blink 761 } // namespace blink
764 762
765 #endif 763 #endif
OLDNEW
« no previous file with comments | « content/test/data/android/content_detection/phone_local.html ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698