| Index: chrome/browser/ui/gtk/browser_window_gtk.cc
|
| ===================================================================
|
| --- chrome/browser/ui/gtk/browser_window_gtk.cc (revision 91880)
|
| +++ chrome/browser/ui/gtk/browser_window_gtk.cc (working copy)
|
| @@ -1161,11 +1161,11 @@
|
| new DownloadInProgressDialogGtk(browser());
|
| }
|
|
|
| -void BrowserWindowGtk::Observe(NotificationType type,
|
| +void BrowserWindowGtk::Observe(int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - switch (type.value) {
|
| - case NotificationType::PREF_CHANGED: {
|
| + switch (type) {
|
| + case chrome::PREF_CHANGED: {
|
| std::string* pref_name = Details<std::string>(details).ptr();
|
| if (*pref_name == prefs::kUseCustomChromeFrame) {
|
| UpdateCustomFrame();
|
| @@ -1508,7 +1508,7 @@
|
|
|
| // Empty TabStripModel, it's now safe to allow the Window to be closed.
|
| NotificationService::current()->Notify(
|
| - NotificationType::WINDOW_CLOSED,
|
| + chrome::WINDOW_CLOSED,
|
| Source<GtkWindow>(window_),
|
| NotificationService::NoDetails());
|
| return true;
|
|
|