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

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

Issue 266193003: Revert of Fix to remove customised String over IPC for SmartClip (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 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/frame/SmartClip.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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE; 240 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE;
241 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE; 241 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE;
242 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE; 242 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE;
243 virtual WebAXObject accessibilityObject() OVERRIDE; 243 virtual WebAXObject accessibilityObject() OVERRIDE;
244 virtual void setSelectionColors(unsigned activeBackgroundColor, 244 virtual void setSelectionColors(unsigned activeBackgroundColor,
245 unsigned activeForegroundColor, 245 unsigned activeForegroundColor,
246 unsigned inactiveBackgroundColor, 246 unsigned inactiveBackgroundColor,
247 unsigned inactiveForegroundColor) OVERRIDE; 247 unsigned inactiveForegroundColor) OVERRIDE;
248 virtual void performCustomContextMenuAction(unsigned action) OVERRIDE; 248 virtual void performCustomContextMenuAction(unsigned action) OVERRIDE;
249 virtual void showContextMenu() OVERRIDE; 249 virtual void showContextMenu() OVERRIDE;
250 virtual void getSmartClipData(WebRect, WebString*, WebRect*) OVERRIDE; 250 virtual WebString getSmartClipData(WebRect) OVERRIDE;
251 virtual void hidePopups() OVERRIDE; 251 virtual void hidePopups() OVERRIDE;
252 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE; 252 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE;
253 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE; 253 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE;
254 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE; 254 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE;
255 virtual bool endActiveFlingAnimation() OVERRIDE; 255 virtual bool endActiveFlingAnimation() OVERRIDE;
256 virtual void setShowPaintRects(bool) OVERRIDE; 256 virtual void setShowPaintRects(bool) OVERRIDE;
257 void setShowDebugBorders(bool); 257 void setShowDebugBorders(bool);
258 virtual void setShowFPSCounter(bool) OVERRIDE; 258 virtual void setShowFPSCounter(bool) OVERRIDE;
259 virtual void setContinuousPaintingEnabled(bool) OVERRIDE; 259 virtual void setContinuousPaintingEnabled(bool) OVERRIDE;
260 virtual void setShowScrollBottleneckRects(bool) OVERRIDE; 260 virtual void setShowScrollBottleneckRects(bool) OVERRIDE;
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 bool m_userGestureObserved; 727 bool m_userGestureObserved;
728 }; 728 };
729 729
730 // We have no ways to check if the specified WebView is an instance of 730 // We have no ways to check if the specified WebView is an instance of
731 // WebViewImpl because WebViewImpl is the only implementation of WebView. 731 // WebViewImpl because WebViewImpl is the only implementation of WebView.
732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 732 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
733 733
734 } // namespace blink 734 } // namespace blink
735 735
736 #endif 736 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/SmartClip.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698