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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 bool isActive() const override; | 174 bool isActive() const override; |
175 void setIsActive(bool value) override; | 175 void setIsActive(bool value) override; |
176 void setDomainRelaxationForbidden(bool, const WebString& scheme) override; | 176 void setDomainRelaxationForbidden(bool, const WebString& scheme) override; |
177 void setWindowFeatures(const WebWindowFeatures&) override; | 177 void setWindowFeatures(const WebWindowFeatures&) override; |
178 void setOpenedByDOM() override; | 178 void setOpenedByDOM() override; |
179 WebFrame* mainFrame() override; | 179 WebFrame* mainFrame() override; |
180 WebFrame* findFrameByName( | 180 WebFrame* findFrameByName( |
181 const WebString& name, WebFrame* relativeToFrame) override; | 181 const WebString& name, WebFrame* relativeToFrame) override; |
182 WebFrame* focusedFrame() override; | 182 WebFrame* focusedFrame() override; |
183 void setFocusedFrame(WebFrame*) override; | 183 void setFocusedFrame(WebFrame*) override; |
| 184 void focusDocumentView(WebFrame*) override; |
184 void setInitialFocus(bool reverse) override; | 185 void setInitialFocus(bool reverse) override; |
185 void clearFocusedElement() override; | 186 void clearFocusedElement() override; |
186 bool scrollFocusedNodeIntoRect(const WebRect&) override; | 187 bool scrollFocusedNodeIntoRect(const WebRect&) override; |
187 void smoothScroll(int targetX, int targetY, long durationMs) override; | 188 void smoothScroll(int targetX, int targetY, long durationMs) override; |
188 void zoomToFindInPageRect(const WebRect&); | 189 void zoomToFindInPageRect(const WebRect&); |
189 void advanceFocus(bool reverse) override; | 190 void advanceFocus(bool reverse) override; |
190 double zoomLevel() override; | 191 double zoomLevel() override; |
191 double setZoomLevel(double) override; | 192 double setZoomLevel(double) override; |
192 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; | 193 void zoomLimitsChanged(double minimumZoomLevel, double maximumZoomLevel) ove
rride; |
193 float textZoomFactor() override; | 194 float textZoomFactor() override; |
(...skipping 562 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 |