Index: chrome/browser/extensions/api/system_info/system_info_api.cc |
diff --git a/chrome/browser/extensions/api/system_info/system_info_api.cc b/chrome/browser/extensions/api/system_info/system_info_api.cc |
index 7c76083d5d157e224aed088b78e39ca736cf6c98..c77e2806cf365eae5ec6b412375925ce2bbe9460 100644 |
--- a/chrome/browser/extensions/api/system_info/system_info_api.cc |
+++ b/chrome/browser/extensions/api/system_info/system_info_api.cc |
@@ -66,9 +66,10 @@ class SystemInfoEventRouter : public gfx::DisplayObserver, |
private: |
// gfx::DisplayObserver: |
- virtual void OnDisplayBoundsChanged(const gfx::Display& display) OVERRIDE; |
virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; |
virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; |
+ virtual void OnDisplayMetricsChanged(const gfx::Display& display, |
+ DisplayObserver::DisplayMetrics metrics) OVERRIDE; |
jochen (gone - plz use gerrit)
2014/05/14 09:05:43
please clang-format
|
// RemovableStorageObserver implementation. |
virtual void OnRemovableStorageAttached( |
@@ -182,16 +183,16 @@ void SystemInfoEventRouter::OnRemovableStorageDetached( |
DispatchEvent(system_storage::OnDetached::kEventName, args.Pass()); |
} |
-void SystemInfoEventRouter::OnDisplayBoundsChanged( |
- const gfx::Display& display) { |
+void SystemInfoEventRouter::OnDisplayAdded(const gfx::Display& new_display) { |
OnDisplayChanged(); |
} |
-void SystemInfoEventRouter::OnDisplayAdded(const gfx::Display& new_display) { |
+void SystemInfoEventRouter::OnDisplayRemoved(const gfx::Display& old_display) { |
OnDisplayChanged(); |
} |
-void SystemInfoEventRouter::OnDisplayRemoved(const gfx::Display& old_display) { |
+void SystemInfoEventRouter::OnDisplayMetricsChanged( |
+ const gfx::Display&, DisplayObserver::DisplayMetrics) { |
jochen (gone - plz use gerrit)
2014/05/14 09:05:43
please do not omit parameter names
|
OnDisplayChanged(); |
} |