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

Side by Side Diff: pdf/out_of_process_instance.h

Issue 2486683002: Improve print preview checks in the PDF plugin (Closed)
Patch Set: Improve print preview checks in the PDF plugin Created 4 years, 1 month 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') | no next file with comments »
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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « no previous file | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698