Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Side by Side Diff: Source/core/history/BackForwardClient.h

Issue 18512011: core/html: Include wtf files using "wtf/foo.h" form. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/fileapi/FileReaderSync.cpp ('k') | Source/core/history/BackForwardController.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 11 matching lines...) Expand all
22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY 22 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
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 "core/history/HistoryItem.h" 31 #include "core/history/HistoryItem.h"
32 #include <wtf/Forward.h> 32 #include "wtf/Forward.h"
33 #include <wtf/RefCounted.h> 33 #include "wtf/RefCounted.h"
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 class BackForwardClient { 37 class BackForwardClient {
38 public: 38 public:
39 virtual ~BackForwardClient() 39 virtual ~BackForwardClient()
40 { 40 {
41 } 41 }
42 42
43 virtual void addItem(PassRefPtr<HistoryItem>) = 0; 43 virtual void addItem(PassRefPtr<HistoryItem>) = 0;
44 44
45 virtual void goToItem(HistoryItem*) = 0; 45 virtual void goToItem(HistoryItem*) = 0;
46 46
47 virtual HistoryItem* itemAtIndex(int) = 0; 47 virtual HistoryItem* itemAtIndex(int) = 0;
48 virtual int backListCount() = 0; 48 virtual int backListCount() = 0;
49 virtual int forwardListCount() = 0; 49 virtual int forwardListCount() = 0;
50 50
51 virtual bool isActive() = 0; 51 virtual bool isActive() = 0;
52 52
53 virtual void close() = 0; 53 virtual void close() = 0;
54 }; 54 };
55 55
56 } // namespace WebCore 56 } // namespace WebCore
57 57
58 #endif // BackForwardClient_h 58 #endif // BackForwardClient_h
OLDNEW
« no previous file with comments | « Source/core/fileapi/FileReaderSync.cpp ('k') | Source/core/history/BackForwardController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698