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

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

Issue 1016183002: Revert of Store the callstack of the IPC sender of ViewMsg_New (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_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_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 } 196 }
197 197
198 MouseLockDispatcher* mouse_lock_dispatcher() { 198 MouseLockDispatcher* mouse_lock_dispatcher() {
199 return mouse_lock_dispatcher_; 199 return mouse_lock_dispatcher_;
200 } 200 }
201 201
202 HistoryController* history_controller() { 202 HistoryController* history_controller() {
203 return history_controller_.get(); 203 return history_controller_.get();
204 } 204 }
205 205
206 const std::vector<unsigned long>& debug_info() { return debug_info_; }
207
208 // Functions to add and remove observers for this object. 206 // Functions to add and remove observers for this object.
209 void AddObserver(RenderViewObserver* observer); 207 void AddObserver(RenderViewObserver* observer);
210 void RemoveObserver(RenderViewObserver* observer); 208 void RemoveObserver(RenderViewObserver* observer);
211 209
212 // Returns the StatsCollectionObserver associated with this view, or NULL 210 // Returns the StatsCollectionObserver associated with this view, or NULL
213 // if one wasn't created; 211 // if one wasn't created;
214 StatsCollectionObserver* GetStatsCollectionObserver() { 212 StatsCollectionObserver* GetStatsCollectionObserver() {
215 return stats_collection_observer_.get(); 213 return stats_collection_observer_.get();
216 } 214 }
217 215
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 1022
1025 // NOTE: stats_collection_observer_ should be the last members because their 1023 // NOTE: stats_collection_observer_ should be the last members because their
1026 // constructors call the AddObservers method of RenderViewImpl. 1024 // constructors call the AddObservers method of RenderViewImpl.
1027 scoped_ptr<StatsCollectionObserver> stats_collection_observer_; 1025 scoped_ptr<StatsCollectionObserver> stats_collection_observer_;
1028 1026
1029 typedef std::map<cc::SharedBitmapId, cc::SharedBitmap*> BitmapMap; 1027 typedef std::map<cc::SharedBitmapId, cc::SharedBitmap*> BitmapMap;
1030 BitmapMap disambiguation_bitmaps_; 1028 BitmapMap disambiguation_bitmaps_;
1031 1029
1032 bool page_scale_factor_is_one_; 1030 bool page_scale_factor_is_one_;
1033 1031
1034 // Temporary debug information to help track http://crbug.com/464633.
1035 std::vector<unsigned long> debug_info_;
1036
1037 // --------------------------------------------------------------------------- 1032 // ---------------------------------------------------------------------------
1038 // ADDING NEW DATA? Please see if it fits appropriately in one of the above 1033 // ADDING NEW DATA? Please see if it fits appropriately in one of the above
1039 // sections rather than throwing it randomly at the end. If you're adding a 1034 // sections rather than throwing it randomly at the end. If you're adding a
1040 // bunch of stuff, you should probably create a helper class and put your 1035 // bunch of stuff, you should probably create a helper class and put your
1041 // data and methods on that to avoid bloating RenderView more. You can 1036 // data and methods on that to avoid bloating RenderView more. You can
1042 // use the Observer interface to filter IPC messages and receive frame change 1037 // use the Observer interface to filter IPC messages and receive frame change
1043 // notifications. 1038 // notifications.
1044 // --------------------------------------------------------------------------- 1039 // ---------------------------------------------------------------------------
1045 1040
1046 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1041 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1047 }; 1042 };
1048 1043
1049 } // namespace content 1044 } // namespace content
1050 1045
1051 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1046 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698