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

Side by Side Diff: chrome/browser/tabs/default_tab_handler.cc

Issue 5046002: Cleanup: Include browser.h -> ui/browser.h [Part 2]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/metrics/nacl_histogram.h" 5 #include "base/metrics/nacl_histogram.h"
6 #include "chrome/browser/tabs/default_tab_handler.h" 6 #include "chrome/browser/tabs/default_tab_handler.h"
7 #include "chrome/browser/browser.h"
8 #include "chrome/browser/tabs/tab_strip_model.h" 7 #include "chrome/browser/tabs/tab_strip_model.h"
8 #include "chrome/browser/ui/browser.h"
9 9
10 //////////////////////////////////////////////////////////////////////////////// 10 ////////////////////////////////////////////////////////////////////////////////
11 // DefaultTabHandler, public: 11 // DefaultTabHandler, public:
12 12
13 DefaultTabHandler::DefaultTabHandler(TabHandlerDelegate* delegate) 13 DefaultTabHandler::DefaultTabHandler(TabHandlerDelegate* delegate)
14 : delegate_(delegate), 14 : delegate_(delegate),
15 ALLOW_THIS_IN_INITIALIZER_LIST( 15 ALLOW_THIS_IN_INITIALIZER_LIST(
16 model_(new TabStripModel(this, delegate->GetProfile()))) { 16 model_(new TabStripModel(this, delegate->GetProfile()))) {
17 UmaNaclHistogramEnumeration(FIRST_TAB_NACL_BASELINE); 17 UmaNaclHistogramEnumeration(FIRST_TAB_NACL_BASELINE);
18 model_->AddObserver(this); 18 model_->AddObserver(this);
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 } 193 }
194 194
195 //////////////////////////////////////////////////////////////////////////////// 195 ////////////////////////////////////////////////////////////////////////////////
196 // TabHandler, public: 196 // TabHandler, public:
197 197
198 // static 198 // static
199 TabHandler* TabHandler::CreateTabHandler(TabHandlerDelegate* delegate) { 199 TabHandler* TabHandler::CreateTabHandler(TabHandlerDelegate* delegate) {
200 return new DefaultTabHandler(delegate); 200 return new DefaultTabHandler(delegate);
201 } 201 }
202 202
OLDNEW
« no previous file with comments | « chrome/browser/speech/speech_input_bubble_views.cc ('k') | chrome/browser/tabs/pinned_tab_codec.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698