Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: chrome/browser/ui/pdf/pdf_tab_helper.h

Issue 232773008: More removal of GTK code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove base/ so I don't need another stamp. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_PDF_PDF_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_UI_PDF_PDF_TAB_HELPER_H_
6 #define CHROME_BROWSER_UI_PDF_PDF_TAB_HELPER_H_ 6 #define CHROME_BROWSER_UI_PDF_PDF_TAB_HELPER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 void OnUpdateContentRestrictions(int content_restrictions); 54 void OnUpdateContentRestrictions(int content_restrictions);
55 void OnModalPromptForPassword(const std::string& prompt, 55 void OnModalPromptForPassword(const std::string& prompt,
56 IPC::Message* reply_message); 56 IPC::Message* reply_message);
57 57
58 // The model for the confirmation prompt to open a PDF in Adobe Reader. 58 // The model for the confirmation prompt to open a PDF in Adobe Reader.
59 scoped_ptr<OpenPDFInReaderPromptDelegate> open_in_reader_prompt_; 59 scoped_ptr<OpenPDFInReaderPromptDelegate> open_in_reader_prompt_;
60 60
61 DISALLOW_COPY_AND_ASSIGN(PDFTabHelper); 61 DISALLOW_COPY_AND_ASSIGN(PDFTabHelper);
62 }; 62 };
63 63
64 #if !defined(TOOLKIT_GTK)
65 typedef base::Callback<void(bool /* success */, 64 typedef base::Callback<void(bool /* success */,
66 const base::string16& /* password */)> 65 const base::string16& /* password */)>
67 PasswordDialogClosedCallback; 66 PasswordDialogClosedCallback;
68 67
69 // Shows a tab-modal dialog to get a password for a PDF document. 68 // Shows a tab-modal dialog to get a password for a PDF document.
70 void ShowPDFPasswordDialog(content::WebContents* web_contents, 69 void ShowPDFPasswordDialog(content::WebContents* web_contents,
71 const base::string16& prompt, 70 const base::string16& prompt,
72 const PasswordDialogClosedCallback& callback); 71 const PasswordDialogClosedCallback& callback);
73 #endif // !TOOLKIT_GTK
74 72
75 #endif // CHROME_BROWSER_UI_PDF_PDF_TAB_HELPER_H_ 73 #endif // CHROME_BROWSER_UI_PDF_PDF_TAB_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/find_bar/find_bar_host_unittest_util.h ('k') | chrome/browser/ui/pdf/pdf_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698