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

Side by Side Diff: chrome/browser/ui/ash/launcher/browser_launcher_item_controller.h

Issue 17382005: Unbreak tabs.onRemove extension API in face of fast tab closure Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't modify content Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ash/launcher/launcher_types.h" 10 #include "ash/launcher/launcher_types.h"
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 // TabStripModel overrides: 84 // TabStripModel overrides:
85 virtual void ActiveTabChanged(content::WebContents* old_contents, 85 virtual void ActiveTabChanged(content::WebContents* old_contents,
86 content::WebContents* new_contents, 86 content::WebContents* new_contents,
87 int index, 87 int index,
88 int reason) OVERRIDE; 88 int reason) OVERRIDE;
89 virtual void TabInsertedAt(content::WebContents* contents, 89 virtual void TabInsertedAt(content::WebContents* contents,
90 int index, 90 int index,
91 bool foreground) OVERRIDE; 91 bool foreground) OVERRIDE;
92 virtual void TabDetachedAt(content::WebContents* contents, 92 virtual void TabDetachedAt(content::WebContents* contents,
93 int index) OVERRIDE; 93 int index,
94 bool closing_all) OVERRIDE;
94 virtual void TabChangedAt( 95 virtual void TabChangedAt(
95 content::WebContents* contents, 96 content::WebContents* contents,
96 int index, 97 int index,
97 TabStripModelObserver::TabChangeType change_type) OVERRIDE; 98 TabStripModelObserver::TabChangeType change_type) OVERRIDE;
98 virtual void TabReplacedAt(TabStripModel* tab_strip_model, 99 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
99 content::WebContents* old_contents, 100 content::WebContents* old_contents,
100 content::WebContents* new_contents, 101 content::WebContents* new_contents,
101 int index) OVERRIDE; 102 int index) OVERRIDE;
102 103
103 // aura::WindowObserver overrides: 104 // aura::WindowObserver overrides:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 136
136 TabStripModel* tab_model_; 137 TabStripModel* tab_model_;
137 138
138 // Whether this is associated with an incognito profile. 139 // Whether this is associated with an incognito profile.
139 const bool is_incognito_; 140 const bool is_incognito_;
140 141
141 DISALLOW_COPY_AND_ASSIGN(BrowserLauncherItemController); 142 DISALLOW_COPY_AND_ASSIGN(BrowserLauncherItemController);
142 }; 143 };
143 144
144 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_ 145 #endif // CHROME_BROWSER_UI_ASH_LAUNCHER_BROWSER_LAUNCHER_ITEM_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698