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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 class LinkHighlightImpl; | 74 class LinkHighlightImpl; |
75 class PageOverlay; | 75 class PageOverlay; |
76 class PageScaleConstraintsSet; | 76 class PageScaleConstraintsSet; |
77 class PaintLayerCompositor; | 77 class PaintLayerCompositor; |
78 class TopControls; | 78 class TopControls; |
79 class UserGestureToken; | 79 class UserGestureToken; |
80 class WebActiveGestureAnimation; | 80 class WebActiveGestureAnimation; |
81 class WebDevToolsAgentImpl; | 81 class WebDevToolsAgentImpl; |
82 class WebElement; | 82 class WebElement; |
83 class WebLayerTreeView; | 83 class WebLayerTreeView; |
| 84 class WebLocalFrame; |
84 class WebLocalFrameImpl; | 85 class WebLocalFrameImpl; |
85 class WebImage; | 86 class WebImage; |
86 class WebPagePopupImpl; | 87 class WebPagePopupImpl; |
87 class WebPlugin; | 88 class WebPlugin; |
| 89 class WebRemoteFrame; |
88 class WebSelection; | 90 class WebSelection; |
89 class WebSettingsImpl; | 91 class WebSettingsImpl; |
90 class WebViewScheduler; | 92 class WebViewScheduler; |
91 | 93 |
92 class WebViewImpl final : public WebView | 94 class WebViewImpl final : public WebView |
93 , public RefCounted<WebViewImpl> | 95 , public RefCounted<WebViewImpl> |
94 , public WebGestureCurveTarget | 96 , public WebGestureCurveTarget |
95 , public PageWidgetEventHandler { | 97 , public PageWidgetEventHandler { |
96 public: | 98 public: |
97 static WebViewImpl* create(WebViewClient*); | 99 static WebViewImpl* create(WebViewClient*); |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 const WebString& name, WebFrame* relativeToFrame) override; | 183 const WebString& name, WebFrame* relativeToFrame) override; |
182 WebFrame* focusedFrame() override; | 184 WebFrame* focusedFrame() override; |
183 void setFocusedFrame(WebFrame*) override; | 185 void setFocusedFrame(WebFrame*) override; |
184 void focusDocumentView(WebFrame*) override; | 186 void focusDocumentView(WebFrame*) override; |
185 void setInitialFocus(bool reverse) override; | 187 void setInitialFocus(bool reverse) override; |
186 void clearFocusedElement() override; | 188 void clearFocusedElement() override; |
187 bool scrollFocusedNodeIntoRect(const WebRect&) override; | 189 bool scrollFocusedNodeIntoRect(const WebRect&) override; |
188 void smoothScroll(int targetX, int targetY, long durationMs) override; | 190 void smoothScroll(int targetX, int targetY, long durationMs) override; |
189 void zoomToFindInPageRect(const WebRect&); | 191 void zoomToFindInPageRect(const WebRect&); |
190 void advanceFocus(bool reverse) override; | 192 void advanceFocus(bool reverse) override; |
| 193 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr
ame* to) override; |
191 double zoomLevel() override; | 194 double zoomLevel() override; |
192 double setZoomLevel(double) override; | 195 double setZoomLevel(double) override; |
193 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; | 196 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; |
194 float textZoomFactor() override; | 197 float textZoomFactor() override; |
195 float setTextZoomFactor(float) override; | 198 float setTextZoomFactor(float) override; |
196 bool zoomToMultipleTargetsRect(const WebRect&) override; | 199 bool zoomToMultipleTargetsRect(const WebRect&) override; |
197 float pageScaleFactor() const override; | 200 float pageScaleFactor() const override; |
198 void setDefaultPageScaleLimits(float minScale, float maxScale) override; | 201 void setDefaultPageScaleLimits(float minScale, float maxScale) override; |
199 void setInitialPageScaleOverride(float) override; | 202 void setInitialPageScaleOverride(float) override; |
200 void setMaximumLegibleScale(float) override; | 203 void setMaximumLegibleScale(float) override; |
(...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
754 }; | 757 }; |
755 | 758 |
756 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 759 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 | 760 // We have no ways to check if the specified WebView is an instance of |
758 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 761 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
759 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
760 | 763 |
761 } // namespace blink | 764 } // namespace blink |
762 | 765 |
763 #endif | 766 #endif |
OLD | NEW |