OLD | NEW |
| (Empty) |
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. | |
4 | |
5 #ifndef CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_H_ | |
6 #define CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_H_ | |
7 #pragma once | |
8 | |
9 namespace content { | |
10 class WebContents; | |
11 } | |
12 | |
13 // Delegate which is used by ToolbarModel class. | |
14 class ToolbarModelDelegate { | |
15 public: | |
16 // Returns active WebContents. | |
17 virtual content::WebContents* GetActiveWebContents() const = 0; | |
18 | |
19 protected: | |
20 virtual ~ToolbarModelDelegate() {} | |
21 }; | |
22 | |
23 #endif // CHROME_BROWSER_UI_TOOLBAR_TOOLBAR_MODEL_DELEGATE_H_ | |
OLD | NEW |