| OLD | NEW |
| 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 PDF_OUT_OF_PROCESS_INSTANCE_H_ | 5 #ifndef PDF_OUT_OF_PROCESS_INSTANCE_H_ |
| 6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_ | 6 #define PDF_OUT_OF_PROCESS_INSTANCE_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 #include <string.h> | 9 #include <string.h> |
| 10 | 10 |
| (...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 int top_toolbar_height_; | 364 int top_toolbar_height_; |
| 365 | 365 |
| 366 // The current state of accessibility: either off, enabled but waiting | 366 // The current state of accessibility: either off, enabled but waiting |
| 367 // for the document to load, or fully loaded. | 367 // for the document to load, or fully loaded. |
| 368 enum AccessibilityState { | 368 enum AccessibilityState { |
| 369 ACCESSIBILITY_STATE_OFF, | 369 ACCESSIBILITY_STATE_OFF, |
| 370 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. | 370 ACCESSIBILITY_STATE_PENDING, // Enabled but waiting for doc to load. |
| 371 ACCESSIBILITY_STATE_LOADED | 371 ACCESSIBILITY_STATE_LOADED |
| 372 } accessibility_state_; | 372 } accessibility_state_; |
| 373 | 373 |
| 374 // True if the plugin is loaded in print preview, otherwise false. |
| 375 bool is_print_preview_; |
| 376 |
| 374 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); | 377 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); |
| 375 }; | 378 }; |
| 376 | 379 |
| 377 } // namespace chrome_pdf | 380 } // namespace chrome_pdf |
| 378 | 381 |
| 379 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 382 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
| OLD | NEW |