Home | History | Annotate | Download | only in base
      1 // Copyright (c) 2012 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 
      5 #ifndef UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_
      6 #define UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_
      7 
      8 #include "ui/base/ui_export.h"
      9 
     10 namespace ui {
     11 
     12 // This interface should be implemented by classes that want to be notified
     13 // when the work area has changed due to something like screen resolution or
     14 // taskbar changes.
     15 class UI_EXPORT WorkAreaWatcherObserver {
     16  public:
     17   virtual void WorkAreaChanged() = 0;
     18 
     19  protected:
     20   virtual ~WorkAreaWatcherObserver() {}
     21 };
     22 
     23 }  // namespace ui
     24 
     25 #endif  // UI_BASE_WORK_AREA_WATCHER_OBSERVER_H_
     26