summaryrefslogtreecommitdiffstats
path: root/chrome/browser/undo/undo_manager_observer.h
blob: c61aea25ba644dea4d00522e56d6cc97401641de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UNDO_UNDO_MANAGER_OBSERVER_H_
#define CHROME_BROWSER_UNDO_UNDO_MANAGER_OBSERVER_H_

// Observer for the UndoManager.
class UndoManagerObserver {
 public:
  // Invoked when the internal state of the UndoManager has changed.
  virtual void OnUndoManagerStateChange() = 0;

 protected:
  virtual ~UndoManagerObserver() {}
};

#endif  // CHROME_BROWSER_UNDO_UNDO_MANAGER_OBSERVER_H_