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

Side by Side Diff: chrome/test/base/test_tab_strip_model_observer.h

Issue 7537033: Move more files from chrome/test to chrome/test/base, part #5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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
« no previous file with comments | « chrome/test/base/test_switches.cc ('k') | chrome/test/base/test_tab_strip_model_observer.cc » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TEST_TEST_TAB_STRIP_MODEL_OBSERVER_H_ 5 #ifndef CHROME_TEST_BASE_TEST_TAB_STRIP_MODEL_OBSERVER_H_
6 #define CHROME_TEST_TEST_TAB_STRIP_MODEL_OBSERVER_H_ 6 #define CHROME_TEST_BASE_TEST_TAB_STRIP_MODEL_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/tabs/tab_strip_model_observer.h" 10 #include "chrome/browser/tabs/tab_strip_model_observer.h"
11 #include "chrome/test/test_navigation_observer.h" 11 #include "chrome/test/test_navigation_observer.h"
12 12
13 class TabStripModel; 13 class TabStripModel;
14 14
15 // In order to support testing of print preview, we need to wait for the tab to 15 // In order to support testing of print preview, we need to wait for the tab to
16 // be inserted, and then observe notifications on the newly added tab's 16 // be inserted, and then observe notifications on the newly added tab's
(...skipping 17 matching lines...) Expand all
34 virtual void TabInsertedAt(TabContentsWrapper* contents, int index, 34 virtual void TabInsertedAt(TabContentsWrapper* contents, int index,
35 bool foreground) OVERRIDE; 35 bool foreground) OVERRIDE;
36 36
37 // |tab_strip_model_| is the object this observes. The constructor will 37 // |tab_strip_model_| is the object this observes. The constructor will
38 // register this as an observer, and the destructor will remove the observer. 38 // register this as an observer, and the destructor will remove the observer.
39 TabStripModel* tab_strip_model_; 39 TabStripModel* tab_strip_model_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelObserver); 41 DISALLOW_COPY_AND_ASSIGN(TestTabStripModelObserver);
42 }; 42 };
43 43
44 #endif // CHROME_TEST_TEST_TAB_STRIP_MODEL_OBSERVER_H_ 44 #endif // CHROME_TEST_BASE_TEST_TAB_STRIP_MODEL_OBSERVER_H_
OLDNEW
« no previous file with comments | « chrome/test/base/test_switches.cc ('k') | chrome/test/base/test_tab_strip_model_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698