| 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 void resizeWithTopControls( | 178 void resizeWithTopControls( |
| 179 const WebSize&, | 179 const WebSize&, |
| 180 float topControlsHeight, | 180 float topControlsHeight, |
| 181 bool topControlsShrinkLayout) override; | 181 bool topControlsShrinkLayout) override; |
| 182 WebFrame* mainFrame() override; | 182 WebFrame* mainFrame() override; |
| 183 WebFrame* findFrameByName( | 183 WebFrame* findFrameByName( |
| 184 const WebString& name, WebFrame* relativeToFrame) override; | 184 const WebString& name, WebFrame* relativeToFrame) override; |
| 185 WebFrame* focusedFrame() override; | 185 WebFrame* focusedFrame() override; |
| 186 void setFocusedFrame(WebFrame*) override; | 186 void setFocusedFrame(WebFrame*) override; |
| 187 void focusDocumentView(WebFrame*) override; | 187 void focusDocumentView(WebFrame*) override; |
| 188 void unfocusDocumentView(WebFrame*) override; |
| 188 void setInitialFocus(bool reverse) override; | 189 void setInitialFocus(bool reverse) override; |
| 189 void clearFocusedElement() override; | 190 void clearFocusedElement() override; |
| 190 bool scrollFocusedNodeIntoRect(const WebRect&) override; | 191 bool scrollFocusedNodeIntoRect(const WebRect&) override; |
| 191 void smoothScroll(int targetX, int targetY, long durationMs) override; | 192 void smoothScroll(int targetX, int targetY, long durationMs) override; |
| 192 void zoomToFindInPageRect(const WebRect&); | 193 void zoomToFindInPageRect(const WebRect&); |
| 193 void advanceFocus(bool reverse) override; | 194 void advanceFocus(bool reverse) override; |
| 194 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr
ame* to) override; | 195 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr
ame* to) override; |
| 195 double zoomLevel() override; | 196 double zoomLevel() override; |
| 196 double setZoomLevel(double) override; | 197 double setZoomLevel(double) override; |
| 197 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; | 198 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 }; | 757 }; |
| 757 | 758 |
| 758 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); | 759 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is
WebView()); |
| 759 // 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 |
| 760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 761 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 762 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 762 | 763 |
| 763 } // namespace blink | 764 } // namespace blink |
| 764 | 765 |
| 765 #endif | 766 #endif |
| OLD | NEW |