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

Side by Side Diff: content/renderer/render_view_browsertest.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
OLDNEW
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 #include <stddef.h> 5 #include <stddef.h>
6 #include <stdint.h> 6 #include <stdint.h>
7 #include <tuple> 7 #include <tuple>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 79 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
80 #include "third_party/WebKit/public/web/WebScriptSource.h" 80 #include "third_party/WebKit/public/web/WebScriptSource.h"
81 #include "third_party/WebKit/public/web/WebSettings.h" 81 #include "third_party/WebKit/public/web/WebSettings.h"
82 #include "third_party/WebKit/public/web/WebView.h" 82 #include "third_party/WebKit/public/web/WebView.h"
83 #include "third_party/WebKit/public/web/WebWindowFeatures.h" 83 #include "third_party/WebKit/public/web/WebWindowFeatures.h"
84 #include "ui/events/base_event_utils.h" 84 #include "ui/events/base_event_utils.h"
85 #include "ui/events/event.h" 85 #include "ui/events/event.h"
86 #include "ui/events/keycodes/keyboard_codes.h" 86 #include "ui/events/keycodes/keyboard_codes.h"
87 #include "ui/gfx/codec/jpeg_codec.h" 87 #include "ui/gfx/codec/jpeg_codec.h"
88 #include "ui/gfx/range/range.h" 88 #include "ui/gfx/range/range.h"
89 #include "ui/native_theme/native_theme_switches.h" 89 #include "ui/native_theme/native_theme_features.h"
90 90
91 #if defined(OS_WIN) 91 #if defined(OS_WIN)
92 #include "base/win/windows_version.h" 92 #include "base/win/windows_version.h"
93 #endif 93 #endif
94 94
95 #if defined(USE_AURA) && defined(USE_X11) 95 #if defined(USE_AURA) && defined(USE_X11)
96 #include <X11/Xlib.h> 96 #include <X11/Xlib.h>
97 #include "base/memory/ptr_util.h" 97 #include "base/memory/ptr_util.h"
98 #include "ui/events/event_constants.h" 98 #include "ui/events/event_constants.h"
99 #include "ui/events/keycodes/keyboard_code_conversion.h" 99 #include "ui/events/keycodes/keyboard_code_conversion.h"
(...skipping 2495 matching lines...) Expand 10 before | Expand all | Expand 10 after
2595 ExpectPauseAndResume(3); 2595 ExpectPauseAndResume(3);
2596 blink::WebScriptSource source2( 2596 blink::WebScriptSource source2(
2597 WebString::FromUTF8("function func2() { func1(); }; func2();")); 2597 WebString::FromUTF8("function func2() { func1(); }; func2();"));
2598 frame()->GetWebFrame()->ExecuteScriptInIsolatedWorld(17, &source2, 1); 2598 frame()->GetWebFrame()->ExecuteScriptInIsolatedWorld(17, &source2, 1);
2599 2599
2600 EXPECT_FALSE(IsPaused()); 2600 EXPECT_FALSE(IsPaused());
2601 Detach(); 2601 Detach();
2602 } 2602 }
2603 2603
2604 } // namespace content 2604 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.cc ('k') | third_party/WebKit/LayoutTests/VirtualTestSuites » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698