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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 WebFloatSize visualViewportSize() const override; | 215 WebFloatSize visualViewportSize() const override; |
216 void resetScrollAndScaleState() override; | 216 void resetScrollAndScaleState() override; |
217 void setIgnoreViewportTagScaleLimits(bool) override; | 217 void setIgnoreViewportTagScaleLimits(bool) override; |
218 WebSize contentsPreferredMinimumSize() override; | 218 WebSize contentsPreferredMinimumSize() override; |
219 void setDisplayMode(WebDisplayMode) override; | 219 void setDisplayMode(WebDisplayMode) override; |
220 | 220 |
221 void setDeviceScaleFactor(float) override; | 221 void setDeviceScaleFactor(float) override; |
222 void setZoomFactorForDeviceScaleFactor(float) override; | 222 void setZoomFactorForDeviceScaleFactor(float) override; |
223 | 223 |
224 void setDeviceColorProfile(const WebVector<char>&) override; | 224 void setDeviceColorProfile(const WebVector<char>&) override; |
225 void resetDeviceColorProfileForTesting() override; | |
226 | 225 |
227 void enableAutoResizeMode( | 226 void enableAutoResizeMode( |
228 const WebSize& minSize, | 227 const WebSize& minSize, |
229 const WebSize& maxSize) override; | 228 const WebSize& maxSize) override; |
230 void disableAutoResizeMode() override; | 229 void disableAutoResizeMode() override; |
231 void performMediaPlayerAction( | 230 void performMediaPlayerAction( |
232 const WebMediaPlayerAction& action, | 231 const WebMediaPlayerAction& action, |
233 const WebPoint& location) override; | 232 const WebPoint& location) override; |
234 void performPluginAction( | 233 void performPluginAction( |
235 const WebPluginAction&, | 234 const WebPluginAction&, |
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; | 783 Persistent<ResizeViewportAnchor> m_resizeViewportAnchor; |
785 }; | 784 }; |
786 | 785 |
787 // We have no ways to check if the specified WebView is an instance of | 786 // We have no ways to check if the specified WebView is an instance of |
788 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 787 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
789 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 788 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
790 | 789 |
791 } // namespace blink | 790 } // namespace blink |
792 | 791 |
793 #endif | 792 #endif |
OLD | NEW |