summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/pdf/pdf_unsupported_feature.h
blob: 74722d085280f308967498d849616e91bbe24ba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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_PDF_PDF_UNSUPPORTED_FEATURE_H_
#define CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_

#include "base/basictypes.h"

namespace content {
class WebContents;
}

// Call this when a tab encounters a PDF that has features which our internal
// viewer doesn't support.  Will take care of puting up an infobar to inform the
// user and launch Reader if they choose.  If Reader is out of date, it will put
// up an interstitial.
void PDFHasUnsupportedFeature(content::WebContents* web_contents);

#endif  // CHROME_BROWSER_UI_PDF_PDF_UNSUPPORTED_FEATURE_H_