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 638 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
649 WebPasswordGeneratorClient* m_passwordGeneratorClient; | 649 WebPasswordGeneratorClient* m_passwordGeneratorClient; |
650 | 650 |
651 ChromeClientImpl m_chromeClientImpl; | 651 ChromeClientImpl m_chromeClientImpl; |
652 ContextMenuClientImpl m_contextMenuClientImpl; | 652 ContextMenuClientImpl m_contextMenuClientImpl; |
653 DragClientImpl m_dragClientImpl; | 653 DragClientImpl m_dragClientImpl; |
654 EditorClientImpl m_editorClientImpl; | 654 EditorClientImpl m_editorClientImpl; |
655 InspectorClientImpl m_inspectorClientImpl; | 655 InspectorClientImpl m_inspectorClientImpl; |
656 BackForwardClientImpl m_backForwardClientImpl; | 656 BackForwardClientImpl m_backForwardClientImpl; |
657 | 657 |
658 WebSize m_size; | 658 WebSize m_size; |
| 659 bool m_fixedLayoutSizeLock; |
659 // If true, automatically resize the render view around its content. | 660 // If true, automatically resize the render view around its content. |
660 bool m_shouldAutoResize; | 661 bool m_shouldAutoResize; |
661 // The lower bound on the size when auto-resizing. | 662 // The lower bound on the size when auto-resizing. |
662 WebCore::IntSize m_minAutoSize; | 663 WebCore::IntSize m_minAutoSize; |
663 // The upper bound on the size when auto-resizing. | 664 // The upper bound on the size when auto-resizing. |
664 WebCore::IntSize m_maxAutoSize; | 665 WebCore::IntSize m_maxAutoSize; |
665 | 666 |
666 OwnPtr<WebCore::Page> m_page; | 667 OwnPtr<WebCore::Page> m_page; |
667 | 668 |
668 // This flag is set when a new navigation is detected. It is used to satisfy | 669 // This flag is set when a new navigation is detected. It is used to satisfy |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
827 inline WebViewImpl* toWebViewImpl(WebView* webView) | 828 inline WebViewImpl* toWebViewImpl(WebView* webView) |
828 { | 829 { |
829 // We have no ways to check if the specified WebView is an instance of | 830 // We have no ways to check if the specified WebView is an instance of |
830 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 831 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
831 return static_cast<WebViewImpl*>(webView); | 832 return static_cast<WebViewImpl*>(webView); |
832 } | 833 } |
833 | 834 |
834 } // namespace WebKit | 835 } // namespace WebKit |
835 | 836 |
836 #endif | 837 #endif |
OLD | NEW |