NaCl docs: add sanitizers to GSoC ideas
[chromium-blink-merge.git] / chrome / browser / ui / browser_toolbar_model_delegate.h
bloba6d3c4cd8c14ff481d732390cafaeb654c2752ba
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_BROWSER_TOOLBAR_MODEL_DELEGATE_H_
6 #define CHROME_BROWSER_UI_BROWSER_TOOLBAR_MODEL_DELEGATE_H_
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/toolbar/toolbar_model_delegate.h"
12 class Browser;
14 // Implementation of ToolbarModelDelegate which uses an instance of
15 // Browser in order to fulfil its duties.
16 class BrowserToolbarModelDelegate : public ToolbarModelDelegate {
17 public:
18 explicit BrowserToolbarModelDelegate(Browser* browser);
19 ~BrowserToolbarModelDelegate() override;
21 // ToolbarModelDelegate:
22 content::WebContents* GetActiveWebContents() const override;
24 private:
25 Browser* browser_;
27 DISALLOW_COPY_AND_ASSIGN(BrowserToolbarModelDelegate);
30 #endif // CHROME_BROWSER_UI_BROWSER_TOOLBAR_MODEL_DELEGATE_H_