Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: Source/web/WebViewImpl.h

Issue 23441020: Make it possibe to lock the fixedLayoutSize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: dont need to disable content rects scaling? Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/platform/ScrollView.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/platform/ScrollView.cpp ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698