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

Side by Side Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 1417943002: Load the table of visited links from database file asynchronously. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add extra comment and fix compilation error. Created 5 years 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
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/public/web/WebView.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) 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2011, 2012 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 void WebView::setUseExternalPopupMenus(bool useExternalPopupMenus) 342 void WebView::setUseExternalPopupMenus(bool useExternalPopupMenus)
343 { 343 {
344 shouldUseExternalPopupMenus = useExternalPopupMenus; 344 shouldUseExternalPopupMenus = useExternalPopupMenus;
345 } 345 }
346 346
347 void WebView::updateVisitedLinkState(unsigned long long linkHash) 347 void WebView::updateVisitedLinkState(unsigned long long linkHash)
348 { 348 {
349 Page::visitedStateChanged(linkHash); 349 Page::visitedStateChanged(linkHash);
350 } 350 }
351 351
352 void WebView::resetVisitedLinkState() 352 void WebView::resetVisitedLinkState(bool invalidateVisitedLinkHashes)
353 { 353 {
354 Page::allVisitedStateChanged(); 354 Page::allVisitedStateChanged(invalidateVisitedLinkHashes);
355 } 355 }
356 356
357 void WebView::willEnterModalLoop() 357 void WebView::willEnterModalLoop()
358 { 358 {
359 pageLoadDeferrerStack().append(adoptPtr(new ScopedPageLoadDeferrer())); 359 pageLoadDeferrerStack().append(adoptPtr(new ScopedPageLoadDeferrer()));
360 } 360 }
361 361
362 void WebView::didExitModalLoop() 362 void WebView::didExitModalLoop()
363 { 363 {
364 ASSERT(pageLoadDeferrerStack().size()); 364 ASSERT(pageLoadDeferrerStack().size());
(...skipping 4126 matching lines...) Expand 10 before | Expand all | Expand 10 after
4491 if (m_pageColorOverlay) 4491 if (m_pageColorOverlay)
4492 m_pageColorOverlay->update(); 4492 m_pageColorOverlay->update();
4493 if (InspectorOverlay* overlay = inspectorOverlay()) { 4493 if (InspectorOverlay* overlay = inspectorOverlay()) {
4494 PageOverlay* inspectorPageOverlay = overlay->pageOverlay(); 4494 PageOverlay* inspectorPageOverlay = overlay->pageOverlay();
4495 if (inspectorPageOverlay) 4495 if (inspectorPageOverlay)
4496 inspectorPageOverlay->update(); 4496 inspectorPageOverlay->update();
4497 } 4497 }
4498 } 4498 }
4499 4499
4500 } // namespace blink 4500 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/page/Page.cpp ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698