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 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/memory/memory_pressure_listener.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "base/time.h" | 17 #include "base/time.h" |
17 #include "base/timer.h" | 18 #include "base/timer.h" |
18 #include "cc/debug/rendering_stats.h" | 19 #include "cc/debug/rendering_stats.h" |
19 #include "content/common/browser_rendering_stats.h" | 20 #include "content/common/browser_rendering_stats.h" |
20 #include "content/common/content_export.h" | 21 #include "content/common/content_export.h" |
21 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" | 22 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" |
22 #include "content/renderer/paint_aggregator.h" | 23 #include "content/renderer/paint_aggregator.h" |
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
712 ui::LatencyInfo latency_info_; | 713 ui::LatencyInfo latency_info_; |
713 | 714 |
714 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; | 715 base::WeakPtrFactory<RenderWidget> weak_ptr_factory_; |
715 | 716 |
716 DISALLOW_COPY_AND_ASSIGN(RenderWidget); | 717 DISALLOW_COPY_AND_ASSIGN(RenderWidget); |
717 }; | 718 }; |
718 | 719 |
719 } // namespace content | 720 } // namespace content |
720 | 721 |
721 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ | 722 #endif // CONTENT_RENDERER_RENDER_WIDGET_H_ |
OLD | NEW |