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

Side by Side Diff: webkit/port/history/BackForwardList.h

Issue 1813: fix build issue on Linux with GCC 4.1.2... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 years, 3 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 | « webkit/glue/webplugin_delegate.h ('k') | webkit/port/platform/WidgetClientWin.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 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, 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 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 50
51 // NOTE: We don't have all the methods in the trunk version of BackForwardList. 51 // NOTE: We don't have all the methods in the trunk version of BackForwardList.
52 // It seems some are not used except in Mac-specific code, so we can get away 52 // It seems some are not used except in Mac-specific code, so we can get away
53 // without them. They've been completely removed from our version so that we 53 // without them. They've been completely removed from our version so that we
54 // can immediately tell from compile failures if WebCore starts using them. 54 // can immediately tell from compile failures if WebCore starts using them.
55 55
56 // A delegate class that's responsible for doing most of the work of the 56 // A delegate class that's responsible for doing most of the work of the
57 // back-forward list. 57 // back-forward list.
58 class BackForwardListClient { 58 class BackForwardListClient {
59 public: 59 public:
60 virtual ~BackForwardListClient() {}
60 virtual void didAddHistoryItem(HistoryItem* item) = 0; 61 virtual void didAddHistoryItem(HistoryItem* item) = 0;
61 virtual void willGoToHistoryItem(HistoryItem* item) = 0; 62 virtual void willGoToHistoryItem(HistoryItem* item) = 0;
62 virtual HistoryItem* itemAtIndex(int index) = 0; 63 virtual HistoryItem* itemAtIndex(int index) = 0;
63 virtual void goToItemAtIndexAsync(int index) = 0; 64 virtual void goToItemAtIndexAsync(int index) = 0;
64 virtual int backListCount() = 0; 65 virtual int backListCount() = 0;
65 virtual int forwardListCount() = 0; 66 virtual int forwardListCount() = 0;
66 }; 67 };
67 68
68 class BackForwardList : public RefCounted<BackForwardList> { 69 class BackForwardList : public RefCounted<BackForwardList> {
69 public: 70 public:
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 140
140 // Settings.cpp requires an entries() method that returns a 141 // Settings.cpp requires an entries() method that returns a
141 // HistoryItemVector reference, but we don't actually use it. 142 // HistoryItemVector reference, but we don't actually use it.
142 HistoryItemVector m_entries_not_used; 143 HistoryItemVector m_entries_not_used;
143 144
144 }; //class BackForwardList 145 }; //class BackForwardList
145 146
146 }; //namespace WebCore 147 }; //namespace WebCore
147 148
148 #endif //BACKFORWARDLIST_H 149 #endif //BACKFORWARDLIST_H
OLDNEW
« no previous file with comments | « webkit/glue/webplugin_delegate.h ('k') | webkit/port/platform/WidgetClientWin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698