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 <queue> | 8 #include <queue> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
332 // If true, this means we told the RenderView that we're starting a network | 332 // If true, this means we told the RenderView that we're starting a network |
333 // request so that it can start the throbber. We will tell it again once the | 333 // request so that it can start the throbber. We will tell it again once the |
334 // document finishes loading. | 334 // document finishes loading. |
335 bool did_call_start_loading_; | 335 bool did_call_start_loading_; |
336 | 336 |
337 // If this is true, then don't scroll the plugin in response to DidChangeView | 337 // If this is true, then don't scroll the plugin in response to DidChangeView |
338 // messages. This will be true when the extension page is in the process of | 338 // messages. This will be true when the extension page is in the process of |
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 // If a print command comes in before the document has loaded, we set | |
343 // |delay_print_| to true and print after the document has loaded. | |
344 bool delay_print_; | |
345 | |
346 // The callback for receiving the password from the page. | 342 // The callback for receiving the password from the page. |
347 scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_; | 343 scoped_ptr<pp::CompletionCallbackWithOutput<pp::Var> > password_callback_; |
348 }; | 344 }; |
349 | 345 |
350 } // namespace chrome_pdf | 346 } // namespace chrome_pdf |
351 | 347 |
352 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 348 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
OLD | NEW |