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

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

Issue 1471993002: Resume cursor blinking on closing context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: robusted onContextMenuClosed() and fixed nits Created 5 years 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 | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 unsigned long createUniqueIdentifierForRequest() override; 254 unsigned long createUniqueIdentifierForRequest() override;
255 void enableDeviceEmulation(const WebDeviceEmulationParams&) override; 255 void enableDeviceEmulation(const WebDeviceEmulationParams&) override;
256 void disableDeviceEmulation() override; 256 void disableDeviceEmulation() override;
257 WebAXObject accessibilityObject() override; 257 WebAXObject accessibilityObject() override;
258 void setSelectionColors(unsigned activeBackgroundColor, 258 void setSelectionColors(unsigned activeBackgroundColor,
259 unsigned activeForegroundColor, 259 unsigned activeForegroundColor,
260 unsigned inactiveBackgroundColor, 260 unsigned inactiveBackgroundColor,
261 unsigned inactiveForegroundColor) override; 261 unsigned inactiveForegroundColor) override;
262 void performCustomContextMenuAction(unsigned action) override; 262 void performCustomContextMenuAction(unsigned action) override;
263 void showContextMenu() override; 263 void showContextMenu() override;
264 void didCloseContextMenu() override;
264 void extractSmartClipData(WebRect, WebString&, WebString&, WebRect&) overrid e; 265 void extractSmartClipData(WebRect, WebString&, WebString&, WebRect&) overrid e;
265 void hidePopups() override; 266 void hidePopups() override;
266 void setPageOverlayColor(WebColor) override; 267 void setPageOverlayColor(WebColor) override;
267 WebPageImportanceSignals* pageImportanceSignals() override; 268 WebPageImportanceSignals* pageImportanceSignals() override;
268 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) override; 269 void transferActiveWheelFlingAnimation(const WebActiveWheelFlingParameters&) override;
269 bool endActiveFlingAnimation() override; 270 bool endActiveFlingAnimation() override;
270 void setShowPaintRects(bool) override; 271 void setShowPaintRects(bool) override;
271 void setShowDebugBorders(bool); 272 void setShowDebugBorders(bool);
272 void setShowFPSCounter(bool) override; 273 void setShowFPSCounter(bool) override;
273 void setShowScrollBottleneckRects(bool) override; 274 void setShowScrollBottleneckRects(bool) override;
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
754 }; 755 };
755 756
756 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 757 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
757 // We have no ways to check if the specified WebView is an instance of 758 // We have no ways to check if the specified WebView is an instance of
758 // WebViewImpl because WebViewImpl is the only implementation of WebView. 759 // WebViewImpl because WebViewImpl is the only implementation of WebView.
759 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
760 761
761 } // namespace blink 762 } // namespace blink
762 763
763 #endif 764 #endif
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698