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 CONTENT_RENDERER_RENDER_WIDGET_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_H_ |
6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ | 6 #define CONTENT_RENDERER_RENDER_WIDGET_H_ |
7 #pragma once | |
8 | 7 |
9 #include <deque> | 8 #include <deque> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
15 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
16 #include "base/time.h" | 15 #include "base/time.h" |
17 #include "base/timer.h" | 16 #include "base/timer.h" |
(...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
555 WebKit::WebScreenInfo screen_info_; | 554 WebKit::WebScreenInfo screen_info_; |
556 | 555 |
557 // The device scale factor. This value is computed from the DPI entries in | 556 // The device scale factor. This value is computed from the DPI entries in |
558 // |screen_info_| on some platforms, and defaults to 1 on other platforms. | 557 // |screen_info_| on some platforms, and defaults to 1 on other platforms. |
559 float device_scale_factor_; | 558 float device_scale_factor_; |
560 | 559 |
561 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 560 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
562 }; | 561 }; |
563 | 562 |
564 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 563 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |