summaryrefslogtreecommitdiffstats
path: root/chrome/browser/automation/automation_omnibox_tracker.h
blob: f0fda9d040fc3c40e652532cb0f83a238cc124a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2011 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_AUTOMATION_AUTOMATION_OMNIBOX_TRACKER_H_
#define CHROME_BROWSER_AUTOMATION_AUTOMATION_OMNIBOX_TRACKER_H_
#pragma once

#include "chrome/browser/automation/automation_resource_tracker.h"
#include "chrome/browser/ui/omnibox/omnibox_view.h"

class AutomationOmniboxTracker
    : public AutomationResourceTracker<OmniboxView*> {
 public:
  explicit AutomationOmniboxTracker(IPC::Message::Sender* automation);
  virtual ~AutomationOmniboxTracker();
  virtual void AddObserver(OmniboxView* resource);
  virtual void RemoveObserver(OmniboxView* resource);
};

#endif  // CHROME_BROWSER_AUTOMATION_AUTOMATION_OMNIBOX_TRACKER_H_