blob: a93d642bfedf06c17ca8ed3c12eb226ddc4746c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// Copyright (c) 2012 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_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_
#define CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_
#pragma once
#include "base/compiler_specific.h"
#include "content/public/browser/web_contents_delegate.h"
// This class is the policy delegate for the rendered page in the intents
// inline disposition bubble.
class WebIntentInlineDispositionDelegate : public content::WebContentsDelegate {
public:
WebIntentInlineDispositionDelegate();
virtual ~WebIntentInlineDispositionDelegate();
// WebContentsDelegate implementation.
virtual bool IsPopupOrPanel(
const content::WebContents* source) const OVERRIDE;
virtual bool ShouldAddNavigationToHistory(
const history::HistoryAddPageArgs& add_page_args,
content::NavigationType navigation_type) OVERRIDE;
};
#endif // CHROME_BROWSER_UI_INTENTS_WEB_INTENT_INLINE_DISPOSITION_DELEGATE_H_
|