| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 595 } | 595 } |
| 596 } | 596 } |
| 597 } | 597 } |
| 598 } | 598 } |
| 599 | 599 |
| 600 bool WebFrameLoaderClient::shouldGoToHistoryItem(HistoryItem*) const | 600 bool WebFrameLoaderClient::shouldGoToHistoryItem(HistoryItem*) const |
| 601 { | 601 { |
| 602 return true; | 602 return true; |
| 603 } | 603 } |
| 604 | 604 |
| 605 bool WebFrameLoaderClient::shouldStopLoadingForHistoryItem(HistoryItem*) const |
| 606 { |
| 607 return true; |
| 608 } |
| 609 |
| 605 void WebFrameLoaderClient::dispatchDidAddBackForwardItem(HistoryItem*) const | 610 void WebFrameLoaderClient::dispatchDidAddBackForwardItem(HistoryItem*) const |
| 606 { | 611 { |
| 607 } | 612 } |
| 608 | 613 |
| 609 void WebFrameLoaderClient::dispatchDidRemoveBackForwardItem(HistoryItem*) const | 614 void WebFrameLoaderClient::dispatchDidRemoveBackForwardItem(HistoryItem*) const |
| 610 { | 615 { |
| 611 } | 616 } |
| 612 | 617 |
| 613 void WebFrameLoaderClient::dispatchDidChangeBackForwardIndex() const | 618 void WebFrameLoaderClient::dispatchDidChangeBackForwardIndex() const |
| 614 { | 619 { |
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 } | 926 } |
| 922 | 927 |
| 923 bool WebFrameLoaderClient::shouldUsePluginDocument(const String& mimeType) const | 928 bool WebFrameLoaderClient::shouldUsePluginDocument(const String& mimeType) const |
| 924 { | 929 { |
| 925 WebView* webView = m_webFrame->webView(); | 930 WebView* webView = m_webFrame->webView(); |
| 926 if (!webView) | 931 if (!webView) |
| 927 return false; | 932 return false; |
| 928 | 933 |
| 929 return webView->shouldUseEmbeddedView(mimeType); | 934 return webView->shouldUseEmbeddedView(mimeType); |
| 930 } | 935 } |
| OLD | NEW |