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

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: Addressed Nit Created 7 years, 2 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
« no previous file with comments | « content/renderer/render_thread_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 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); 1159 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls);
1160 1160
1161 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to 1161 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to
1162 // the browser. 1162 // the browser.
1163 void DidStopLoadingIcons(); 1163 void DidStopLoadingIcons();
1164 1164
1165 // Coordinate conversion ----------------------------------------------------- 1165 // Coordinate conversion -----------------------------------------------------
1166 1166
1167 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; 1167 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const;
1168 1168
1169 // Helper for LatencyInfo construction.
1170 int64 GetLatencyComponentId();
1171
1169 // --------------------------------------------------------------------------- 1172 // ---------------------------------------------------------------------------
1170 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 1173 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
1171 // it in the same order in the .cc file as it was in the header. 1174 // it in the same order in the .cc file as it was in the header.
1172 // --------------------------------------------------------------------------- 1175 // ---------------------------------------------------------------------------
1173 1176
1174 // Settings ------------------------------------------------------------------ 1177 // Settings ------------------------------------------------------------------
1175 1178
1176 WebPreferences webkit_preferences_; 1179 WebPreferences webkit_preferences_;
1177 RendererPreferences renderer_preferences_; 1180 RendererPreferences renderer_preferences_;
1178 1181
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1536 // use the Observer interface to filter IPC messages and receive frame change 1539 // use the Observer interface to filter IPC messages and receive frame change
1537 // notifications. 1540 // notifications.
1538 // --------------------------------------------------------------------------- 1541 // ---------------------------------------------------------------------------
1539 1542
1540 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1543 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1541 }; 1544 };
1542 1545
1543 } // namespace content 1546 } // namespace content
1544 1547
1545 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1548 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698