Chromium Code Reviews| Index: chrome/browser/printing/print_view_manager_delegate.h |
| diff --git a/chrome/browser/printing/print_view_manager_delegate.h b/chrome/browser/printing/print_view_manager_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b393031cbd88c2d14c03e4a73cebd98423a43940 |
| --- /dev/null |
| +++ b/chrome/browser/printing/print_view_manager_delegate.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright (c) 2011 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_PRINTING_PRINT_VIEW_MANAGER_DELEGATE_H_ |
| +#define CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_DELEGATE_H_ |
| +#pragma once |
| + |
| +namespace printing { |
| + |
| +// Interface for interaction between the PrintViewManager and a delegate. |
| +class PrintViewManagerDelegate { |
|
Lei Zhang
2011/06/21 01:54:46
What's your thought on printing::PrintViewManagerD
James Hawkins
2011/06/22 23:47:24
As per off-line discussion, leaving as is.
|
| + public: |
| + // Notifies the delegate that the print dialog was shown. |
| + virtual void OnPrintDialogShown() = 0; |
| + |
| + protected: |
| + virtual ~PrintViewManagerDelegate() {} |
| +}; |
| + |
| +} // namespace printing |
| + |
| +#endif // CHROME_BROWSER_PRINTING_PRINT_VIEW_MANAGER_DELEGATE_H_ |