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 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 virtual float minimumPageScaleFactor() const; | 234 virtual float minimumPageScaleFactor() const; |
235 virtual float maximumPageScaleFactor() const; | 235 virtual float maximumPageScaleFactor() const; |
236 virtual void saveScrollAndScaleState(); | 236 virtual void saveScrollAndScaleState(); |
237 virtual void restoreScrollAndScaleState(); | 237 virtual void restoreScrollAndScaleState(); |
238 virtual void resetScrollAndScaleState(); | 238 virtual void resetScrollAndScaleState(); |
239 virtual void setIgnoreViewportTagScaleLimits(bool); | 239 virtual void setIgnoreViewportTagScaleLimits(bool); |
240 virtual WebSize contentsPreferredMinimumSize(); | 240 virtual WebSize contentsPreferredMinimumSize(); |
241 | 241 |
242 virtual float deviceScaleFactor() const; | 242 virtual float deviceScaleFactor() const; |
243 virtual void setDeviceScaleFactor(float); | 243 virtual void setDeviceScaleFactor(float); |
244 virtual bool isFixedLayoutModeEnabled() const; | 244 |
245 virtual void enableFixedLayoutMode(bool enable); | |
246 virtual WebSize fixedLayoutSize() const; | |
247 virtual void setFixedLayoutSize(const WebSize&); | 245 virtual void setFixedLayoutSize(const WebSize&); |
| 246 |
248 virtual void enableAutoResizeMode( | 247 virtual void enableAutoResizeMode( |
249 const WebSize& minSize, | 248 const WebSize& minSize, |
250 const WebSize& maxSize); | 249 const WebSize& maxSize); |
251 virtual void disableAutoResizeMode(); | 250 virtual void disableAutoResizeMode(); |
252 virtual void performMediaPlayerAction( | 251 virtual void performMediaPlayerAction( |
253 const WebMediaPlayerAction& action, | 252 const WebMediaPlayerAction& action, |
254 const WebPoint& location); | 253 const WebPoint& location); |
255 virtual void performPluginAction( | 254 virtual void performPluginAction( |
256 const WebPluginAction&, | 255 const WebPluginAction&, |
257 const WebPoint&); | 256 const WebPoint&); |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 WebCore::IntSize minAutoSize() const | 437 WebCore::IntSize minAutoSize() const |
439 { | 438 { |
440 return m_minAutoSize; | 439 return m_minAutoSize; |
441 } | 440 } |
442 | 441 |
443 WebCore::IntSize maxAutoSize() const | 442 WebCore::IntSize maxAutoSize() const |
444 { | 443 { |
445 return m_maxAutoSize; | 444 return m_maxAutoSize; |
446 } | 445 } |
447 | 446 |
448 void updatePageDefinedPageScaleConstraints(const WebCore::ViewportArguments&
); | 447 void updateMainFrameLayoutSize(); |
| 448 void updatePageDefinedViewportConstraints(const WebCore::ViewportArguments&)
; |
449 | 449 |
450 // Start a system drag and drop operation. | 450 // Start a system drag and drop operation. |
451 void startDragging( | 451 void startDragging( |
452 WebCore::Frame*, | 452 WebCore::Frame*, |
453 const WebDragData& dragData, | 453 const WebDragData& dragData, |
454 WebDragOperationsMask mask, | 454 WebDragOperationsMask mask, |
455 const WebImage& dragImage, | 455 const WebImage& dragImage, |
456 const WebPoint& dragImageOffset); | 456 const WebPoint& dragImageOffset); |
457 | 457 |
458 void autofillPopupDidHide() | 458 void autofillPopupDidHide() |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
833 inline WebViewImpl* toWebViewImpl(WebView* webView) | 833 inline WebViewImpl* toWebViewImpl(WebView* webView) |
834 { | 834 { |
835 // We have no ways to check if the specified WebView is an instance of | 835 // We have no ways to check if the specified WebView is an instance of |
836 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 836 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
837 return static_cast<WebViewImpl*>(webView); | 837 return static_cast<WebViewImpl*>(webView); |
838 } | 838 } |
839 | 839 |
840 } // namespace WebKit | 840 } // namespace WebKit |
841 | 841 |
842 #endif | 842 #endif |
OLD | NEW |