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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
339 // zooming the plugin so that flickering doesn't occur while zooming. | 339 // zooming the plugin so that flickering doesn't occur while zooming. |
340 bool stop_scrolling_; | 340 bool stop_scrolling_; |
341 | 341 |
342 // The background color of the PDF viewer. | 342 // The background color of the PDF viewer. |
343 uint32_t background_color_; | 343 uint32_t background_color_; |
344 | 344 |
345 // The blank space above the first page of the document reserved for the | 345 // The blank space above the first page of the document reserved for the |
346 // toolbar. | 346 // toolbar. |
347 int top_toolbar_height_; | 347 int top_toolbar_height_; |
348 | 348 |
349 // Whether we should send accessibility information about the loaded PDF. | 349 // Whether we should send accessibility information about the PDF when |
350 // it loads. | |
350 bool accessibility_enabled_; | 351 bool accessibility_enabled_; |
351 | 352 |
353 // Whether we've already started sending accessibility information about | |
354 // the PDF. | |
355 bool accessibility_loaded_; | |
Lei Zhang
2016/06/09 22:19:05
Are all 4 combinations of the two a11y variables r
dmazzoni
2016/06/10 17:44:52
Good idea, take a look.
| |
356 | |
352 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); | 357 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); |
353 }; | 358 }; |
354 | 359 |
355 } // namespace chrome_pdf | 360 } // namespace chrome_pdf |
356 | 361 |
357 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 362 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
OLD | NEW |