| 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_UI_WEBUI_PRINT_PREVIEW_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_UI_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 // Indicates whether the source document can be modified. | 160 // Indicates whether the source document can be modified. |
| 161 bool source_is_modifiable_; | 161 bool source_is_modifiable_; |
| 162 | 162 |
| 163 // Store the initiator tab title, used for populating the print preview tab | 163 // Store the initiator tab title, used for populating the print preview tab |
| 164 // title. | 164 // title. |
| 165 string16 initiator_tab_title_; | 165 string16 initiator_tab_title_; |
| 166 | 166 |
| 167 // Keeps track of whether OnClosePrintPreviewTab() has been called or not. | 167 // Keeps track of whether OnClosePrintPreviewTab() has been called or not. |
| 168 bool tab_closed_; | 168 bool tab_closed_; |
| 169 | 169 |
| 170 // True if the user visited the page directly, false if it's a live UI. |
| 171 bool is_dummy_; |
| 172 |
| 170 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUI); | 173 DISALLOW_COPY_AND_ASSIGN(PrintPreviewUI); |
| 171 }; | 174 }; |
| 172 | 175 |
| 173 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_UI_H_ | 176 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_UI_H_ |
| OLD | NEW |