Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / ui / pdf / chrome_pdf_web_contents_helper_client.h
blob9d1df6d7c6436d5cf5c4955b11ccbd80ef6182bb
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 CHROME_BROWSER_UI_PDF_CHROME_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
6 #define CHROME_BROWSER_UI_PDF_CHROME_PDF_WEB_CONTENTS_HELPER_CLIENT_H_
8 #include "base/macros.h"
9 #include "components/pdf/browser/pdf_web_contents_helper_client.h"
11 class ChromePDFWebContentsHelperClient
12 : public pdf::PDFWebContentsHelperClient {
13 public:
14 ChromePDFWebContentsHelperClient();
15 ~ChromePDFWebContentsHelperClient() override;
17 private:
18 // pdf::PDFWebContentsHelperClient:
19 void UpdateLocationBar(content::WebContents* contents) override;
21 void UpdateContentRestrictions(content::WebContents* contents,
22 int content_restrictions) override;
24 void OnPDFHasUnsupportedFeature(content::WebContents* contents) override;
26 void OnSaveURL(content::WebContents* contents) override;
28 DISALLOW_COPY_AND_ASSIGN(ChromePDFWebContentsHelperClient);
31 #endif // CHROME_BROWSER_UI_PDF_CHROME_PDF_WEB_CONTENTS_HELPER_CLIENT_H_