1st step to implement notification panel for chromeos
- re-using views implementation, but removed layout related code
- add NotificationPanel
- added SetSize in BalloonViewHost. I needed this because I removed animation code and NativeViewHostGtk doesn't know about render view. I need to think a bit more to find out how to deal wit this.
It's using existing balloon collection, but we may need one for chromeos (or may not).
BUG=33306
TEST=none
Review URL: http://codereview.chromium.org/572018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38255 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi
index 6b6ddbd..133b951 100755
--- a/chrome/chrome_browser.gypi
+++ b/chrome/chrome_browser.gypi
@@ -255,6 +255,10 @@
'browser/chrome_plugin_host.h',
'browser/chrome_thread.cc',
'browser/chrome_thread.h',
+ 'browser/chromeos/notifications/balloon_view.h',
+ 'browser/chromeos/notifications/balloon_view.cc',
+ 'browser/chromeos/notifications/notification_panel.h',
+ 'browser/chromeos/notifications/notification_panel.cc',
'browser/chromeos/browser_notification_observers.cc',
'browser/chromeos/browser_extenders.cc',
'browser/chromeos/browser_view.cc',
@@ -2429,8 +2433,6 @@
['include', '^browser/views/page_info_window_view.cc'],
['include', '^browser/views/notifications/balloon_view_host.cc'],
['include', '^browser/views/notifications/balloon_view_host.h'],
- ['include', '^browser/views/notifications/balloon_view.cc'],
- ['include', '^browser/views/notifications/balloon_view.h'],
# Not necessary unless you're trying to build ChromeOS+views.
#['include', '^browser/views/panels/panel_scroller.cc'],
#['include', '^browser/views/panels/panel_scroller.h'],
@@ -2568,6 +2570,8 @@
['include', '^browser/views/frame/standard_extender.cc'],
['include', '^browser/gtk/external_protocol_dialog_gtk.cc'],
['include', '^browser/gtk/external_protocol_dialog_gtk.h'],
+ ['include', '^browser/views/notifications/balloon_view.cc'],
+ ['include', '^browser/views/notifications/balloon_view.h'],
],
}],
['OS=="linux" and chromeos==0 and toolkit_views==0', {