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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 float topControlsHeight, | 181 float topControlsHeight, |
182 bool topControlsShrinkLayout) override; | 182 bool topControlsShrinkLayout) override; |
183 WebFrame* mainFrame() override; | 183 WebFrame* mainFrame() override; |
184 WebFrame* findFrameByName( | 184 WebFrame* findFrameByName( |
185 const WebString& name, WebFrame* relativeToFrame) override; | 185 const WebString& name, WebFrame* relativeToFrame) override; |
186 WebFrame* focusedFrame() override; | 186 WebFrame* focusedFrame() override; |
187 void setFocusedFrame(WebFrame*) override; | 187 void setFocusedFrame(WebFrame*) override; |
188 void focusDocumentView(WebFrame*) override; | 188 void focusDocumentView(WebFrame*) override; |
189 void setInitialFocus(bool reverse) override; | 189 void setInitialFocus(bool reverse) override; |
190 void clearFocusedElement() override; | 190 void clearFocusedElement() override; |
191 bool scrollFocusedNodeIntoRect(const WebRect&) override; | 191 bool scrollFocusedEditableElementIntoRect(const WebRect&) override; |
192 void smoothScroll(int targetX, int targetY, long durationMs) override; | 192 void smoothScroll(int targetX, int targetY, long durationMs) override; |
193 void zoomToFindInPageRect(const WebRect&); | 193 void zoomToFindInPageRect(const WebRect&); |
194 void advanceFocus(bool reverse) override; | 194 void advanceFocus(bool reverse) override; |
195 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr
ame* to) override; | 195 void advanceFocusAcrossFrames(WebFocusType, WebRemoteFrame* from, WebLocalFr
ame* to) override; |
196 double zoomLevel() override; | 196 double zoomLevel() override; |
197 double setZoomLevel(double) override; | 197 double setZoomLevel(double) override; |
198 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; | 198 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; |
199 float textZoomFactor() override; | 199 float textZoomFactor() override; |
200 float setTextZoomFactor(float) override; | 200 float setTextZoomFactor(float) override; |
201 bool zoomToMultipleTargetsRect(const WebRect&) override; | 201 bool zoomToMultipleTargetsRect(const WebRect&) override; |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 double m_lastFrameTimeMonotonic; | 756 double m_lastFrameTimeMonotonic; |
757 }; | 757 }; |
758 | 758 |
759 // We have no ways to check if the specified WebView is an instance of | 759 // We have no ways to check if the specified WebView is an instance of |
760 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 760 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
762 | 762 |
763 } // namespace blink | 763 } // namespace blink |
764 | 764 |
765 #endif | 765 #endif |
OLD | NEW |