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

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

Issue 1306423004: [NetInfo] Browser changes to support connection.downlinkMax (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes Created 5 years, 3 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>
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 int parent_routing_id, 453 int parent_routing_id,
454 const FrameReplicationState& replicated_state); 454 const FrameReplicationState& replicated_state);
455 void OnSetZoomLevelForCurrentURL(const std::string& scheme, 455 void OnSetZoomLevelForCurrentURL(const std::string& scheme,
456 const std::string& host, 456 const std::string& host,
457 double zoom_level); 457 double zoom_level);
458 void OnCreateNewView(const ViewMsg_New_Params& params); 458 void OnCreateNewView(const ViewMsg_New_Params& params);
459 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id); 459 void OnTransferBitmap(const SkBitmap& bitmap, int resource_id);
460 #if defined(ENABLE_PLUGINS) 460 #if defined(ENABLE_PLUGINS)
461 void OnPurgePluginListCache(bool reload_pages); 461 void OnPurgePluginListCache(bool reload_pages);
462 #endif 462 #endif
463 void OnNetworkTypeChanged(net::NetworkChangeNotifier::ConnectionType type); 463 void OnNetworkConnectionChanged(
464 net::NetworkChangeNotifier::ConnectionType type,
465 double max_bandwidth_mbps);
464 void OnGetAccessibilityTree(); 466 void OnGetAccessibilityTree();
465 void OnUpdateTimezone(const std::string& zoneId); 467 void OnUpdateTimezone(const std::string& zoneId);
466 void OnMemoryPressure( 468 void OnMemoryPressure(
467 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level); 469 base::MemoryPressureListener::MemoryPressureLevel memory_pressure_level);
468 #if defined(OS_ANDROID) 470 #if defined(OS_ANDROID)
469 void OnSetWebKitSharedTimersSuspended(bool suspend); 471 void OnSetWebKitSharedTimersSuspended(bool suspend);
470 #endif 472 #endif
471 #if defined(OS_MACOSX) 473 #if defined(OS_MACOSX)
472 void OnUpdateScrollbarTheme( 474 void OnUpdateScrollbarTheme(
473 const ViewMsg_UpdateScrollbarTheme_Params& params); 475 const ViewMsg_UpdateScrollbarTheme_Params& params);
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl); 659 DISALLOW_COPY_AND_ASSIGN(RenderThreadImpl);
658 }; 660 };
659 661
660 #if defined(COMPILER_MSVC) 662 #if defined(COMPILER_MSVC)
661 #pragma warning(pop) 663 #pragma warning(pop)
662 #endif 664 #endif
663 665
664 } // namespace content 666 } // namespace content
665 667
666 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_ 668 #endif // CONTENT_RENDERER_RENDER_THREAD_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698