blob: 3c6383621187a28c34abd931dd67e306e92b7ac1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright 2012 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_COMMAND_UPDATER_DELEGATE_H_
#define CHROME_BROWSER_COMMAND_UPDATER_DELEGATE_H_
#include "webkit/glue/window_open_disposition.h"
// Implement this interface so that your object can execute commands when
// needed.
class CommandUpdaterDelegate {
public:
// Performs the action associated with the command with the specified ID and
// using the given disposition.
virtual void ExecuteCommandWithDisposition(
int id,
WindowOpenDisposition disposition) = 0;
protected:
virtual ~CommandUpdaterDelegate() {}
};
#endif // CHROME_BROWSER_COMMAND_UPDATER_DELEGATE_H_
|