summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sidebar/sidebar_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sidebar/sidebar_manager.cc')
-rw-r--r--chrome/browser/sidebar/sidebar_manager.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/sidebar/sidebar_manager.cc b/chrome/browser/sidebar/sidebar_manager.cc
index 62c46c14..e77041c 100644
--- a/chrome/browser/sidebar/sidebar_manager.cc
+++ b/chrome/browser/sidebar/sidebar_manager.cc
@@ -18,6 +18,13 @@
#include "chrome/common/pref_names.h"
#include "googleurl/src/gurl.h"
+struct SidebarManager::SidebarStateForTab {
+ // Sidebars linked to this tab.
+ ContentIdToSidebarHostMap content_id_to_sidebar_host;
+ // Content id of the currently active (expanded and visible) sidebar.
+ std::string active_content_id;
+};
+
// static
SidebarManager* SidebarManager::GetInstance() {
return g_browser_process->sidebar_manager();