OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. |
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 | 130 |
131 void setMainFrame(PassRefPtr<Frame>); | 131 void setMainFrame(PassRefPtr<Frame>); |
132 Frame* mainFrame() const { return m_mainFrame.get(); } | 132 Frame* mainFrame() const { return m_mainFrame.get(); } |
133 | 133 |
134 bool openedByDOM() const; | 134 bool openedByDOM() const; |
135 void setOpenedByDOM(); | 135 void setOpenedByDOM(); |
136 | 136 |
137 // DEPRECATED. Use backForward() instead of the following 5 functions. | 137 // DEPRECATED. Use backForward() instead of the following 5 functions. |
138 bool goBack(); | 138 bool goBack(); |
139 bool goForward(); | 139 bool goForward(); |
140 bool canGoBackOrForward(int distance) const; | |
141 void goBackOrForward(int distance); | 140 void goBackOrForward(int distance); |
142 int getHistoryLength(); | 141 int getHistoryLength(); |
143 | 142 |
144 void goToItem(HistoryItem*); | 143 void goToItem(HistoryItem*); |
145 | 144 |
146 enum PageGroupType { PrivatePageGroup, SharedPageGroup }; | 145 enum PageGroupType { PrivatePageGroup, SharedPageGroup }; |
147 void setGroupType(PageGroupType); | 146 void setGroupType(PageGroupType); |
148 void clearPageGroup(); | 147 void clearPageGroup(); |
149 PageGroup& group() | 148 PageGroup& group() |
150 { | 149 { |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 #endif | 337 #endif |
339 | 338 |
340 OwnPtr<PageConsole> m_console; | 339 OwnPtr<PageConsole> m_console; |
341 | 340 |
342 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; | 341 HashSet<MultisamplingChangedObserver*> m_multisamplingChangedObservers; |
343 }; | 342 }; |
344 | 343 |
345 } // namespace WebCore | 344 } // namespace WebCore |
346 | 345 |
347 #endif // Page_h | 346 #endif // Page_h |
OLD | NEW |