OLD | NEW |
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 Loading... |
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 484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 }; | 759 }; |
759 | 760 |
760 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 761 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
761 // We have no ways to check if the specified WebView is an instance of | 762 // We have no ways to check if the specified WebView is an instance of |
762 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 763 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
763 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 764 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
764 | 765 |
765 } // namespace blink | 766 } // namespace blink |
766 | 767 |
767 #endif | 768 #endif |
OLD | NEW |