Chromium Code Reviews

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

Issue 5767004: Cleanup: Remove unneeded includes of chrome/browser/cert_store.h and chrome/b... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_request_details.h » ('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) 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/chromeos/tab_closeable_state_watcher.h" 5 #include "chrome/browser/chromeos/tab_closeable_state_watcher.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/browser/browser_shutdown.h" 8 #include "chrome/browser/browser_shutdown.h"
9 #include "chrome/browser/defaults.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 10 #include "chrome/browser/tab_contents/tab_contents.h"
12 #include "chrome/browser/tab_contents/tab_contents_view.h" 11 #include "chrome/browser/tab_contents/tab_contents_view.h"
13 #include "chrome/browser/tabs/tab_strip_model.h" 12 #include "chrome/browser/tabs/tab_strip_model.h"
14 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 13 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
15 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
16 #include "chrome/common/notification_service.h" 15 #include "chrome/common/notification_service.h"
17 #include "chrome/common/url_constants.h" 16 #include "chrome/common/url_constants.h"
18 17
19 namespace chromeos { 18 namespace chromeos {
(...skipping 226 matching lines...)
246 if (!can_close_tab_) 245 if (!can_close_tab_)
247 return false; 246 return false;
248 247
249 // Otherwise, close existing tabs, and deny closing of browser. 248 // Otherwise, close existing tabs, and deny closing of browser.
250 // TabClosingAt will open NTP when the last tab is being closed. 249 // TabClosingAt will open NTP when the last tab is being closed.
251 *action_type = OPEN_NTP; 250 *action_type = OPEN_NTP;
252 return false; 251 return false;
253 } 252 }
254 253
255 } // namespace chromeos 254 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/renderer_host/resource_request_details.h » ('j') | no next file with comments »

Powered by Google App Engine