summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_browser.gypi
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 19:41:22 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-27 19:41:22 +0000
commit9f1f1fcf77bf3e1a3073f35706efe8b739c0d5ae (patch)
tree0aa95d7bd1fba2c5e04ed5ff7a5b00de6072ae4f /chrome/chrome_browser.gypi
parentea12f6dda9e9e5b478200638089fe1513e37cd98 (diff)
downloadchromium_src-9f1f1fcf77bf3e1a3073f35706efe8b739c0d5ae.zip
chromium_src-9f1f1fcf77bf3e1a3073f35706efe8b739c0d5ae.tar.gz
chromium_src-9f1f1fcf77bf3e1a3073f35706efe8b739c0d5ae.tar.bz2
Move the handling of Desktop notification IPCs coming in from the renderer into a helper
object DesktopNotificationHandler whose lifetype is dependent on the TabContents which instantiates it. This object implements the WebNavigationObserver interface which enables it to handle IPCs on the UI thread. The DeskopNotificationHandler object is also instantiated by the ExtensionHost object as it expects the desktop notification IPC's to be handled. I also changed the desktop notification IPCs to carry the routing id as an additional parameter as the notification handling in the browser needs the routing id. BUG=70690 TEST=no change in functionality. Review URL: http://codereview.chromium.org/6340017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72861 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_browser.gypi')
-rw-r--r--chrome/chrome_browser.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 6c76195..226ab60 100644
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -826,6 +826,8 @@
'browser/default_encoding_combo_model.h',
'browser/defaults.cc',
'browser/defaults.h',
+ 'browser/desktop_notification_handler.cc',
+ 'browser/desktop_notification_handler.h',
'browser/device_orientation/accelerometer_mac.cc',
'browser/device_orientation/accelerometer_mac.h',
'browser/device_orientation/data_fetcher.h',