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

Side by Side Diff: chrome/browser/ui/tabs/tab_strip_model_observer.cc

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 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" 5 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h"
6 6
7 using content::WebContents; 7 using content::WebContents;
8 8
9 void TabStripModelObserver::TabInsertedAt(WebContents* contents, 9 void TabStripModelObserver::TabInsertedAt(WebContents* contents,
10 int index, 10 int index,
11 bool foreground) { 11 bool foreground) {
12 } 12 }
13 13
14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, 14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model,
15 WebContents* contents, 15 WebContents* contents,
16 int index) { 16 int index) {
17 } 17 }
18 18
19 void TabStripModelObserver::TabDetachedAt(WebContents* contents, 19 void TabStripModelObserver::TabDetachedAt(WebContents* contents,
20 int index) { 20 int index,
21 bool closing_all) {
21 } 22 }
22 23
23 void TabStripModelObserver::TabDeactivated(WebContents* contents) { 24 void TabStripModelObserver::TabDeactivated(WebContents* contents) {
24 } 25 }
25 26
26 void TabStripModelObserver::ActiveTabChanged(WebContents* old_contents, 27 void TabStripModelObserver::ActiveTabChanged(WebContents* old_contents,
27 WebContents* new_contents, 28 WebContents* new_contents,
28 int index, 29 int index,
29 int reason) { 30 int reason) {
30 } 31 }
(...skipping 27 matching lines...) Expand all
58 int index) { 59 int index) {
59 } 60 }
60 61
61 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents, 62 void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents,
62 int index) { 63 int index) {
63 } 64 }
64 65
65 void TabStripModelObserver::TabStripEmpty() {} 66 void TabStripModelObserver::TabStripEmpty() {}
66 67
67 void TabStripModelObserver::TabStripModelDeleted() {} 68 void TabStripModelObserver::TabStripModelDeleted() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698