1 // Copyright 2014 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 COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
6 #define COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
8 #include "base/callback.h"
9 #include "base/strings/string16.h"
10 #include "ipc/ipc_message.h"
18 class PDFWebContentsHelperClient
{
20 virtual ~PDFWebContentsHelperClient() {}
22 virtual void UpdateLocationBar(content::WebContents
* contents
) = 0;
24 virtual void UpdateContentRestrictions(content::WebContents
* contents
,
25 int content_restrictions
) = 0;
27 virtual void OnPDFHasUnsupportedFeature(content::WebContents
* contents
) = 0;
29 virtual void OnSaveURL(content::WebContents
* contents
) = 0;
34 #endif // COMPONENTS_PDF_BROWSER_PDF_WEB_CONTENTS_HELPER_CLIENT_H_