| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 void setWindowFeatures(const WebWindowFeatures&) override; | 176 void setWindowFeatures(const WebWindowFeatures&) override; |
| 177 void setOpenedByDOM() override; | 177 void setOpenedByDOM() override; |
| 178 WebFrame* mainFrame() override; | 178 WebFrame* mainFrame() override; |
| 179 WebFrame* findFrameByName( | 179 WebFrame* findFrameByName( |
| 180 const WebString& name, WebFrame* relativeToFrame) override; | 180 const WebString& name, WebFrame* relativeToFrame) override; |
| 181 WebFrame* focusedFrame() override; | 181 WebFrame* focusedFrame() override; |
| 182 void setFocusedFrame(WebFrame*) override; | 182 void setFocusedFrame(WebFrame*) override; |
| 183 void setInitialFocus(bool reverse) override; | 183 void setInitialFocus(bool reverse) override; |
| 184 void clearFocusedElement() override; | 184 void clearFocusedElement() override; |
| 185 bool scrollFocusedNodeIntoRect(const WebRect&) override; | 185 bool scrollFocusedNodeIntoRect(const WebRect&) override; |
| 186 void smoothScroll(int targetX, int targetY, long durationMs) override; |
| 186 void zoomToFindInPageRect(const WebRect&); | 187 void zoomToFindInPageRect(const WebRect&); |
| 187 void advanceFocus(bool reverse) override; | 188 void advanceFocus(bool reverse) override; |
| 188 double zoomLevel() override; | 189 double zoomLevel() override; |
| 189 double setZoomLevel(double) override; | 190 double setZoomLevel(double) override; |
| 190 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; | 191 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; |
| 191 float textZoomFactor() override; | 192 float textZoomFactor() override; |
| 192 float setTextZoomFactor(float) override; | 193 float setTextZoomFactor(float) override; |
| 193 bool zoomToMultipleTargetsRect(const WebRect&) override; | 194 bool zoomToMultipleTargetsRect(const WebRect&) override; |
| 194 float pageScaleFactor() const override; | 195 float pageScaleFactor() const override; |
| 195 void setDefaultPageScaleLimits(float minScale, float maxScale) override; | 196 void setDefaultPageScaleLimits(float minScale, float maxScale) override; |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 }; | 761 }; |
| 761 | 762 |
| 762 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 763 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 763 // We have no ways to check if the specified WebView is an instance of | 764 // We have no ways to check if the specified WebView is an instance of |
| 764 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 765 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 765 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 766 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 766 | 767 |
| 767 } // namespace blink | 768 } // namespace blink |
| 768 | 769 |
| 769 #endif | 770 #endif |
| OLD | NEW |