OLD | NEW |
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 1110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); | 1121 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); |
1122 | 1122 |
1123 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to | 1123 // Invoked from DidStopLoading(). Sends the current list of loaded favicons to |
1124 // the browser. | 1124 // the browser. |
1125 void DidStopLoadingIcons(); | 1125 void DidStopLoadingIcons(); |
1126 | 1126 |
1127 // Coordinate conversion ----------------------------------------------------- | 1127 // Coordinate conversion ----------------------------------------------------- |
1128 | 1128 |
1129 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; | 1129 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; |
1130 | 1130 |
1131 // Helper for LatencyInfo construction. | |
1132 int64 GetLatencyComponentId(); | |
1133 | |
1134 // RenderFrameImpl accessible state ------------------------------------------ | 1131 // RenderFrameImpl accessible state ------------------------------------------ |
1135 // The following section is the set of methods that RenderFrameImpl needs | 1132 // The following section is the set of methods that RenderFrameImpl needs |
1136 // to access RenderViewImpl state. The set of state variables are page-level | 1133 // to access RenderViewImpl state. The set of state variables are page-level |
1137 // specific, so they don't belong in RenderFrameImpl and should remain in | 1134 // specific, so they don't belong in RenderFrameImpl and should remain in |
1138 // this object. | 1135 // this object. |
1139 ObserverList<RenderViewObserver>& observers() { | 1136 ObserverList<RenderViewObserver>& observers() { |
1140 return observers_; | 1137 return observers_; |
1141 } | 1138 } |
1142 | 1139 |
1143 // TODO(nasko): Remove this method when we move to frame proxy objects, since | 1140 // TODO(nasko): Remove this method when we move to frame proxy objects, since |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1510 // use the Observer interface to filter IPC messages and receive frame change | 1507 // use the Observer interface to filter IPC messages and receive frame change |
1511 // notifications. | 1508 // notifications. |
1512 // --------------------------------------------------------------------------- | 1509 // --------------------------------------------------------------------------- |
1513 | 1510 |
1514 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1511 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1515 }; | 1512 }; |
1516 | 1513 |
1517 } // namespace content | 1514 } // namespace content |
1518 | 1515 |
1519 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1516 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |