app_shell: Add version number in user agent
[chromium-blink-merge.git] / chrome / browser / ui / pdf / open_pdf_in_reader_prompt_delegate.h
blobc39d66af82264734483cd92bd7e58366d9a21320
1 // Copyright (c) 2012 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_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_
6 #define CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_
8 #include "base/strings/string16.h"
10 namespace content {
11 struct LoadCommittedDetails;
14 class OpenPDFInReaderPromptDelegate {
15 public:
16 virtual ~OpenPDFInReaderPromptDelegate() {}
18 virtual base::string16 GetMessageText() const = 0;
20 virtual base::string16 GetAcceptButtonText() const = 0;
22 virtual base::string16 GetCancelButtonText() const = 0;
24 virtual bool ShouldExpire(
25 const content::LoadCommittedDetails& details) const = 0;
27 virtual void Accept() = 0;
29 virtual void Cancel() = 0;
32 #endif // CHROME_BROWSER_UI_PDF_OPEN_PDF_IN_READER_PROMPT_DELEGATE_H_