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

Unified Diff: chrome/browser/ui/browser_tab_strip_tracker_delegate.h

Issue 1400823003: Creates BrowserTabStripTracker to consolidate common code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review feedback and git cl format Created 5 years, 2 months 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
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_tracker.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_tab_strip_tracker_delegate.h
diff --git a/chrome/browser/ui/browser_tab_strip_tracker_delegate.h b/chrome/browser/ui/browser_tab_strip_tracker_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..0975bade7f318d057490cf1a51544ac79eecf525
--- /dev/null
+++ b/chrome/browser/ui/browser_tab_strip_tracker_delegate.h
@@ -0,0 +1,22 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_BROWSER_TAB_STRIP_TRACKER_DELEGATE_H_
+#define CHROME_BROWSER_UI_BROWSER_TAB_STRIP_TRACKER_DELEGATE_H_
+
+#include "chrome/browser/ui/browser_list_observer.h"
+
+class Browser;
+
+class BrowserTabStripTrackerDelegate {
+ public:
+ // Called to determine if the supplied Browser should be tracked. See
+ // BrowserTabStripTracker for details.
+ virtual bool ShouldTrackBrowser(Browser* browser) = 0;
+
+ protected:
+ virtual ~BrowserTabStripTrackerDelegate() {}
+};
+
+#endif // CHROME_BROWSER_UI_BROWSER_TAB_STRIP_TRACKER_DELEGATE_H_
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_tracker.cc ('k') | chrome/chrome_browser_ui.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698