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

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: 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 1155 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); 1166 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls);
1167 1167
1168 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to 1168 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to
1169 // the browser. 1169 // the browser.
1170 void DidStopLoadingIcons(); 1170 void DidStopLoadingIcons();
1171 1171
1172 // Coordinate conversion ----------------------------------------------------- 1172 // Coordinate conversion -----------------------------------------------------
1173 1173
1174 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; 1174 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const;
1175 1175
1176 // Helper for LatencyInfo construction.
1177 int64 GetLatencyComponentId();
1178
1176 // --------------------------------------------------------------------------- 1179 // ---------------------------------------------------------------------------
1177 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 1180 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
1178 // it in the same order in the .cc file as it was in the header. 1181 // it in the same order in the .cc file as it was in the header.
1179 // --------------------------------------------------------------------------- 1182 // ---------------------------------------------------------------------------
1180 1183
1181 // Settings ------------------------------------------------------------------ 1184 // Settings ------------------------------------------------------------------
1182 1185
1183 WebPreferences webkit_preferences_; 1186 WebPreferences webkit_preferences_;
1184 RendererPreferences renderer_preferences_; 1187 RendererPreferences renderer_preferences_;
1185 1188
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 // use the Observer interface to filter IPC messages and receive frame change 1556 // use the Observer interface to filter IPC messages and receive frame change
1554 // notifications. 1557 // notifications.
1555 // --------------------------------------------------------------------------- 1558 // ---------------------------------------------------------------------------
1556 1559
1557 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1560 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1558 }; 1561 };
1559 1562
1560 } // namespace content 1563 } // namespace content
1561 1564
1562 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1565 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698