OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2008 Alp Toker <alp@atoker.com> | 2 * Copyright (C) 2007, 2008 Alp Toker <alp@atoker.com> |
3 * Copyright (C) 2007, 2008, 2009 Holger Hans Peter Freyther | 3 * Copyright (C) 2007, 2008, 2009 Holger Hans Peter Freyther |
4 * Copyright (C) 2007 Christian Dywan <christian@twotoasts.de> | 4 * Copyright (C) 2007 Christian Dywan <christian@twotoasts.de> |
5 * Copyright (C) 2008, 2009 Collabora Ltd. All rights reserved. | 5 * Copyright (C) 2008, 2009 Collabora Ltd. All rights reserved. |
6 * Copyright (C) 2009, 2010 Gustavo Noronha Silva <gns@gnome.org> | 6 * Copyright (C) 2009, 2010 Gustavo Noronha Silva <gns@gnome.org> |
7 * Copyright (C) Research In Motion Limited 2009. All rights reserved. | 7 * Copyright (C) Research In Motion Limited 2009. All rights reserved. |
8 * Copyright (C) 2010 Igalia S.L. | 8 * Copyright (C) 2010 Igalia S.L. |
9 * | 9 * |
10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
(...skipping 738 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
749 } | 749 } |
750 | 750 |
751 bool FrameLoaderClient::shouldGoToHistoryItem(HistoryItem* item) const | 751 bool FrameLoaderClient::shouldGoToHistoryItem(HistoryItem* item) const |
752 { | 752 { |
753 // FIXME: This is a very simple implementation. More sophisticated | 753 // FIXME: This is a very simple implementation. More sophisticated |
754 // implementation would delegate the decision to a PolicyDelegate. | 754 // implementation would delegate the decision to a PolicyDelegate. |
755 // See mac implementation for example. | 755 // See mac implementation for example. |
756 return item != 0; | 756 return item != 0; |
757 } | 757 } |
758 | 758 |
| 759 bool FrameLoaderClient::shouldStopLoadingForHistoryItem(HistoryItem* item) const |
| 760 { |
| 761 return true; |
| 762 } |
| 763 |
759 void FrameLoaderClient::dispatchDidAddBackForwardItem(HistoryItem*) const | 764 void FrameLoaderClient::dispatchDidAddBackForwardItem(HistoryItem*) const |
760 { | 765 { |
761 } | 766 } |
762 | 767 |
763 void FrameLoaderClient::dispatchDidRemoveBackForwardItem(HistoryItem*) const | 768 void FrameLoaderClient::dispatchDidRemoveBackForwardItem(HistoryItem*) const |
764 { | 769 { |
765 } | 770 } |
766 | 771 |
767 void FrameLoaderClient::dispatchDidChangeBackForwardIndex() const | 772 void FrameLoaderClient::dispatchDidChangeBackForwardIndex() const |
768 { | 773 { |
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1354 void FrameLoaderClient::dispatchDidBecomeFrameset(bool) | 1359 void FrameLoaderClient::dispatchDidBecomeFrameset(bool) |
1355 { | 1360 { |
1356 } | 1361 } |
1357 | 1362 |
1358 PassRefPtr<FrameNetworkingContext> FrameLoaderClient::createNetworkingContext() | 1363 PassRefPtr<FrameNetworkingContext> FrameLoaderClient::createNetworkingContext() |
1359 { | 1364 { |
1360 return FrameNetworkingContextGtk::create(core(m_frame)); | 1365 return FrameNetworkingContextGtk::create(core(m_frame)); |
1361 } | 1366 } |
1362 | 1367 |
1363 } | 1368 } |
OLD | NEW |