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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/callback.h" | 11 #include "base/callback.h" |
13 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
14 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
15 #include "content/browser/renderer_host/image_transport_factory.h" | 14 #include "content/browser/renderer_host/image_transport_factory.h" |
16 #include "content/browser/renderer_host/render_widget_host_view_base.h" | 15 #include "content/browser/renderer_host/render_widget_host_view_base.h" |
17 #include "content/common/content_export.h" | 16 #include "content/common/content_export.h" |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 // These locks are the ones waiting for a frame to be drawn. | 335 // These locks are the ones waiting for a frame to be drawn. |
337 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; | 336 std::vector<linked_ptr<ResizeLock> > locks_pending_draw_; |
338 | 337 |
339 // This lock is for waiting for a front surface to become available to draw. | 338 // This lock is for waiting for a front surface to become available to draw. |
340 scoped_refptr<aura::CompositorLock> released_front_lock_; | 339 scoped_refptr<aura::CompositorLock> released_front_lock_; |
341 | 340 |
342 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); | 341 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); |
343 }; | 342 }; |
344 | 343 |
345 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ | 344 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ |
OLD | NEW |