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

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

Issue 298803006: NetInfo V3 support for browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated comment in network_change_notifier Created 6 years, 7 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 #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 <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/memory/memory_pressure_listener.h" 12 #include "base/memory/memory_pressure_listener.h"
13 #include "base/metrics/user_metrics_action.h" 13 #include "base/metrics/user_metrics_action.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/strings/string16.h" 15 #include "base/strings/string16.h"
16 #include "base/threading/thread_checker.h" 16 #include "base/threading/thread_checker.h"
17 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
18 #include "build/build_config.h" 18 #include "build/build_config.h"
19 #include "content/child/child_thread.h" 19 #include "content/child/child_thread.h"
20 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
21 #include "content/common/gpu/client/gpu_channel_host.h" 21 #include "content/common/gpu/client/gpu_channel_host.h"
22 #include "content/public/renderer/render_thread.h" 22 #include "content/public/renderer/render_thread.h"
23 #include "net/base/network_change_notifier.h"
24 #include "third_party/WebKit/public/platform/WebConnectionType.h"
23 #include "ui/gfx/native_widget_types.h" 25 #include "ui/gfx/native_widget_types.h"
24 26
25 #if defined(OS_MACOSX) 27 #if defined(OS_MACOSX)
26 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" 28 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h"
27 #endif 29 #endif
28 30
29 class GrContext; 31 class GrContext;
30 class SkBitmap; 32 class SkBitmap;
31 struct ViewMsg_New_Params; 33 struct ViewMsg_New_Params;
32 struct WorkerProcessMsg_CreateWorker_Params; 34 struct WorkerProcessMsg_CreateWorker_Params;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 class DomStorageDispatcher; 83 class DomStorageDispatcher;
82 class EmbeddedWorkerDispatcher; 84 class EmbeddedWorkerDispatcher;
83 class GamepadSharedMemoryReader; 85 class GamepadSharedMemoryReader;
84 class GpuChannelHost; 86 class GpuChannelHost;
85 class IndexedDBDispatcher; 87 class IndexedDBDispatcher;
86 class InputEventFilter; 88 class InputEventFilter;
87 class InputHandlerManager; 89 class InputHandlerManager;
88 class MediaStreamCenter; 90 class MediaStreamCenter;
89 class PeerConnectionDependencyFactory; 91 class PeerConnectionDependencyFactory;
90 class MidiMessageFilter; 92 class MidiMessageFilter;
93 class NetInfoDispatcher;
91 class P2PSocketDispatcher; 94 class P2PSocketDispatcher;
92 class PeerConnectionTracker; 95 class PeerConnectionTracker;
93 class RendererDemuxerAndroid; 96 class RendererDemuxerAndroid;
94 class RendererWebKitPlatformSupportImpl; 97 class RendererWebKitPlatformSupportImpl;
95 class RenderProcessObserver; 98 class RenderProcessObserver;
96 class VideoCaptureImplManager; 99 class VideoCaptureImplManager;
97 class WebGraphicsContext3DCommandBufferImpl; 100 class WebGraphicsContext3DCommandBufferImpl;
98 class WebRTCIdentityService; 101 class WebRTCIdentityService;
99 102
100 // The RenderThreadImpl class represents a background thread where RenderView 103 // The RenderThreadImpl class represents a background thread where RenderView
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE; 425 mojo::ScopedMessagePipeHandle message_pipe) OVERRIDE;
423 426
424 void Init(); 427 void Init();
425 428
426 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 429 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
427 const std::string& host, 430 const std::string& host,
428 double zoom_level); 431 double zoom_level);
429 void OnCreateNewView(const ViewMsg_New_Params& params); 432 void OnCreateNewView(const ViewMsg_New_Params& params);
430 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 433 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
431 void OnPurgePluginListCache(bool reload_pages); 434 void OnPurgePluginListCache(bool reload_pages);
432 void OnNetworkStateChanged(bool online); 435 void OnNetworkStateChanged(bool online,
436 net::NetworkChangeNotifier::ConnectionType type);
433 void OnGetAccessibilityTree(); 437 void OnGetAccessibilityTree();
434 void OnTempCrashWithData(const GURL& data); 438 void OnTempCrashWithData(const GURL& data);
435 void OnUpdateTimezone(); 439 void OnUpdateTimezone();
436 void OnMemoryPressure( 440 void OnMemoryPressure(
437 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); 441 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level);
438 #if defined(OS_ANDROID) 442 #if defined(OS_ANDROID)
439 void OnSetWebKitSharedTimersSuspended(bool suspend); 443 void OnSetWebKitSharedTimersSuspended(bool suspend);
440 #endif 444 #endif
441 #if defined(OS_MACOSX) 445 #if defined(OS_MACOSX)
442 void OnUpdateScrollbarTheme(float initial_button_delay, 446 void OnUpdateScrollbarTheme(float initial_button_delay,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 bool is_distance_field_text_enabled_; 566 bool is_distance_field_text_enabled_;
563 bool is_zero_copy_enabled_; 567 bool is_zero_copy_enabled_;
564 bool is_one_copy_enabled_; 568 bool is_one_copy_enabled_;
565 569
566 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 570 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
567 }; 571 };
568 572
569 } // namespace content 573 } // namespace content
570 574
571 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 575 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698