| Index: chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h
|
| diff --git a/chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h b/chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ab4a4c44ce9e75a8a8482afc00be66d3758a5371
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate.h
|
| @@ -0,0 +1,24 @@
|
| +// 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_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_DELEGATE_H_
|
| +#define CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_DELEGATE_H_
|
| +#pragma once
|
| +
|
| +class TabContentsWrapper;
|
| +
|
| +// Objects implement this interface to get notified about changes in the
|
| +// BlockedContentTabHelper and to provide necessary functionality.
|
| +class BlockedContentTabHelperDelegate {
|
| + public:
|
| + // If |source| is constrained, returns the tab containing it. Otherwise
|
| + // returns |source|.
|
| + virtual TabContentsWrapper* GetConstrainingContents(
|
| + TabContentsWrapper* source) = 0;
|
| +
|
| + protected:
|
| + virtual ~BlockedContentTabHelperDelegate();
|
| +};
|
| +
|
| +#endif // CHROME_BROWSER_UI_BLOCKED_CONTENT_BLOCKED_CONTENT_TAB_HELPER_DELEGATE_H_
|
|
|