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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
162 class RenderViewObserver; | 162 class RenderViewObserver; |
163 class RenderViewTest; | 163 class RenderViewTest; |
164 class RendererAccessibility; | 164 class RendererAccessibility; |
165 class RendererDateTimePicker; | 165 class RendererDateTimePicker; |
166 class RendererPpapiHost; | 166 class RendererPpapiHost; |
167 class RendererWebColorChooserImpl; | 167 class RendererWebColorChooserImpl; |
168 class RenderWidgetFullscreenPepper; | 168 class RenderWidgetFullscreenPepper; |
169 class SpeechRecognitionDispatcher; | 169 class SpeechRecognitionDispatcher; |
170 class WebPluginDelegateProxy; | 170 class WebPluginDelegateProxy; |
171 struct CustomContextMenuContext; | 171 struct CustomContextMenuContext; |
172 struct FaviconURL; | |
172 struct FileChooserParams; | 173 struct FileChooserParams; |
173 struct RenderViewImplParams; | 174 struct RenderViewImplParams; |
174 | 175 |
175 #if defined(OS_ANDROID) | 176 #if defined(OS_ANDROID) |
176 class WebMediaPlayerProxyImplAndroid; | 177 class WebMediaPlayerProxyImplAndroid; |
177 #endif | 178 #endif |
178 | 179 |
179 // We need to prevent a page from trying to create infinite popups. It is not | 180 // We need to prevent a page from trying to create infinite popups. It is not |
180 // as simple as keeping a count of the number of immediate children | 181 // as simple as keeping a count of the number of immediate children |
181 // popups. Having an html file that window.open()s itself would create | 182 // popups. Having an html file that window.open()s itself would create |
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1177 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 1178 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
1178 void UpdateFontRenderingFromRendererPrefs(); | 1179 void UpdateFontRenderingFromRendererPrefs(); |
1179 #else | 1180 #else |
1180 void UpdateFontRenderingFromRendererPrefs() {} | 1181 void UpdateFontRenderingFromRendererPrefs() {} |
1181 #endif | 1182 #endif |
1182 | 1183 |
1183 // Update the target url and tell the browser that the target URL has changed. | 1184 // Update the target url and tell the browser that the target URL has changed. |
1184 // If |url| is empty, show |fallback_url|. | 1185 // If |url| is empty, show |fallback_url|. |
1185 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); | 1186 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); |
1186 | 1187 |
1188 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); | |
Cait (Slow)
2013/03/28 19:10:18
Please add documentation for these 2 methods.
Dmitry Titov
2013/03/28 22:52:40
Done.
| |
1189 void DidStopLoadingIcons(); | |
1190 | |
1187 // Coordinate conversion ----------------------------------------------------- | 1191 // Coordinate conversion ----------------------------------------------------- |
1188 | 1192 |
1189 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; | 1193 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; |
1190 | 1194 |
1191 // --------------------------------------------------------------------------- | 1195 // --------------------------------------------------------------------------- |
1192 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 1196 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
1193 // it in the same order in the .cc file as it was in the header. | 1197 // it in the same order in the .cc file as it was in the header. |
1194 // --------------------------------------------------------------------------- | 1198 // --------------------------------------------------------------------------- |
1195 | 1199 |
1196 // Settings ------------------------------------------------------------------ | 1200 // Settings ------------------------------------------------------------------ |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1409 // Only valid if |accessibility_mode_| is anything other than | 1413 // Only valid if |accessibility_mode_| is anything other than |
1410 // AccessibilityModeOff. | 1414 // AccessibilityModeOff. |
1411 RendererAccessibility* renderer_accessibility_; | 1415 RendererAccessibility* renderer_accessibility_; |
1412 | 1416 |
1413 // Java Bridge dispatcher attached to this view; lazily initialized. | 1417 // Java Bridge dispatcher attached to this view; lazily initialized. |
1414 JavaBridgeDispatcher* java_bridge_dispatcher_; | 1418 JavaBridgeDispatcher* java_bridge_dispatcher_; |
1415 | 1419 |
1416 // Mouse Lock dispatcher attached to this view. | 1420 // Mouse Lock dispatcher attached to this view. |
1417 MouseLockDispatcher* mouse_lock_dispatcher_; | 1421 MouseLockDispatcher* mouse_lock_dispatcher_; |
1418 | 1422 |
1419 // Helper class to handle favicon changes. | |
1420 FaviconHelper* favicon_helper_; | |
1421 | |
1422 #if defined(OS_ANDROID) | 1423 #if defined(OS_ANDROID) |
1423 // Android Specific --------------------------------------------------------- | 1424 // Android Specific --------------------------------------------------------- |
1424 | 1425 |
1425 // The background color of the document body element. This is used as the | 1426 // The background color of the document body element. This is used as the |
1426 // default background color for filling the screen areas for which we don't | 1427 // default background color for filling the screen areas for which we don't |
1427 // have the actual content. | 1428 // have the actual content. |
1428 SkColor body_background_color_; | 1429 SkColor body_background_color_; |
1429 | 1430 |
1430 // True if SendUpdateFrameInfo is pending. | 1431 // True if SendUpdateFrameInfo is pending. |
1431 bool update_frame_info_scheduled_; | 1432 bool update_frame_info_scheduled_; |
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1574 // use the Observer interface to filter IPC messages and receive frame change | 1575 // use the Observer interface to filter IPC messages and receive frame change |
1575 // notifications. | 1576 // notifications. |
1576 // --------------------------------------------------------------------------- | 1577 // --------------------------------------------------------------------------- |
1577 | 1578 |
1578 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1579 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1579 }; | 1580 }; |
1580 | 1581 |
1581 } // namespace content | 1582 } // namespace content |
1582 | 1583 |
1583 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1584 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |