| 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 virtual float minimumPageScaleFactor() const; | 231 virtual float minimumPageScaleFactor() const; |
| 232 virtual float maximumPageScaleFactor() const; | 232 virtual float maximumPageScaleFactor() const; |
| 233 virtual void saveScrollAndScaleState(); | 233 virtual void saveScrollAndScaleState(); |
| 234 virtual void restoreScrollAndScaleState(); | 234 virtual void restoreScrollAndScaleState(); |
| 235 virtual void resetScrollAndScaleState(); | 235 virtual void resetScrollAndScaleState(); |
| 236 virtual void setIgnoreViewportTagScaleLimits(bool); | 236 virtual void setIgnoreViewportTagScaleLimits(bool); |
| 237 virtual WebSize contentsPreferredMinimumSize(); | 237 virtual WebSize contentsPreferredMinimumSize(); |
| 238 | 238 |
| 239 virtual float deviceScaleFactor() const; | 239 virtual float deviceScaleFactor() const; |
| 240 virtual void setDeviceScaleFactor(float); | 240 virtual void setDeviceScaleFactor(float); |
| 241 virtual bool isFixedLayoutModeEnabled() const; | |
| 242 virtual void enableFixedLayoutMode(bool enable); | |
| 243 virtual WebSize fixedLayoutSize() const; | 241 virtual WebSize fixedLayoutSize() const; |
| 244 virtual void setFixedLayoutSize(const WebSize&); | 242 virtual void setFixedLayoutSize(const WebSize&); |
| 245 virtual void enableAutoResizeMode( | 243 virtual void enableAutoResizeMode( |
| 246 const WebSize& minSize, | 244 const WebSize& minSize, |
| 247 const WebSize& maxSize); | 245 const WebSize& maxSize); |
| 248 virtual void disableAutoResizeMode(); | 246 virtual void disableAutoResizeMode(); |
| 249 virtual void performMediaPlayerAction( | 247 virtual void performMediaPlayerAction( |
| 250 const WebMediaPlayerAction& action, | 248 const WebMediaPlayerAction& action, |
| 251 const WebPoint& location); | 249 const WebPoint& location); |
| 252 virtual void performPluginAction( | 250 virtual void performPluginAction( |
| (...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 575 | 573 |
| 576 friend class WebView; // So WebView::Create can call our constructor | 574 friend class WebView; // So WebView::Create can call our constructor |
| 577 friend class WTF::RefCounted<WebViewImpl>; | 575 friend class WTF::RefCounted<WebViewImpl>; |
| 578 friend void setCurrentInputEventForTest(const WebInputEvent*); | 576 friend void setCurrentInputEventForTest(const WebInputEvent*); |
| 579 | 577 |
| 580 enum DragAction { | 578 enum DragAction { |
| 581 DragEnter, | 579 DragEnter, |
| 582 DragOver | 580 DragOver |
| 583 }; | 581 }; |
| 584 | 582 |
| 583 bool useDesktopStyleLayoutResizing(); |
| 584 |
| 585 WebViewImpl(WebViewClient*); | 585 WebViewImpl(WebViewClient*); |
| 586 virtual ~WebViewImpl(); | 586 virtual ~WebViewImpl(); |
| 587 | 587 |
| 588 WebTextInputType textInputType(); | 588 WebTextInputType textInputType(); |
| 589 | 589 |
| 590 WebString inputModeOfFocusedElement(); | 590 WebString inputModeOfFocusedElement(); |
| 591 | 591 |
| 592 // Returns true if the event was actually processed. | 592 // Returns true if the event was actually processed. |
| 593 bool keyEventDefault(const WebKeyboardEvent&); | 593 bool keyEventDefault(const WebKeyboardEvent&); |
| 594 | 594 |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 bool m_showFPSCounter; | 832 bool m_showFPSCounter; |
| 833 bool m_showPaintRects; | 833 bool m_showPaintRects; |
| 834 bool m_showDebugBorders; | 834 bool m_showDebugBorders; |
| 835 bool m_continuousPaintingEnabled; | 835 bool m_continuousPaintingEnabled; |
| 836 bool m_showScrollBottleneckRects; | 836 bool m_showScrollBottleneckRects; |
| 837 }; | 837 }; |
| 838 | 838 |
| 839 } // namespace WebKit | 839 } // namespace WebKit |
| 840 | 840 |
| 841 #endif | 841 #endif |
| OLD | NEW |