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

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: Added screenshot sync test to telemetry unittests, updated cc unittest 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
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 1141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); 1152 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls);
1153 1153
1154 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to 1154 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to
1155 // the browser. 1155 // the browser.
1156 void DidStopLoadingIcons(); 1156 void DidStopLoadingIcons();
1157 1157
1158 // Coordinate conversion ----------------------------------------------------- 1158 // Coordinate conversion -----------------------------------------------------
1159 1159
1160 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; 1160 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const;
1161 1161
1162 // Helper for LatencyInfo construction.
1163 int64 GetLatencyComponentId();
1164
1162 // --------------------------------------------------------------------------- 1165 // ---------------------------------------------------------------------------
1163 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put 1166 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put
1164 // it in the same order in the .cc file as it was in the header. 1167 // it in the same order in the .cc file as it was in the header.
1165 // --------------------------------------------------------------------------- 1168 // ---------------------------------------------------------------------------
1166 1169
1167 // Settings ------------------------------------------------------------------ 1170 // Settings ------------------------------------------------------------------
1168 1171
1169 WebPreferences webkit_preferences_; 1172 WebPreferences webkit_preferences_;
1170 RendererPreferences renderer_preferences_; 1173 RendererPreferences renderer_preferences_;
1171 1174
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
1529 // use the Observer interface to filter IPC messages and receive frame change 1532 // use the Observer interface to filter IPC messages and receive frame change
1530 // notifications. 1533 // notifications.
1531 // --------------------------------------------------------------------------- 1534 // ---------------------------------------------------------------------------
1532 1535
1533 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1536 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1534 }; 1537 };
1535 1538
1536 } // namespace content 1539 } // namespace content
1537 1540
1538 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1541 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698