Home
last modified time | relevance | path

Searched refs:HistoryItem (Results 1 – 25 of 127) sorted by relevance

123456

/external/webkit/Source/WebCore/history/
DHistoryItem.cpp54 static void defaultNotifyHistoryItemChanged(HistoryItem*) in defaultNotifyHistoryItemChanged() argument
58 void (*notifyHistoryItemChanged)(HistoryItem*) = defaultNotifyHistoryItemChanged;
60 HistoryItem::HistoryItem() in HistoryItem() function in WebCore::HistoryItem
74 HistoryItem::HistoryItem(const String& urlString, const String& title, double time) in HistoryItem() function in WebCore::HistoryItem
92 HistoryItem::HistoryItem(const String& urlString, const String& title, const String& alternateTitle… in HistoryItem() function in WebCore::HistoryItem
111 HistoryItem::HistoryItem(const KURL& url, const String& target, const String& parent, const String&… in HistoryItem() function in WebCore::HistoryItem
131 HistoryItem::~HistoryItem() in ~HistoryItem()
141 inline HistoryItem::HistoryItem(const HistoryItem& item) in HistoryItem() function in WebCore::HistoryItem
142 : RefCounted<HistoryItem>() in HistoryItem()
175 PassRefPtr<HistoryItem> HistoryItem::copy() const in copy()
[all …]
DHistoryItem.h56 class HistoryItem; variable
61 typedef Vector<RefPtr<HistoryItem> > HistoryItemVector;
63 extern void (*notifyHistoryItemChanged)(HistoryItem*);
70 class HistoryItem : public RefCounted<HistoryItem> {
74 static PassRefPtr<HistoryItem> create() { return adoptRef(new HistoryItem); } in create()
75 …static PassRefPtr<HistoryItem> create(const String& urlString, const String& title, double lastVis… in create()
77 return adoptRef(new HistoryItem(urlString, title, lastVisited)); in create()
79 …static PassRefPtr<HistoryItem> create(const String& urlString, const String& title, const String& … in create()
81 return adoptRef(new HistoryItem(urlString, title, alternateTitle, lastVisited)); in create()
83 …static PassRefPtr<HistoryItem> create(const KURL& url, const String& target, const String& parent,… in create()
[all …]
DBackForwardListImpl.h39 typedef Vector<RefPtr<HistoryItem> > HistoryItemVector;
40 typedef HashSet<RefPtr<HistoryItem> > HistoryItemHashSet;
51 virtual void addItem(PassRefPtr<HistoryItem>);
54 virtual void goToItem(HistoryItem*);
56 HistoryItem* backItem();
57 HistoryItem* currentItem();
58 HistoryItem* forwardItem();
59 virtual HistoryItem* itemAtIndex(int);
70 bool containsItem(HistoryItem*);
75 void removeItem(HistoryItem*);
DPageCache.h39 class HistoryItem; variable
52 void add(PassRefPtr<HistoryItem>, Page*); // Prunes if capacity() is exceeded.
53 void remove(HistoryItem*);
54 CachedPage* get(HistoryItem* item);
72 void addToLRUList(HistoryItem*); // Adds to the head of the list.
73 void removeFromLRUList(HistoryItem*);
84 HistoryItem* m_head;
85 HistoryItem* m_tail;
DBackForwardList.h36 class HistoryItem; variable
46 virtual void addItem(PassRefPtr<HistoryItem>) = 0;
48 virtual void goToItem(HistoryItem*) = 0;
50 virtual HistoryItem* itemAtIndex(int) = 0;
68 HistoryItem* backItem() { return itemAtIndex(-1); } in backItem()
69 HistoryItem* currentItem() { return itemAtIndex(0); } in currentItem()
70 HistoryItem* forwardItem() { return itemAtIndex(1); } in forwardItem()
DBackForwardController.h36 class HistoryItem; variable
53 void addItem(PassRefPtr<HistoryItem>);
54 void setCurrentItem(HistoryItem*);
60 HistoryItem* itemAtIndex(int);
66 HistoryItem* backItem() { return itemAtIndex(-1); } in backItem()
67 HistoryItem* currentItem() { return itemAtIndex(0); } in currentItem()
68 HistoryItem* forwardItem() { return itemAtIndex(1); } in forwardItem()
DBackForwardListImpl.cpp60 void BackForwardListImpl::addItem(PassRefPtr<HistoryItem> prpItem) in addItem()
70 RefPtr<HistoryItem> item = m_entries.last(); in addItem()
80 RefPtr<HistoryItem> item = m_entries[0]; in addItem()
116 void BackForwardListImpl::goToItem(HistoryItem* item) in goToItem()
132 HistoryItem* BackForwardListImpl::backItem() in backItem()
139 HistoryItem* BackForwardListImpl::currentItem() in currentItem()
146 HistoryItem* BackForwardListImpl::forwardItem() in forwardItem()
187 RefPtr<HistoryItem> item = m_entries.last(); in setCapacity()
228 HistoryItem* BackForwardListImpl::itemAtIndex(int index) in itemAtIndex()
261 void BackForwardListImpl::removeItem(HistoryItem* item) in removeItem()
[all …]
/external/webkit/Source/WebCore/loader/
DHistoryController.h41 class HistoryItem; variable
53 void saveScrollPositionAndViewStateToItem(HistoryItem*);
73 HistoryItem* currentItem() const { return m_currentItem.get(); } in currentItem()
74 void setCurrentItem(HistoryItem*);
78 HistoryItem* previousItem() const { return m_previousItem.get(); } in previousItem()
80 HistoryItem* provisionalItem() const { return m_provisionalItem.get(); } in provisionalItem()
81 void setProvisionalItem(HistoryItem*);
88 bool shouldStopLoadingForHistoryItem(HistoryItem*) const;
89 void goToItem(HistoryItem*, FrameLoadType);
91 void initializeItem(HistoryItem*);
[all …]
DHistoryController.cpp77 void HistoryController::saveScrollPositionAndViewStateToItem(HistoryItem* item) in saveScrollPositionAndViewStateToItem()
154 HistoryItem* item = m_frameLoadComplete ? m_currentItem.get() : m_previousItem.get(); in saveDocumentState()
181 HistoryItem* itemToRestore = 0; in restoreDocumentState()
224 bool HistoryController::shouldStopLoadingForHistoryItem(HistoryItem* targetItem) const in shouldStopLoadingForHistoryItem()
238 void HistoryController::goToItem(HistoryItem* targetItem, FrameLoadType type) in goToItem()
255 RefPtr<HistoryItem> currentItem = page->backForward()->currentItem(); in goToItem()
526 void HistoryController::setCurrentItem(HistoryItem* item) in setCurrentItem()
549 void HistoryController::setProvisionalItem(HistoryItem* item) in setProvisionalItem()
554 void HistoryController::initializeItem(HistoryItem* item) in initializeItem()
600 PassRefPtr<HistoryItem> HistoryController::createItem() in createItem()
[all …]
/external/chromium/chrome/browser/ui/cocoa/
Dhistory_menu_bridge.h63 struct HistoryItem { struct
65 HistoryItem();
67 HistoryItem(const HistoryItem& copy);
68 ~HistoryItem();
102 std::vector<HistoryItem*> tabs; argument
106 void operator=(const HistoryItem&);
137 HistoryItem* HistoryItemForMenuItem(NSMenuItem* item);
159 NSMenuItem* AddItemToMenu(HistoryItem* item,
179 HistoryItem* HistoryItemForTab(const TabRestoreService::Tab& entry);
183 void GetFaviconForHistoryItem(HistoryItem* item);
[all …]
Dhistory_menu_cocoa_controller_unittest.mm32 - (void)openURLForItem:(HistoryMenuBridge::HistoryItem*)item { argument
50 HistoryMenuBridge::HistoryItem* item = new HistoryMenuBridge::HistoryItem();
55 item = new HistoryMenuBridge::HistoryItem();
61 std::map<NSMenuItem*, HistoryMenuBridge::HistoryItem*>& menu_item_map() {
79 std::map<NSMenuItem*, HistoryMenuBridge::HistoryItem*>& items =
81 std::map<NSMenuItem*, HistoryMenuBridge::HistoryItem*>::iterator it =
85 HistoryMenuBridge::HistoryItem* item = it->second;
Dhistory_menu_bridge.mm51 HistoryMenuBridge::HistoryItem::HistoryItem() function
57 HistoryMenuBridge::HistoryItem::HistoryItem(const HistoryItem& copy) function
65 HistoryMenuBridge::HistoryItem::~HistoryItem() { function
127 std::map<NSMenuItem*, HistoryItem*>::iterator it = menu_item_map_.begin();
129 HistoryItem* item = it->second;
186 HistoryItem* item = new HistoryItem();
200 // Duplicate the HistoryItem otherwise the different NSMenuItems will
201 // point to the same HistoryItem, which would then be double-freed when
203 HistoryItem* dup_item = new HistoryItem(*item);
213 HistoryItem* tab_item = HistoryItemForTab(tab);
[all …]
Dhistory_menu_bridge_unittest.mm62 void AddItemToBridgeMenu(HistoryMenuBridge::HistoryItem* item,
84 HistoryMenuBridge::HistoryItem* CreateItem(const string16& title) {
85 HistoryMenuBridge::HistoryItem* item =
86 new HistoryMenuBridge::HistoryItem();
101 void GetFaviconForHistoryItem(HistoryMenuBridge::HistoryItem* item) {
110 CancelableRequestConsumerTSimple<HistoryMenuBridge::HistoryItem*>&
169 // Test that AddItemToMenu() properly adds HistoryItem objects as menus.
181 HistoryMenuBridge::HistoryItem* item1 = CreateItem(short_url);
184 HistoryMenuBridge::HistoryItem* item2 = CreateItem(long_url);
234 MockBridge::HistoryItem* hist1 = bridge_->HistoryItemForMenuItem(item1);
[all …]
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebBackForwardListProxy.cpp49 typedef HashMap<uint64_t, RefPtr<HistoryItem> > IDToHistoryItemMap;
50 typedef HashMap<RefPtr<HistoryItem>, uint64_t> HistoryItemToIDMap;
86 static void updateBackForwardItem(uint64_t itemID, HistoryItem* item) in updateBackForwardItem()
95 void WebBackForwardListProxy::addItemFromUIProcess(uint64_t itemID, PassRefPtr<WebCore::HistoryItem in addItemFromUIProcess()
97 RefPtr<HistoryItem> item = prpItem; in addItemFromUIProcess()
107 static void WK2NotifyHistoryItemChanged(HistoryItem* item) in WK2NotifyHistoryItemChanged()
116 HistoryItem* WebBackForwardListProxy::itemForID(uint64_t itemID) in itemForID()
121 uint64_t WebBackForwardListProxy::idForItem(HistoryItem* item) in idForItem()
142 void WebBackForwardListProxy::addItem(PassRefPtr<HistoryItem> prpItem) in addItem()
144 RefPtr<HistoryItem> item = prpItem; in addItem()
[all …]
DWebBackForwardListProxy.h40 static WebCore::HistoryItem* itemForID(uint64_t);
41 static uint64_t idForItem(WebCore::HistoryItem*);
44 static void addItemFromUIProcess(uint64_t itemID, PassRefPtr<WebCore::HistoryItem>);
52 virtual void addItem(PassRefPtr<WebCore::HistoryItem>);
54 virtual void goToItem(WebCore::HistoryItem*);
56 virtual WebCore::HistoryItem* itemAtIndex(int);
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitwebhistoryitem.cpp55 WebCore::HistoryItem* historyItem;
87 void webkit_history_item_add(WebKitWebHistoryItem* webHistoryItem, WebCore::HistoryItem* historyIte… in webkit_history_item_add()
101 WebCore::HistoryItem* item = core(webHistoryItem); in webkit_web_history_item_dispose()
262 WebKitWebHistoryItem* webkit_web_history_item_new_with_core_item(PassRefPtr<WebCore::HistoryItem> h… in webkit_web_history_item_new_with_core_item()
280 RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create(); in webkit_web_history_item_new()
303 RefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create(historyUri, historyTitle, 0); in webkit_web_history_item_new_with_data()
320 WebCore::HistoryItem* item = core(webHistoryItem); in webkit_web_history_item_get_title()
342 WebCore::HistoryItem* item = core(webHistoryItem); in webkit_web_history_item_get_alternate_title()
364 WebCore::HistoryItem* item = core(webHistoryItem); in webkit_web_history_item_set_alternate_title()
382 WebCore::HistoryItem* item = core(WEBKIT_WEB_HISTORY_ITEM(webHistoryItem)); in webkit_web_history_item_get_uri()
[all …]
/external/webkit/Source/WebCore/history/android/
DAndroidWebHistoryBridge.h33 class HistoryItem; variable
37 AndroidWebHistoryBridge(HistoryItem* item) in AndroidWebHistoryBridge()
43 virtual void updateHistoryItem(HistoryItem* item) = 0;
50 HistoryItem* historyItem() const { return m_historyItem; } in historyItem()
57 HistoryItem* m_historyItem;
/external/webkit/Source/WebKit/chromium/src/
DBackForwardListChromium.h51 virtual void addItem(PassRefPtr<WebCore::HistoryItem>);
52 virtual void goToItem(WebCore::HistoryItem*);
53 virtual WebCore::HistoryItem* itemAtIndex(int index);
61 RefPtr<WebCore::HistoryItem> m_currentItem;
65 RefPtr<WebCore::HistoryItem> m_pendingHistoryItem;
DBackForwardListChromium.cpp59 void BackForwardListChromium::addItem(PassRefPtr<HistoryItem> item) in addItem()
71 void BackForwardListChromium::goToItem(HistoryItem* item) in goToItem()
79 HistoryItem* BackForwardListChromium::itemAtIndex(int index) in itemAtIndex()
100 m_pendingHistoryItem = HistoryItem::create(urlString, String(), 0); in itemAtIndex()
/external/webkit/Source/WebKit/mac/History/
DWebHistoryItemInternal.h34 class HistoryItem; variable
37 WebCore::HistoryItem* core(WebHistoryItem *item);
38 WebHistoryItem *kit(WebCore::HistoryItem* item);
40 extern void WKNotifyHistoryItemChanged(WebCore::HistoryItem*);
50 - (id)initWithWebCoreHistoryItem:(PassRefPtr<WebCore::HistoryItem>)item;
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundleBackForwardListItem.h41 … static PassRefPtr<InjectedBundleBackForwardListItem> create(PassRefPtr<WebCore::HistoryItem> item) in create()
48 WebCore::HistoryItem* item() const { return m_item.get(); } in item()
60 InjectedBundleBackForwardListItem(PassRefPtr<WebCore::HistoryItem> item) : m_item(item) { } in InjectedBundleBackForwardListItem()
64 RefPtr<WebCore::HistoryItem> m_item;
/external/webkit/Source/WebKit/android/jni/
DWebHistory.h45 static void Flatten(JNIEnv*, WTF::Vector<char>&, WebCore::HistoryItem*);
46 static void AddItem(const AutoJObject&, WebCore::HistoryItem*);
63 WebHistoryItem(WebCore::HistoryItem* item) in WebHistoryItem()
71 void updateHistoryItem(WebCore::HistoryItem* item);
DWebHistory.cpp59 static void writeItem(WTF::Vector<char>& vector, WebCore::HistoryItem* item);
60 static void writeChildrenRecursive(WTF::Vector<char>& vector, WebCore::HistoryItem* parent);
61 static bool readItemRecursive(WebCore::HistoryItem* child, const char** pData, int length);
84 RefPtr<WebCore::HistoryItem> current = list->currentItem(); in WebHistoryClose()
119 RefPtr<WebCore::HistoryItem> parent = current; in WebHistoryClose()
123 WebCore::HistoryItem* item = parent->childItemWithTarget(child->tree()->name()); in WebHistoryClose()
150 WebCore::HistoryItem* currentItem = in WebHistoryRestoreIndex()
169 RefPtr<WebCore::HistoryItem> newItem = WebCore::HistoryItem::create(); in WebHistoryInflate()
281 void WebHistory::Flatten(JNIEnv* env, WTF::Vector<char>& vector, WebCore::HistoryItem* item) in Flatten()
296 void WebHistoryItem::updateHistoryItem(WebCore::HistoryItem* item) { in updateHistoryItem()
[all …]
/external/webkit/Source/WebKit/chromium/public/
DWebHistoryItem.h37 namespace WebCore { class HistoryItem; } variable
125 WebHistoryItem(const WTF::PassRefPtr<WebCore::HistoryItem>&);
126 WebHistoryItem& operator=(const WTF::PassRefPtr<WebCore::HistoryItem>&);
127 operator WTF::PassRefPtr<WebCore::HistoryItem>() const;
132 WebPrivatePtr<WebCore::HistoryItem> m_private;
/external/webkit/Source/WebKit/qt/Api/
Dqwebhistory.cpp274 RefPtr<WebCore::HistoryItem> current = lst->currentItem(); in clear()
405 WebCore::HistoryItem *i = d->lst->backItem(); in backItem()
415 WebCore::HistoryItem *i = d->lst->currentItem(); in currentItem()
425 WebCore::HistoryItem *i = d->lst->forwardItem(); in forwardItem()
448 WebCore::HistoryItem *item = d->lst->entries()[i].get(); in itemAt()
537 WebCore::HistoryItem* nullItem = d->lst->currentItem(); in operator >>()
539 WTF::PassRefPtr<WebCore::HistoryItem> item = WebCore::HistoryItem::create(); in operator >>()
560 WebCore::HistoryItem* QWebHistoryItemPrivate::core(const QWebHistoryItem* q) in core()

123456