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

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

Issue 2667283007: Refactor Samsung SmartClip implementation. (Closed)
Patch Set: Rebase Created 3 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
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; 243 void enableDeviceEmulation(const WebDeviceEmulationParams&) override;
244 void disableDeviceEmulation() override; 244 void disableDeviceEmulation() override;
245 WebAXObject accessibilityObject() override; 245 WebAXObject accessibilityObject() override;
246 void setSelectionColors(unsigned activeBackgroundColor, 246 void setSelectionColors(unsigned activeBackgroundColor,
247 unsigned activeForegroundColor, 247 unsigned activeForegroundColor,
248 unsigned inactiveBackgroundColor, 248 unsigned inactiveBackgroundColor,
249 unsigned inactiveForegroundColor) override; 249 unsigned inactiveForegroundColor) override;
250 void performCustomContextMenuAction(unsigned action) override; 250 void performCustomContextMenuAction(unsigned action) override;
251 void showContextMenu() override; 251 void showContextMenu() override;
252 void didCloseContextMenu() override; 252 void didCloseContextMenu() override;
253 void extractSmartClipData(WebRect, WebString&, WebString&, WebRect&) override;
254 void hidePopups() override; 253 void hidePopups() override;
255 void setPageOverlayColor(WebColor) override; 254 void setPageOverlayColor(WebColor) override;
256 WebPageImportanceSignals* pageImportanceSignals() override; 255 WebPageImportanceSignals* pageImportanceSignals() override;
257 void transferActiveWheelFlingAnimation( 256 void transferActiveWheelFlingAnimation(
258 const WebActiveWheelFlingParameters&) override; 257 const WebActiveWheelFlingParameters&) override;
259 bool endActiveFlingAnimation() override; 258 bool endActiveFlingAnimation() override;
260 bool isFlinging() const override { return !!m_gestureAnimation.get(); } 259 bool isFlinging() const override { return !!m_gestureAnimation.get(); }
261 void setShowPaintRects(bool) override; 260 void setShowPaintRects(bool) override;
262 void setShowDebugBorders(bool); 261 void setShowDebugBorders(bool);
263 void setShowFPSCounter(bool) override; 262 void setShowFPSCounter(bool) override;
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
739 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; 738 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor;
740 }; 739 };
741 740
742 // We have no ways to check if the specified WebView is an instance of 741 // We have no ways to check if the specified WebView is an instance of
743 // WebViewImpl because WebViewImpl is the only implementation of WebView. 742 // WebViewImpl because WebViewImpl is the only implementation of WebView.
744 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 743 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
745 744
746 } // namespace blink 745 } // namespace blink
747 746
748 #endif 747 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698