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

Side by Side Diff: chrome/browser/ui/tabs/tab_strip_model_order_controller.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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_TABS_TAB_STRIP_MODEL_ORDER_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_ORDER_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_ORDER_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_ORDER_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/tabs/tab_strip_model.h" 9 #include "chrome/browser/ui/tabs/tab_strip_model.h"
10 #include "content/public/common/page_transition_types.h" 10 #include "content/public/common/page_transition_types.h"
11 11
12 class TabContentsWrapper; 12 class TabContents;
13 typedef TabContents TabContentsWrapper;
13 14
14 /////////////////////////////////////////////////////////////////////////////// 15 ///////////////////////////////////////////////////////////////////////////////
15 // TabStripModelOrderController 16 // TabStripModelOrderController
16 // 17 //
17 // An object that allows different types of ordering and reselection to be 18 // An object that allows different types of ordering and reselection to be
18 // heuristics plugged into a TabStripModel. 19 // heuristics plugged into a TabStripModel.
19 // 20 //
20 class TabStripModelOrderController : public TabStripModelObserver { 21 class TabStripModelOrderController : public TabStripModelObserver {
21 public: 22 public:
22 explicit TabStripModelOrderController(TabStripModel* tabstrip); 23 explicit TabStripModelOrderController(TabStripModel* tabstrip);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 int GetValidIndex(int index, int removing_index) const; 56 int GetValidIndex(int index, int removing_index) const;
56 57
57 TabStripModel* tabstrip_; 58 TabStripModel* tabstrip_;
58 59
59 TabStripModel::InsertionPolicy insertion_policy_; 60 TabStripModel::InsertionPolicy insertion_policy_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(TabStripModelOrderController); 62 DISALLOW_COPY_AND_ASSIGN(TabStripModelOrderController);
62 }; 63 };
63 64
64 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_ORDER_CONTROLLER_H_ 65 #endif // CHROME_BROWSER_UI_TABS_TAB_STRIP_MODEL_ORDER_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698