Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Side by Side Diff: content/browser/compositor/image_transport_factory.h

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/DEPS ('k') | content/browser/compositor/offscreen_browser_compositor_output_surface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_
6 #define CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ 6 #define CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "gpu/ipc/common/surface_handle.h" 14 #include "gpu/ipc/common/surface_handle.h"
15 #include "ui/events/latency_info.h"
16 #include "ui/gfx/native_widget_types.h" 15 #include "ui/gfx/native_widget_types.h"
16 #include "ui/latency/latency_info.h"
17 17
18 namespace gfx { 18 namespace gfx {
19 enum class SwapResult; 19 enum class SwapResult;
20 } 20 }
21 21
22 namespace ui { 22 namespace ui {
23 class Compositor; 23 class Compositor;
24 class ContextFactory; 24 class ContextFactory;
25 class ContextFactoryPrivate; 25 class ContextFactoryPrivate;
26 } 26 }
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // completed. This ensures that content and frames intended for the old 81 // completed. This ensures that content and frames intended for the old
82 // NSView will not flash in the new NSView. 82 // NSView will not flash in the new NSView.
83 virtual void SetCompositorSuspendedForRecycle(ui::Compositor* compositor, 83 virtual void SetCompositorSuspendedForRecycle(ui::Compositor* compositor,
84 bool suspended) = 0; 84 bool suspended) = 0;
85 #endif 85 #endif
86 }; 86 };
87 87
88 } // namespace content 88 } // namespace content
89 89
90 #endif // CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_ 90 #endif // CONTENT_BROWSER_COMPOSITOR_IMAGE_TRANSPORT_FACTORY_H_
OLDNEW
« no previous file with comments | « content/DEPS ('k') | content/browser/compositor/offscreen_browser_compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698