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

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

Issue 3043030: Move browser/first_run* into into a subdirectory. (Closed)
Patch Set: Created 10 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
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 "chrome/browser/browser.h" 5 #include "chrome/browser/browser.h"
6 6
7 #if defined(OS_WIN) 7 #if defined(OS_WIN)
8 #include <shellapi.h> 8 #include <shellapi.h>
9 #include <windows.h> 9 #include <windows.h>
10 #endif // OS_WIN 10 #endif // OS_WIN
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "chrome/browser/download/download_shelf.h" 43 #include "chrome/browser/download/download_shelf.h"
44 #include "chrome/browser/download/download_started_animation.h" 44 #include "chrome/browser/download/download_started_animation.h"
45 #include "chrome/browser/extensions/crashed_extension_infobar.h" 45 #include "chrome/browser/extensions/crashed_extension_infobar.h"
46 #include "chrome/browser/extensions/extension_browser_event_router.h" 46 #include "chrome/browser/extensions/extension_browser_event_router.h"
47 #include "chrome/browser/extensions/extension_disabled_infobar_delegate.h" 47 #include "chrome/browser/extensions/extension_disabled_infobar_delegate.h"
48 #include "chrome/browser/extensions/extension_shelf_model.h" 48 #include "chrome/browser/extensions/extension_shelf_model.h"
49 #include "chrome/browser/extensions/extension_tabs_module.h" 49 #include "chrome/browser/extensions/extension_tabs_module.h"
50 #include "chrome/browser/extensions/extensions_service.h" 50 #include "chrome/browser/extensions/extensions_service.h"
51 #include "chrome/browser/find_bar.h" 51 #include "chrome/browser/find_bar.h"
52 #include "chrome/browser/find_bar_controller.h" 52 #include "chrome/browser/find_bar_controller.h"
53 #include "chrome/browser/first_run.h" 53 #include "chrome/browser/first_run/first_run.h"
54 #include "chrome/browser/google_url_tracker.h" 54 #include "chrome/browser/google_url_tracker.h"
55 #include "chrome/browser/google_util.h" 55 #include "chrome/browser/google_util.h"
56 #include "chrome/browser/host_zoom_map.h" 56 #include "chrome/browser/host_zoom_map.h"
57 #include "chrome/browser/location_bar.h" 57 #include "chrome/browser/location_bar.h"
58 #include "chrome/browser/metrics/user_metrics.h" 58 #include "chrome/browser/metrics/user_metrics.h"
59 #include "chrome/browser/net/browser_url_util.h" 59 #include "chrome/browser/net/browser_url_util.h"
60 #include "chrome/browser/net/url_fixer_upper.h" 60 #include "chrome/browser/net/url_fixer_upper.h"
61 #include "chrome/browser/options_window.h" 61 #include "chrome/browser/options_window.h"
62 #include "chrome/browser/platform_util.h" 62 #include "chrome/browser/platform_util.h"
63 #include "chrome/browser/pref_service.h" 63 #include "chrome/browser/pref_service.h"
(...skipping 3990 matching lines...) Expand 10 before | Expand all | Expand 10 after
4054 } 4054 }
4055 4055
4056 bool Browser::IsPinned(TabContents* source) { 4056 bool Browser::IsPinned(TabContents* source) {
4057 int index = tabstrip_model_.GetIndexOfTabContents(source); 4057 int index = tabstrip_model_.GetIndexOfTabContents(source);
4058 if (index == TabStripModel::kNoTab) { 4058 if (index == TabStripModel::kNoTab) {
4059 NOTREACHED() << "IsPinned called for tab not in our strip"; 4059 NOTREACHED() << "IsPinned called for tab not in our strip";
4060 return false; 4060 return false;
4061 } 4061 }
4062 return tabstrip_model_.IsTabPinned(index); 4062 return tabstrip_model_.IsTabPinned(index);
4063 } 4063 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698