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

Side by Side Diff: chrome/browser/ui/apps/chrome_app_delegate.cc

Issue 2272173002: Fix most chrome/browser/ui "gn check" problems. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ui/apps/chrome_app_delegate.h" 5 #include "chrome/browser/ui/apps/chrome_app_delegate.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 21 matching lines...) Expand all
32 #include "content/public/browser/browser_context.h" 32 #include "content/public/browser/browser_context.h"
33 #include "content/public/browser/browser_thread.h" 33 #include "content/public/browser/browser_thread.h"
34 #include "content/public/browser/host_zoom_map.h" 34 #include "content/public/browser/host_zoom_map.h"
35 #include "content/public/browser/notification_service.h" 35 #include "content/public/browser/notification_service.h"
36 #include "content/public/browser/render_view_host.h" 36 #include "content/public/browser/render_view_host.h"
37 #include "content/public/browser/web_contents.h" 37 #include "content/public/browser/web_contents.h"
38 #include "content/public/browser/web_contents_delegate.h" 38 #include "content/public/browser/web_contents_delegate.h"
39 #include "extensions/common/constants.h" 39 #include "extensions/common/constants.h"
40 40
41 #if defined(USE_ASH) 41 #if defined(USE_ASH)
42 #include "ash/common/shelf/shelf_constants.h" 42 #include "ash/common/shelf/shelf_constants.h" // nogncheck
43 #endif 43 #endif
44 44
45 #if defined(ENABLE_PRINTING) 45 #if defined(ENABLE_PRINTING)
46 #if defined(ENABLE_PRINT_PREVIEW) 46 #if defined(ENABLE_PRINT_PREVIEW)
47 #include "chrome/browser/printing/print_preview_message_handler.h" 47 #include "chrome/browser/printing/print_preview_message_handler.h"
48 #include "chrome/browser/printing/print_view_manager.h" 48 #include "chrome/browser/printing/print_view_manager.h"
49 #else 49 #else
50 #include "chrome/browser/printing/print_view_manager_basic.h" 50 #include "chrome/browser/printing/print_view_manager_basic.h"
51 #endif // defined(ENABLE_PRINT_PREVIEW) 51 #endif // defined(ENABLE_PRINT_PREVIEW)
52 #endif // defined(ENABLE_PRINTING) 52 #endif // defined(ENABLE_PRINTING)
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 KeepAliveRestartOption::DISABLED)); 339 KeepAliveRestartOption::DISABLED));
340 } 340 }
341 341
342 void ChromeAppDelegate::Observe(int type, 342 void ChromeAppDelegate::Observe(int type,
343 const content::NotificationSource& source, 343 const content::NotificationSource& source,
344 const content::NotificationDetails& details) { 344 const content::NotificationDetails& details) {
345 DCHECK_EQ(chrome::NOTIFICATION_APP_TERMINATING, type); 345 DCHECK_EQ(chrome::NOTIFICATION_APP_TERMINATING, type);
346 if (!terminating_callback_.is_null()) 346 if (!terminating_callback_.is_null())
347 terminating_callback_.Run(); 347 terminating_callback_.Run();
348 } 348 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698