// Copyright 2012 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_COMMAND_UPDATER_H_ #define CHROME_BROWSER_COMMAND_UPDATER_H_ #include "base/time/time.h" #include "ui/base/window_open_disposition.h" class CommandObserver; //////////////////////////////////////////////////////////////////////////////// // // CommandUpdater interface // // This is the public API to manage the enabled state of a set of commands. // Observers register to listen to changes in this state so they can update // their presentation. // // The actual implementation of this is in CommandUpdaterImpl, this interface // exists purely so that classes using the actual CommandUpdaterImpl can // expose it through a safe public interface (as opposed to directly exposing // the private implementation details). // class CommandUpdater { … }; #endif // CHROME_BROWSER_COMMAND_UPDATER_H_