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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 2806263005: Convert the overlay scrollbar flag to use FeatureList (Closed)
Patch Set: move feature_list_ change to SetUpCommandLine 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/child/runtime_features.cc ('k') | content/renderer/render_view_browsertest.cc » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "content/renderer/gpu/render_widget_compositor.h" 5 #include "content/renderer/gpu/render_widget_compositor.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <cmath> 9 #include <cmath>
10 #include <limits> 10 #include <limits>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" 60 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h"
61 #include "third_party/WebKit/public/platform/WebCompositeAndReadbackAsyncCallbac k.h" 61 #include "third_party/WebKit/public/platform/WebCompositeAndReadbackAsyncCallbac k.h"
62 #include "third_party/WebKit/public/platform/WebCompositorMutatorClient.h" 62 #include "third_party/WebKit/public/platform/WebCompositorMutatorClient.h"
63 #include "third_party/WebKit/public/platform/WebLayoutAndPaintAsyncCallback.h" 63 #include "third_party/WebKit/public/platform/WebLayoutAndPaintAsyncCallback.h"
64 #include "third_party/WebKit/public/platform/WebSize.h" 64 #include "third_party/WebKit/public/platform/WebSize.h"
65 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h" 65 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul er.h"
66 #include "third_party/WebKit/public/web/WebKit.h" 66 #include "third_party/WebKit/public/web/WebKit.h"
67 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 67 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
68 #include "third_party/WebKit/public/web/WebSelection.h" 68 #include "third_party/WebKit/public/web/WebSelection.h"
69 #include "ui/gl/gl_switches.h" 69 #include "ui/gl/gl_switches.h"
70 #include "ui/native_theme/native_theme_switches.h" 70 #include "ui/native_theme/native_theme_features.h"
71 #include "ui/native_theme/overlay_scrollbar_constants_aura.h" 71 #include "ui/native_theme/overlay_scrollbar_constants_aura.h"
72 72
73 namespace base { 73 namespace base {
74 class Value; 74 class Value;
75 } 75 }
76 76
77 namespace cc { 77 namespace cc {
78 class Layer; 78 class Layer;
79 } 79 }
80 80
(...skipping 1069 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 void RenderWidgetCompositor::SetContentSourceId(uint32_t id) { 1150 void RenderWidgetCompositor::SetContentSourceId(uint32_t id) {
1151 layer_tree_host_->SetContentSourceId(id); 1151 layer_tree_host_->SetContentSourceId(id);
1152 } 1152 }
1153 1153
1154 void RenderWidgetCompositor::SetLocalSurfaceId( 1154 void RenderWidgetCompositor::SetLocalSurfaceId(
1155 const cc::LocalSurfaceId& local_surface_id) { 1155 const cc::LocalSurfaceId& local_surface_id) {
1156 layer_tree_host_->SetLocalSurfaceId(local_surface_id); 1156 layer_tree_host_->SetLocalSurfaceId(local_surface_id);
1157 } 1157 }
1158 1158
1159 } // namespace content 1159 } // namespace content
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698