OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 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 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #include "config.h" | 26 #include "config.h" |
27 #include "core/page/PageGroup.h" | 27 #include "core/page/PageGroup.h" |
28 | 28 |
29 #include "core/dom/Document.h" | 29 #include "core/dom/Document.h" |
30 #include "core/dom/DocumentStyleSheetCollection.h" | 30 #include "core/dom/DocumentStyleSheetCollection.h" |
31 #include "core/page/CaptionUserPreferences.h" | 31 #include "core/page/CaptionUserPreferences.h" |
32 #include "core/page/Frame.h" | 32 #include "core/page/Frame.h" |
33 #include "core/page/GroupSettings.h" | 33 #include "core/page/GroupSettings.h" |
34 #include "core/page/Page.h" | 34 #include "core/page/Page.h" |
35 #include "core/page/Settings.h" | |
36 #include "core/storage/StorageNamespace.h" | 35 #include "core/storage/StorageNamespace.h" |
37 | 36 |
38 namespace WebCore { | 37 namespace WebCore { |
39 | 38 |
40 PageGroup::PageGroup() | 39 PageGroup::PageGroup() |
41 : m_groupSettings(GroupSettings::create()) | 40 : m_groupSettings(GroupSettings::create()) |
42 { | 41 { |
43 } | 42 } |
44 | 43 |
45 PageGroup::~PageGroup() | 44 PageGroup::~PageGroup() |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 CaptionUserPreferences* PageGroup::captionPreferences() | 113 CaptionUserPreferences* PageGroup::captionPreferences() |
115 { | 114 { |
116 if (!m_captionPreferences) | 115 if (!m_captionPreferences) |
117 m_captionPreferences = CaptionUserPreferences::create(this); | 116 m_captionPreferences = CaptionUserPreferences::create(this); |
118 | 117 |
119 return m_captionPreferences.get(); | 118 return m_captionPreferences.get(); |
120 } | 119 } |
121 | 120 |
122 | 121 |
123 } // namespace WebCore | 122 } // namespace WebCore |
OLD | NEW |