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

Side by Side Diff: third_party/WebKit/public/web/WebView.h

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: Load the table of visited links asynchronously and inform render about finish loading process. Created 5 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2010, 2011, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2010, 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 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 406
407 407
408 // Visited link state -------------------------------------------------- 408 // Visited link state --------------------------------------------------
409 409
410 // Tells all WebView instances to update the visited link state for the 410 // Tells all WebView instances to update the visited link state for the
411 // specified hash. 411 // specified hash.
412 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash); 412 BLINK_EXPORT static void updateVisitedLinkState(unsigned long long hash);
413 413
414 // Tells all WebView instances to update the visited state for all 414 // Tells all WebView instances to update the visited state for all
415 // their links. 415 // their links.
416 BLINK_EXPORT static void resetVisitedLinkState(); 416 BLINK_EXPORT static void resetVisitedLinkState(bool invalidateVisitedLinkHas hes);
417 417
418 418
419 // Custom colors ------------------------------------------------------- 419 // Custom colors -------------------------------------------------------
420 420
421 virtual void setSelectionColors(unsigned activeBackgroundColor, 421 virtual void setSelectionColors(unsigned activeBackgroundColor,
422 unsigned activeForegroundColor, 422 unsigned activeForegroundColor,
423 unsigned inactiveBackgroundColor, 423 unsigned inactiveBackgroundColor,
424 unsigned inactiveForegroundColor) = 0; 424 unsigned inactiveForegroundColor) = 0;
425 425
426 // Modal dialog support ------------------------------------------------ 426 // Modal dialog support ------------------------------------------------
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 // context's ability to deal with that failure gracefully can be tested. 477 // context's ability to deal with that failure gracefully can be tested.
478 virtual void forceNextDrawingBufferCreationToFail() = 0; 478 virtual void forceNextDrawingBufferCreationToFail() = 0;
479 479
480 protected: 480 protected:
481 ~WebView() {} 481 ~WebView() {}
482 }; 482 };
483 483
484 } // namespace blink 484 } // namespace blink
485 485
486 #endif 486 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698