OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2010 Apple Inc. All rights reserved. |
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 * Copyright (C) 2009 Google, Inc. All rights reserved. | 4 * Copyright (C) 2009 Google, Inc. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 14 matching lines...) Expand all Loading... |
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 */ | 26 */ |
27 | 27 |
28 #ifndef BackForwardClient_h | 28 #ifndef BackForwardClient_h |
29 #define BackForwardClient_h | 29 #define BackForwardClient_h |
30 | 30 |
31 #include "wtf/PassRefPtr.h" | 31 #include "wtf/PassRefPtr.h" |
32 | 32 |
33 namespace blink { | 33 namespace blink { |
34 | 34 |
35 class HistoryItem; | |
36 | |
37 class BackForwardClient { | 35 class BackForwardClient { |
38 public: | 36 public: |
39 virtual ~BackForwardClient() { } | 37 virtual ~BackForwardClient() { } |
40 | 38 |
41 virtual int backListCount() = 0; | 39 virtual int backListCount() = 0; |
42 virtual int forwardListCount() = 0; | 40 virtual int forwardListCount() = 0; |
43 virtual int backForwardListCount() = 0; | 41 virtual int backForwardListCount() = 0; |
44 }; | 42 }; |
45 | 43 |
46 } // namespace blink | 44 } // namespace blink |
47 | 45 |
48 #endif // BackForwardClient_h | 46 #endif // BackForwardClient_h |
OLD | NEW |