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

Side by Side Diff: content/renderer/render_thread_impl.h

Issue 2532853002: Not for commint: Revert 6ed4d4373c5ce4743850df50f94b867240472033
Patch Set: Created 4 years 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/renderer/render_frame_impl.cc ('k') | content/renderer/render_thread_impl.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) 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_THREAD_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 int routing_id, 247 int routing_id,
248 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue, 248 scoped_refptr<FrameSwapMessageQueue> frame_swap_message_queue,
249 const GURL& url); 249 const GURL& url);
250 250
251 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry(); 251 AssociatedInterfaceRegistry* GetAssociatedInterfaceRegistry();
252 252
253 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest( 253 std::unique_ptr<cc::SwapPromise> RequestCopyOfOutputForLayoutTest(
254 int32_t routing_id, 254 int32_t routing_id,
255 std::unique_ptr<cc::CopyOutputRequest> request); 255 std::unique_ptr<cc::CopyOutputRequest> request);
256 256
257 void DoNotNotifyWebKitOfModalLoop();
258
257 // True if we are running layout tests. This currently disables forwarding 259 // True if we are running layout tests. This currently disables forwarding
258 // various status messages to the console, skips network error pages, and 260 // various status messages to the console, skips network error pages, and
259 // short circuits size update and focus events. 261 // short circuits size update and focus events.
260 bool layout_test_mode() const { return !!layout_test_deps_; } 262 bool layout_test_mode() const { return !!layout_test_deps_; }
261 void set_layout_test_dependencies( 263 void set_layout_test_dependencies(
262 std::unique_ptr<LayoutTestDependencies> deps) { 264 std::unique_ptr<LayoutTestDependencies> deps) {
263 layout_test_deps_ = std::move(deps); 265 layout_test_deps_ = std::move(deps);
264 } 266 }
265 267
266 RendererBlinkPlatformImpl* blink_platform_impl() const { 268 RendererBlinkPlatformImpl* blink_platform_impl() const {
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 595
594 // The count of hidden RenderWidgets running through this thread. 596 // The count of hidden RenderWidgets running through this thread.
595 int hidden_widget_count_; 597 int hidden_widget_count_;
596 598
597 // The current value of the idle notification timer delay. 599 // The current value of the idle notification timer delay.
598 int64_t idle_notification_delay_in_ms_; 600 int64_t idle_notification_delay_in_ms_;
599 601
600 // The number of idle handler calls that skip sending idle notifications. 602 // The number of idle handler calls that skip sending idle notifications.
601 int idle_notifications_to_skip_; 603 int idle_notifications_to_skip_;
602 604
605 bool notify_webkit_of_modal_loop_;
603 bool webkit_shared_timer_suspended_; 606 bool webkit_shared_timer_suspended_;
604 607
605 // Used to control layout test specific behavior. 608 // Used to control layout test specific behavior.
606 std::unique_ptr<LayoutTestDependencies> layout_test_deps_; 609 std::unique_ptr<LayoutTestDependencies> layout_test_deps_;
607 610
608 // Timer that periodically calls IdleHandler. 611 // Timer that periodically calls IdleHandler.
609 base::RepeatingTimer idle_timer_; 612 base::RepeatingTimer idle_timer_;
610 613
611 // The channel from the renderer process to the GPU process. 614 // The channel from the renderer process to the GPU process.
612 scoped_refptr<gpu::GpuChannelHost> gpu_channel_; 615 scoped_refptr<gpu::GpuChannelHost> gpu_channel_;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 740 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
738 }; 741 };
739 742
740 #if defined(COMPILER_MSVC) 743 #if defined(COMPILER_MSVC)
741 #pragma warning(pop) 744 #pragma warning(pop)
742 #endif 745 #endif
743 746
744 } // namespace content 747 } // namespace content
745 748
746 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 749 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698