Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / toolbar / toolbar_model_delegate.h
blobea181b95a50802d5c859334c9e0aaa4028c04112
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_H_
8 namespace content {
9 class WebContents;
12 // Delegate which is used by ToolbarModel class.
13 class ToolbarModelDelegate {
14 public:
15 // Returns active WebContents.
16 virtual content::WebContents* GetActiveWebContents() const = 0;
18 protected:
19 virtual ~ToolbarModelDelegate() {}
22 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_H_