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

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

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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 23 matching lines...) Expand all
34 #include "content/public/browser/browser_thread.h" 34 #include "content/public/browser/browser_thread.h"
35 #include "content/public/browser/host_zoom_map.h" 35 #include "content/public/browser/host_zoom_map.h"
36 #include "content/public/browser/notification_service.h" 36 #include "content/public/browser/notification_service.h"
37 #include "content/public/browser/render_view_host.h" 37 #include "content/public/browser/render_view_host.h"
38 #include "content/public/browser/web_contents.h" 38 #include "content/public/browser/web_contents.h"
39 #include "content/public/browser/web_contents_delegate.h" 39 #include "content/public/browser/web_contents_delegate.h"
40 #include "extensions/common/constants.h" 40 #include "extensions/common/constants.h"
41 #include "printing/features/features.h" 41 #include "printing/features/features.h"
42 42
43 #if defined(USE_ASH) 43 #if defined(USE_ASH)
44 #include "ash/common/shelf/shelf_constants.h" // nogncheck 44 #include "ash/shelf/shelf_constants.h" // nogncheck
45 #endif 45 #endif
46 46
47 #if BUILDFLAG(ENABLE_PRINTING) 47 #if BUILDFLAG(ENABLE_PRINTING)
48 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) 48 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
49 #include "chrome/browser/printing/print_preview_message_handler.h" 49 #include "chrome/browser/printing/print_preview_message_handler.h"
50 #include "chrome/browser/printing/print_view_manager.h" 50 #include "chrome/browser/printing/print_view_manager.h"
51 #else 51 #else
52 #include "chrome/browser/printing/print_view_manager_basic.h" 52 #include "chrome/browser/printing/print_view_manager_basic.h"
53 #endif // BUILDFLAG(ENABLE_PRINT_PREVIEW) 53 #endif // BUILDFLAG(ENABLE_PRINT_PREVIEW)
54 #endif // BUILDFLAG(ENABLE_PRINTING) 54 #endif // BUILDFLAG(ENABLE_PRINTING)
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 KeepAliveRestartOption::DISABLED)); 344 KeepAliveRestartOption::DISABLED));
345 } 345 }
346 346
347 void ChromeAppDelegate::Observe(int type, 347 void ChromeAppDelegate::Observe(int type,
348 const content::NotificationSource& source, 348 const content::NotificationSource& source,
349 const content::NotificationDetails& details) { 349 const content::NotificationDetails& details) {
350 DCHECK_EQ(chrome::NOTIFICATION_APP_TERMINATING, type); 350 DCHECK_EQ(chrome::NOTIFICATION_APP_TERMINATING, type);
351 if (!terminating_callback_.is_null()) 351 if (!terminating_callback_.is_null())
352 terminating_callback_.Run(); 352 terminating_callback_.Run();
353 } 353 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/device_page/device_page_browser_proxy.js ('k') | chrome/browser/ui/ash/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698