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

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

Issue 2595313002: DISALLOW_COPY_AND_ASSIGN the TabStripModelObserver. (Closed)
Patch Set: Created 3 years, 12 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
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model_observer.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 TabStripModelObserver::TabStripModelObserver() {
10 }
11
9 void TabStripModelObserver::TabInsertedAt(TabStripModel* tab_strip_model, 12 void TabStripModelObserver::TabInsertedAt(TabStripModel* tab_strip_model,
10 WebContents* contents, 13 WebContents* contents,
11 int index, 14 int index,
12 bool foreground) { 15 bool foreground) {
13 } 16 }
14 17
15 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, 18 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model,
16 WebContents* contents, 19 WebContents* contents,
17 int index) { 20 int index) {
18 } 21 }
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 } 65 }
63 66
64 void TabStripModelObserver::TabStripEmpty() { 67 void TabStripModelObserver::TabStripEmpty() {
65 } 68 }
66 69
67 void TabStripModelObserver::WillCloseAllTabs() { 70 void TabStripModelObserver::WillCloseAllTabs() {
68 } 71 }
69 72
70 void TabStripModelObserver::CloseAllTabsCanceled() { 73 void TabStripModelObserver::CloseAllTabsCanceled() {
71 } 74 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/tabs/tab_strip_model_observer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698