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

Unified Diff: chrome/chrome_browser.gypi

Issue 7053041: Add a Create method to DesktopNotificationHandler and stubs for the notification objects. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/chrome_browser.gypi
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index dd02395d276c043ca6bf51cb3ff63379860fa75a..16c93b5af962543e86d337eef93925e224cef6c9 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -799,6 +799,7 @@
'browser/defaults.h',
'browser/desktop_notification_handler.cc',
'browser/desktop_notification_handler.h',
+ 'browser/desktop_notification_handler_stub.cc',
'browser/diagnostics/diagnostics_main.cc',
'browser/diagnostics/diagnostics_main.h',
'browser/diagnostics/diagnostics_model.cc',
@@ -1471,6 +1472,7 @@
'browser/notifications/notification_object_proxy.h',
'browser/notifications/notification_options_menu_model.cc',
'browser/notifications/notification_options_menu_model.h',
+ 'browser/notifications/notification_stubs.cc',
'browser/notifications/notification_ui_manager.cc',
'browser/notifications/notification_ui_manager.h',
'browser/notifications/notifications_prefs_cache.cc',
@@ -2100,6 +2102,8 @@
'browser/tabs/tab_strip_selection_model.h',
'browser/task_manager/task_manager.cc',
'browser/task_manager/task_manager.h',
+ 'browser/task_manager/task_manager_notification_resource_provider.cc',
+ 'browser/task_manager/task_manager_notification_resource_provider_stub.cc',
'browser/task_manager/task_manager_resource_providers.cc',
'browser/task_manager/task_manager_resource_providers.h',
'browser/themes/browser_theme_pack.cc',
@@ -4445,6 +4449,23 @@
['exclude', '^browser/ui/views/file_manager_dialogs.cc'],
]}
],
+ ['enable_desktop_notifications==0', {
+ 'sources/': [
+ ['exclude', '^browser/desktop_notification_handler.cc'],
+ ['exclude', '^browser/notifications/'],
+ ['exclude', '^browser/ui/cocoa/notifications/'],
+ ['exclude', '^browser/ui/gtk/notifications/'],
+ ['exclude', '^browser/ui/views/notifications/'],
+ ['include', '^browser/notifications/notification_stubs.cc'],
+ ['exclude', '^browser/task_manager/task_manager_notification_resource_provider.cc'],
+ ]
+ }, { # enable_desktop_notifications==0
+ 'sources!': [
+ 'browser/desktop_notification_handler_stub.cc',
+ 'browser/notifications/notification_stubs.cc',
+ 'browser/task_manager/task_manager_notification_resource_provider_stub.cc',
+ ]
+ }],
],
},
{

Powered by Google App Engine
This is Rietveld 408576698