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

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

Issue 23694031: Fix race conditions in window snapshot code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Incorporated enne and jbauman's feedback. Created 7 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 | Annotate | Revision Log
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 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after
1147 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); 1147 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls);
1148 1148
1149 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to 1149 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to
1150 // the browser. 1150 // the browser.
1151 void DidStopLoadingIcons(); 1151 void DidStopLoadingIcons();
1152 1152
1153 // Coordinate conversion ----------------------------------------------------- 1153 // Coordinate conversion -----------------------------------------------------
1154 1154
1155 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; 1155 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const;
1156 1156
1157 // Helper for LatencyInfo construction.
1158 int64 GetLatencyComponentId();
1159
1157 // --------------------------------------------------------------------------- 1160 // ---------------------------------------------------------------------------
1158 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 1161 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
1159 // it in the same order in the .cc file as it was in the header. 1162 // it in the same order in the .cc file as it was in the header.
1160 // --------------------------------------------------------------------------- 1163 // ---------------------------------------------------------------------------
1161 1164
1162 // Settings ------------------------------------------------------------------ 1165 // Settings ------------------------------------------------------------------
1163 1166
1164 WebPreferences webkit_preferences_; 1167 WebPreferences webkit_preferences_;
1165 RendererPreferences renderer_preferences_; 1168 RendererPreferences renderer_preferences_;
1166 1169
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1524 // use the Observer interface to filter IPC messages and receive frame change 1527 // use the Observer interface to filter IPC messages and receive frame change
1525 // notifications. 1528 // notifications.
1526 // --------------------------------------------------------------------------- 1529 // ---------------------------------------------------------------------------
1527 1530
1528 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1531 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1529 }; 1532 };
1530 1533
1531 } // namespace content 1534 } // namespace content
1532 1535
1533 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1536 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698