| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv
ed. |
| 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "Settings.h" | 27 #include "Settings.h" |
| 28 | 28 |
| 29 #include <limits> | 29 #include <limits> |
| 30 #include "BackForwardController.h" | 30 #include "BackForwardController.h" |
| 31 #include "CachedResourceLoader.h" | |
| 32 #include "Database.h" | 31 #include "Database.h" |
| 33 #include "Document.h" | 32 #include "Document.h" |
| 34 #include "Frame.h" | 33 #include "Frame.h" |
| 35 #include "FrameTree.h" | 34 #include "FrameTree.h" |
| 36 #include "FrameView.h" | 35 #include "FrameView.h" |
| 37 #include "HTMLMediaElement.h" | 36 #include "HTMLMediaElement.h" |
| 38 #include "HistoryItem.h" | 37 #include "HistoryItem.h" |
| 39 #include "InspectorInstrumentation.h" | 38 #include "InspectorInstrumentation.h" |
| 40 #include "Page.h" | 39 #include "Page.h" |
| 40 #include "core/loader/cache/CachedResourceLoader.h" |
| 41 #include "core/platform/network/ResourceHandle.h" | 41 #include "core/platform/network/ResourceHandle.h" |
| 42 #include "core/rendering/TextAutosizer.h" | 42 #include "core/rendering/TextAutosizer.h" |
| 43 | 43 |
| 44 using namespace std; | 44 using namespace std; |
| 45 | 45 |
| 46 namespace WebCore { | 46 namespace WebCore { |
| 47 | 47 |
| 48 static void setImageLoadingSettings(Page* page) | 48 static void setImageLoadingSettings(Page* page) |
| 49 { | 49 { |
| 50 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree()->travers
eNext()) { | 50 for (Frame* frame = page->mainFrame(); frame; frame = frame->tree()->travers
eNext()) { |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 { | 379 { |
| 380 gUsesOverlayScrollbars = flag; | 380 gUsesOverlayScrollbars = flag; |
| 381 } | 381 } |
| 382 | 382 |
| 383 bool Settings::usesOverlayScrollbars() | 383 bool Settings::usesOverlayScrollbars() |
| 384 { | 384 { |
| 385 return gUsesOverlayScrollbars; | 385 return gUsesOverlayScrollbars; |
| 386 } | 386 } |
| 387 | 387 |
| 388 } // namespace WebCore | 388 } // namespace WebCore |
| OLD | NEW |