zoom_event_manager_observer.h 647 B

1234567891011121314151617181920212223
  1. // Copyright 2015 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef COMPONENTS_ZOOM_ZOOM_EVENT_MANAGER_OBSERVER_H_
  5. #define COMPONENTS_ZOOM_ZOOM_EVENT_MANAGER_OBSERVER_H_
  6. namespace zoom {
  7. class ZoomEventManagerObserver {
  8. public:
  9. // TODO(wjmaclean): convert existing ZoomLevelChangedCallbacks to be
  10. // observers.
  11. virtual void OnZoomLevelChanged() {}
  12. virtual void OnDefaultZoomLevelChanged() {}
  13. protected:
  14. virtual ~ZoomEventManagerObserver() {}
  15. };
  16. } // namespace zoom
  17. #endif // COMPONENTS_ZOOM_ZOOM_EVENT_MANAGER_OBSERVER_H_