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

Side by Side Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 780133002: Add optimization for CHROMIUM_subscribe_uniform extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: piman@ review 2 Created 6 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
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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 scoped_ptr<InputRouter> input_router_; 815 scoped_ptr<InputRouter> input_router_;
816 816
817 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_; 817 scoped_ptr<TimeoutMonitor> hang_monitor_timeout_;
818 818
819 #if defined(OS_WIN) 819 #if defined(OS_WIN)
820 std::list<HWND> dummy_windows_for_activation_; 820 std::list<HWND> dummy_windows_for_activation_;
821 #endif 821 #endif
822 822
823 RenderWidgetHostLatencyTracker latency_tracker_; 823 RenderWidgetHostLatencyTracker latency_tracker_;
824 824
825 bool subscribe_uniform_enabled_;
826
827 int next_browser_snapshot_id_; 825 int next_browser_snapshot_id_;
828 typedef std::map<int, 826 typedef std::map<int,
829 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap; 827 base::Callback<void(const unsigned char*, size_t)> > PendingSnapshotMap;
830 PendingSnapshotMap pending_browser_snapshots_; 828 PendingSnapshotMap pending_browser_snapshots_;
831 829
832 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; 830 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_;
833 831
834 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); 832 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl);
835 }; 833 };
836 834
837 } // namespace content 835 } // namespace content
838 836
839 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ 837 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698