1// Copyright (c) 2010 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 CHROME_BROWSER_AUTOMATION_AUTOMATION_WINDOW_TRACKER_H_
6#define CHROME_BROWSER_AUTOMATION_AUTOMATION_WINDOW_TRACKER_H_
7#pragma once
8
9#include "build/build_config.h"
10#include "chrome/browser/automation/automation_resource_tracker.h"
11#include "ui/gfx/native_widget_types.h"
12
13class AutomationWindowTracker
14    : public AutomationResourceTracker<gfx::NativeWindow> {
15 public:
16  explicit AutomationWindowTracker(IPC::Message::Sender* automation);
17  virtual ~AutomationWindowTracker();
18
19  virtual void AddObserver(gfx::NativeWindow resource);
20  virtual void RemoveObserver(gfx::NativeWindow resource);
21};
22
23#endif  // CHROME_BROWSER_AUTOMATION_AUTOMATION_WINDOW_TRACKER_H_
24