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

Unified Diff: webkit/glue/back_forward_list_client_impl.h

Issue 338041: Move a bunch of files into webkit/api/src... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: webkit/glue/back_forward_list_client_impl.h
===================================================================
--- webkit/glue/back_forward_list_client_impl.h (revision 30163)
+++ webkit/glue/back_forward_list_client_impl.h (working copy)
@@ -1,46 +0,0 @@
-// Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this
-// source code is governed by a BSD-style license that can be found in the
-// LICENSE file.
-
-#ifndef WEBKIT_GLUE_BACK_FORWARD_LIST_CLIENT_IMPL_H_
-#define WEBKIT_GLUE_BACK_FORWARD_LIST_CLIENT_IMPL_H_
-
-#include "BackForwardList.h"
-
-class WebViewImpl;
-
-namespace webkit_glue {
-
-extern const char kBackForwardNavigationScheme[];
-
-class BackForwardListClientImpl : public WebCore::BackForwardListClient {
- public:
- BackForwardListClientImpl(WebViewImpl* webview);
- ~BackForwardListClientImpl();
-
- void SetCurrentHistoryItem(WebCore::HistoryItem* item);
- WebCore::HistoryItem* GetPreviousHistoryItem() const;
-
- private:
- // WebCore::BackForwardListClient methods:
- virtual void addItem(PassRefPtr<WebCore::HistoryItem> item);
- virtual void goToItem(WebCore::HistoryItem* item);
- virtual WebCore::HistoryItem* currentItem();
- virtual WebCore::HistoryItem* itemAtIndex(int index);
- virtual int backListCount();
- virtual int forwardListCount();
- virtual void close();
-
- WebViewImpl* webview_;
-
- RefPtr<WebCore::HistoryItem> previous_item_;
- RefPtr<WebCore::HistoryItem> current_item_;
-
- // The last history item that was accessed via itemAtIndex(). We keep track
- // of this until goToItem() is called, so we can track the navigation.
- RefPtr<WebCore::HistoryItem> pending_history_item_;
-};
-
-} // namespace webkit_glue
-
-#endif // WEBKIT_GLUE_BACK_FORWARD_LIST_CLIENT_IMPL_H_

Powered by Google App Engine
This is Rietveld 408576698