| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 virtual WebFloatPoint pinchViewportOffset() const OVERRIDE; | 185 virtual WebFloatPoint pinchViewportOffset() const OVERRIDE; |
| 186 virtual float minimumPageScaleFactor() const OVERRIDE; | 186 virtual float minimumPageScaleFactor() const OVERRIDE; |
| 187 virtual float maximumPageScaleFactor() const OVERRIDE; | 187 virtual float maximumPageScaleFactor() const OVERRIDE; |
| 188 virtual void resetScrollAndScaleState() OVERRIDE; | 188 virtual void resetScrollAndScaleState() OVERRIDE; |
| 189 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE; | 189 virtual void setIgnoreViewportTagScaleLimits(bool) OVERRIDE; |
| 190 virtual WebSize contentsPreferredMinimumSize() OVERRIDE; | 190 virtual WebSize contentsPreferredMinimumSize() OVERRIDE; |
| 191 | 191 |
| 192 virtual float deviceScaleFactor() const OVERRIDE; | 192 virtual float deviceScaleFactor() const OVERRIDE; |
| 193 virtual void setDeviceScaleFactor(float) OVERRIDE; | 193 virtual void setDeviceScaleFactor(float) OVERRIDE; |
| 194 | 194 |
| 195 virtual void setForceZeroLayoutHeight(bool enable) OVERRIDE; |
| 195 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE; | 196 virtual void setFixedLayoutSize(const WebSize&) OVERRIDE; |
| 196 | 197 |
| 197 virtual void enableAutoResizeMode( | 198 virtual void enableAutoResizeMode( |
| 198 const WebSize& minSize, | 199 const WebSize& minSize, |
| 199 const WebSize& maxSize) OVERRIDE; | 200 const WebSize& maxSize) OVERRIDE; |
| 200 virtual void disableAutoResizeMode() OVERRIDE; | 201 virtual void disableAutoResizeMode() OVERRIDE; |
| 201 virtual void performMediaPlayerAction( | 202 virtual void performMediaPlayerAction( |
| 202 const WebMediaPlayerAction& action, | 203 const WebMediaPlayerAction& action, |
| 203 const WebPoint& location) OVERRIDE; | 204 const WebPoint& location) OVERRIDE; |
| 204 virtual void performPluginAction( | 205 virtual void performPluginAction( |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 571 ContextMenuClientImpl m_contextMenuClientImpl; | 572 ContextMenuClientImpl m_contextMenuClientImpl; |
| 572 DragClientImpl m_dragClientImpl; | 573 DragClientImpl m_dragClientImpl; |
| 573 EditorClientImpl m_editorClientImpl; | 574 EditorClientImpl m_editorClientImpl; |
| 574 InspectorClientImpl m_inspectorClientImpl; | 575 InspectorClientImpl m_inspectorClientImpl; |
| 575 BackForwardClientImpl m_backForwardClientImpl; | 576 BackForwardClientImpl m_backForwardClientImpl; |
| 576 SpellCheckerClientImpl m_spellCheckerClientImpl; | 577 SpellCheckerClientImpl m_spellCheckerClientImpl; |
| 577 StorageClientImpl m_storageClientImpl; | 578 StorageClientImpl m_storageClientImpl; |
| 578 | 579 |
| 579 WebSize m_size; | 580 WebSize m_size; |
| 580 bool m_fixedLayoutSizeLock; | 581 bool m_fixedLayoutSizeLock; |
| 582 bool m_forceZeroLayoutHeight; |
| 581 // If true, automatically resize the render view around its content. | 583 // If true, automatically resize the render view around its content. |
| 582 bool m_shouldAutoResize; | 584 bool m_shouldAutoResize; |
| 583 // The lower bound on the size when auto-resizing. | 585 // The lower bound on the size when auto-resizing. |
| 584 WebCore::IntSize m_minAutoSize; | 586 WebCore::IntSize m_minAutoSize; |
| 585 // The upper bound on the size when auto-resizing. | 587 // The upper bound on the size when auto-resizing. |
| 586 WebCore::IntSize m_maxAutoSize; | 588 WebCore::IntSize m_maxAutoSize; |
| 587 | 589 |
| 588 OwnPtrWillBePersistent<WebCore::Page> m_page; | 590 OwnPtrWillBePersistent<WebCore::Page> m_page; |
| 589 | 591 |
| 590 // An object that can be used to manipulate m_page->settings() without linki
ng | 592 // An object that can be used to manipulate m_page->settings() without linki
ng |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 bool m_userGestureObserved; | 714 bool m_userGestureObserved; |
| 713 }; | 715 }; |
| 714 | 716 |
| 715 // We have no ways to check if the specified WebView is an instance of | 717 // We have no ways to check if the specified WebView is an instance of |
| 716 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 718 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
| 717 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 719 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
| 718 | 720 |
| 719 } // namespace blink | 721 } // namespace blink |
| 720 | 722 |
| 721 #endif | 723 #endif |
| OLD | NEW |