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

Unified Diff: chrome/browser/ui/views/frame/browser_view.h

Issue 11515005: Delay updating jumplist to avoid blocking the file thread at start-up (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add JumpListListener Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_view.h
diff --git a/chrome/browser/ui/views/frame/browser_view.h b/chrome/browser/ui/views/frame/browser_view.h
index 7fa6ca98b4efb668aca570e1a4201cd4fd122f00..268a393c47d5850e634f1133acd43d0f02904c5c 100644
--- a/chrome/browser/ui/views/frame/browser_view.h
+++ b/chrome/browser/ui/views/frame/browser_view.h
@@ -55,6 +55,7 @@ class TabStripModel;
class ToolbarView;
#if defined(OS_WIN)
+class JumpListListener;
class JumpList;
#endif
@@ -570,6 +571,11 @@ class BrowserView : public BrowserWindow,
// If search mode is |MODE_NTP| and bookmark bar is visible, stack it at top.
void MaybeStackBookmarkBarAtTop();
+#if defined(OS_WIN)
sky 2012/12/18 20:52:38 and !aura
Cait (Slow) 2012/12/19 19:27:01 Done.
+ // Creates and initializes the |jumplist_|.
+ void CreateJumpList();
+#endif
+
// Last focused view that issued a tab traversal.
int last_focused_view_storage_id_;
@@ -696,8 +702,13 @@ class BrowserView : public BrowserWindow,
// plugin window.
HungPluginAction hung_plugin_action_;
+ // Helper class to ensure jumplist is not constructed until start-up is
+ // complete.
+ scoped_ptr<JumpListListener> jumplist_listener_;
+
// The custom JumpList for Windows 7.
scoped_refptr<JumpList> jumplist_;
+
#endif
#if defined(USE_ASH)

Powered by Google App Engine
This is Rietveld 408576698