diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 06:11:00 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-05 06:11:00 +0000 |
commit | 4d4a6356e8e1a6ac0b177cb6bd398148030cb320 (patch) | |
tree | 9b6856e1e8523dc782c08ae917882250c5ed0503 /webkit/glue/webhistoryitem.h | |
parent | ca8de285102e2df854f56fce3c7163d5a8db7f5a (diff) | |
download | chromium_src-4d4a6356e8e1a6ac0b177cb6bd398148030cb320.zip chromium_src-4d4a6356e8e1a6ac0b177cb6bd398148030cb320.tar.gz chromium_src-4d4a6356e8e1a6ac0b177cb6bd398148030cb320.tar.bz2 |
Re-do r15244: Fix crash in ~TestWebViewDelegate caused by
shell_ being null. Moved the RevokeDragDrop call to the
TestShell destructor instead.
Eliminate webkit/glue/webhistoryitem* in favor of adding a
NavigateBackForwardSoon method WebViewDelegate. This moves
all of the hacky details of how we intercept "history.{back,
forward,go}" into the webkit layer. My eventual plan is to
teach WebCore how to make this not hacky.
BUG=11423
R=mpcomplete
Review URL: http://codereview.chromium.org/108004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15278 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webhistoryitem.h')
-rw-r--r-- | webkit/glue/webhistoryitem.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/webkit/glue/webhistoryitem.h b/webkit/glue/webhistoryitem.h deleted file mode 100644 index 6757211..0000000 --- a/webkit/glue/webhistoryitem.h +++ /dev/null @@ -1,39 +0,0 @@ -// Copyright (c) 2006-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_WEBHISTORYITEM_H_ -#define WEBKIT_GLUE_WEBHISTORYITEM_H_ - -#include "webkit/glue/weburlrequest.h" // for WebRequest::ExtraData - -class GURL; - -class WebHistoryItem : public base::RefCounted<WebHistoryItem> { - public: - // Create a new history item. - static WebHistoryItem* Create(const GURL& url, - const std::wstring& title, - const std::string& history_state, - WebRequest::ExtraData* extra_data); - - WebHistoryItem() { } - virtual ~WebHistoryItem() { } - - // Returns the URL. - virtual const GURL& GetURL() const = 0; - - // Returns the title. - virtual const std::wstring& GetTitle() const = 0; - - // Returns the string representation of the history state for this entry. - virtual const std::string& GetHistoryState() const = 0; - - // Returns any ExtraData associated with this history entry. - virtual WebRequest::ExtraData* GetExtraData() const = 0; - - private: - DISALLOW_EVIL_CONSTRUCTORS(WebHistoryItem); -}; - -#endif // #ifndef WEBKIT_GLUE_WEBHISTORYITEM_H_ |