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

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

Issue 259263003: Fix to remove customised String over IPC for SmartClip (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Build error 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
« 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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE; 238 virtual void setCompositorDeviceScaleFactorOverride(float) OVERRIDE;
239 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE; 239 virtual void setRootLayerTransform(const WebSize& offset, float scale) OVERR IDE;
240 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE; 240 virtual WebDevToolsAgent* devToolsAgent() OVERRIDE;
241 virtual WebAXObject accessibilityObject() OVERRIDE; 241 virtual WebAXObject accessibilityObject() OVERRIDE;
242 virtual void setSelectionColors(unsigned activeBackgroundColor, 242 virtual void setSelectionColors(unsigned activeBackgroundColor,
243 unsigned activeForegroundColor, 243 unsigned activeForegroundColor,
244 unsigned inactiveBackgroundColor, 244 unsigned inactiveBackgroundColor,
245 unsigned inactiveForegroundColor) OVERRIDE; 245 unsigned inactiveForegroundColor) OVERRIDE;
246 virtual void performCustomContextMenuAction(unsigned action) OVERRIDE; 246 virtual void performCustomContextMenuAction(unsigned action) OVERRIDE;
247 virtual void showContextMenu() OVERRIDE; 247 virtual void showContextMenu() OVERRIDE;
248 // FIXME: This should be removed when the chromium side patch lands
249 // http://codereview.chromium.org/260623004
248 virtual WebString getSmartClipData(WebRect) OVERRIDE; 250 virtual WebString getSmartClipData(WebRect) OVERRIDE;
251 virtual void getSmartClipData(WebRect, WebString&, WebRect&) OVERRIDE;
249 virtual void hidePopups() OVERRIDE; 252 virtual void hidePopups() OVERRIDE;
250 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE; 253 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE;
251 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE; 254 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE;
252 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE; 255 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE;
253 virtual bool endActiveFlingAnimation() OVERRIDE; 256 virtual bool endActiveFlingAnimation() OVERRIDE;
254 virtual void setShowPaintRects(bool) OVERRIDE; 257 virtual void setShowPaintRects(bool) OVERRIDE;
255 void setShowDebugBorders(bool); 258 void setShowDebugBorders(bool);
256 virtual void setShowFPSCounter(bool) OVERRIDE; 259 virtual void setShowFPSCounter(bool) OVERRIDE;
257 virtual void setContinuousPaintingEnabled(bool) OVERRIDE; 260 virtual void setContinuousPaintingEnabled(bool) OVERRIDE;
258 virtual void setShowScrollBottleneckRects(bool) OVERRIDE; 261 virtual void setShowScrollBottleneckRects(bool) OVERRIDE;
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 bool m_userGestureObserved; 716 bool m_userGestureObserved;
714 }; 717 };
715 718
716 // We have no ways to check if the specified WebView is an instance of 719 // We have no ways to check if the specified WebView is an instance of
717 // WebViewImpl because WebViewImpl is the only implementation of WebView. 720 // WebViewImpl because WebViewImpl is the only implementation of WebView.
718 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 721 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
719 722
720 } // namespace blink 723 } // namespace blink
721 724
722 #endif 725 #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