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 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 bool did_call_start_loading_; | 326 bool did_call_start_loading_; |
327 | 327 |
328 // If this is true, then don't scroll the plugin in response to DidChangeView | 328 // If this is true, then don't scroll the plugin in response to DidChangeView |
329 // messages. This will be true when the extension page is in the process of | 329 // messages. This will be true when the extension page is in the process of |
330 // zooming the plugin so that flickering doesn't occur while zooming. | 330 // zooming the plugin so that flickering doesn't occur while zooming. |
331 bool stop_scrolling_; | 331 bool stop_scrolling_; |
332 | 332 |
333 // The background color of the PDF viewer. | 333 // The background color of the PDF viewer. |
334 uint32 background_color_; | 334 uint32 background_color_; |
335 | 335 |
336 // The blank space above the first page of the document reserved for the | |
337 // toolbar. | |
338 int top_toolbar_height_; | |
339 | |
340 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); | 336 DISALLOW_COPY_AND_ASSIGN(OutOfProcessInstance); |
341 }; | 337 }; |
342 | 338 |
343 } // namespace chrome_pdf | 339 } // namespace chrome_pdf |
344 | 340 |
345 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ | 341 #endif // PDF_OUT_OF_PROCESS_INSTANCE_H_ |
OLD | NEW |