Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: pdf/out_of_process_instance.h

Issue 2050973003: PDF accessibility tweaks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@pdf_1_hastreedata
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | pdf/out_of_process_instance.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | pdf/out_of_process_instance.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698