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

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

Issue 2424773002: Add missing exclusive_access_manager.h includes (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « chrome/browser/notifications/notification_test_util.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/notifications/web_notification_delegate.h" 5 #include "chrome/browser/notifications/web_notification_delegate.h"
6 6
7 #include "base/feature_list.h" 7 #include "base/feature_list.h"
8 #include "base/metrics/histogram_macros.h" 8 #include "base/metrics/histogram_macros.h"
9 #include "chrome/browser/notifications/notification_common.h" 9 #include "chrome/browser/notifications/notification_common.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/browser.h" 11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/browser_list.h" 12 #include "chrome/browser/ui/browser_list.h"
13 #include "chrome/browser/ui/browser_window.h" 13 #include "chrome/browser/ui/browser_window.h"
14 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" 14 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h"
15 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h"
15 #include "chrome/browser/ui/tabs/tab_strip_model.h" 16 #include "chrome/browser/ui/tabs/tab_strip_model.h"
16 #include "content/public/browser/web_contents.h" 17 #include "content/public/browser/web_contents.h"
17 #include "ui/message_center/notifier_settings.h" 18 #include "ui/message_center/notifier_settings.h"
18 19
19 using message_center::NotifierId; 20 using message_center::NotifierId;
20 21
21 namespace features { 22 namespace features {
22 23
23 const base::Feature kAllowFullscreenWebNotificationsFeature{ 24 const base::Feature kAllowFullscreenWebNotificationsFeature{
24 "FSNotificationsWeb", base::FEATURE_DISABLED_BY_DEFAULT 25 "FSNotificationsWeb", base::FEATURE_DISABLED_BY_DEFAULT
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 NotifierId::WEB_PAGE, 86 NotifierId::WEB_PAGE,
86 NotifierId::SIZE); 87 NotifierId::SIZE);
87 } 88 }
88 return enabled; 89 return enabled;
89 } 90 }
90 } 91 }
91 #endif 92 #endif
92 93
93 return false; 94 return false;
94 } 95 }
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_test_util.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698