| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ |
| 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 public: | 94 public: |
| 95 explicit CloudPrintFlowHandler(const FilePath& path_to_file, | 95 explicit CloudPrintFlowHandler(const FilePath& path_to_file, |
| 96 const string16& print_job_title, | 96 const string16& print_job_title, |
| 97 const std::string& file_type); | 97 const std::string& file_type); |
| 98 virtual ~CloudPrintFlowHandler(); | 98 virtual ~CloudPrintFlowHandler(); |
| 99 | 99 |
| 100 // WebUIMessageHandler implementation. | 100 // WebUIMessageHandler implementation. |
| 101 virtual void RegisterMessages(); | 101 virtual void RegisterMessages(); |
| 102 | 102 |
| 103 // NotificationObserver implementation. | 103 // NotificationObserver implementation. |
| 104 virtual void Observe(NotificationType type, | 104 virtual void Observe(int type, |
| 105 const NotificationSource& source, | 105 const NotificationSource& source, |
| 106 const NotificationDetails& details); | 106 const NotificationDetails& details); |
| 107 | 107 |
| 108 // Callbacks from the page. | 108 // Callbacks from the page. |
| 109 void HandleShowDebugger(const ListValue* args); | 109 void HandleShowDebugger(const ListValue* args); |
| 110 void HandleSendPrintData(const ListValue* args); | 110 void HandleSendPrintData(const ListValue* args); |
| 111 void HandleSetPageParameters(const ListValue* args); | 111 void HandleSetPageParameters(const ListValue* args); |
| 112 | 112 |
| 113 virtual void SetDialogDelegate(CloudPrintHtmlDialogDelegate *delegate); | 113 virtual void SetDialogDelegate(CloudPrintHtmlDialogDelegate *delegate); |
| 114 void StoreDialogClientSize() const; | 114 void StoreDialogClientSize() const; |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 void CreateDialogImpl(const FilePath& path_to_file, | 184 void CreateDialogImpl(const FilePath& path_to_file, |
| 185 const string16& print_job_title, | 185 const string16& print_job_title, |
| 186 const std::string& file_type, | 186 const std::string& file_type, |
| 187 bool modal); | 187 bool modal); |
| 188 | 188 |
| 189 void Delete(const FilePath& path_to_file); | 189 void Delete(const FilePath& path_to_file); |
| 190 | 190 |
| 191 } // namespace internal_cloud_print_helpers | 191 } // namespace internal_cloud_print_helpers |
| 192 | 192 |
| 193 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ | 193 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_CLOUD_INTERNAL_H_ |
| OLD | NEW |