Chromium Code Reviews| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 FileChooserParams; | 172 struct FileChooserParams; |
| 173 struct FaviconURL; | |
|
jam
2013/03/21 01:14:51
nit: order
Dmitry Titov
2013/03/27 22:41:13
Done.
| |
| 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 |
| 182 // an unlimited chain of RenderViews who only have one RenderView child. | 183 // an unlimited chain of RenderViews who only have one RenderView child. |
| (...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1194 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 1195 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 1195 void UpdateFontRenderingFromRendererPrefs(); | 1196 void UpdateFontRenderingFromRendererPrefs(); |
| 1196 #else | 1197 #else |
| 1197 void UpdateFontRenderingFromRendererPrefs() {} | 1198 void UpdateFontRenderingFromRendererPrefs() {} |
| 1198 #endif | 1199 #endif |
| 1199 | 1200 |
| 1200 // Update the target url and tell the browser that the target URL has changed. | 1201 // Update the target url and tell the browser that the target URL has changed. |
| 1201 // If |url| is empty, show |fallback_url|. | 1202 // If |url| is empty, show |fallback_url|. |
| 1202 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); | 1203 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); |
| 1203 | 1204 |
| 1205 void SendUpdateFaviconURL(const std::vector<FaviconURL>& urls); | |
| 1206 void DidStopLoadingIcons(); | |
| 1207 | |
| 1204 // Coordinate conversion ----------------------------------------------------- | 1208 // Coordinate conversion ----------------------------------------------------- |
| 1205 | 1209 |
| 1206 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; | 1210 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; |
| 1207 | 1211 |
| 1208 // --------------------------------------------------------------------------- | 1212 // --------------------------------------------------------------------------- |
| 1209 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 1213 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
| 1210 // it in the same order in the .cc file as it was in the header. | 1214 // it in the same order in the .cc file as it was in the header. |
| 1211 // --------------------------------------------------------------------------- | 1215 // --------------------------------------------------------------------------- |
| 1212 | 1216 |
| 1213 // Settings ------------------------------------------------------------------ | 1217 // Settings ------------------------------------------------------------------ |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1433 // Only valid if |accessibility_mode_| is anything other than | 1437 // Only valid if |accessibility_mode_| is anything other than |
| 1434 // AccessibilityModeOff. | 1438 // AccessibilityModeOff. |
| 1435 RendererAccessibility* renderer_accessibility_; | 1439 RendererAccessibility* renderer_accessibility_; |
| 1436 | 1440 |
| 1437 // Java Bridge dispatcher attached to this view; lazily initialized. | 1441 // Java Bridge dispatcher attached to this view; lazily initialized. |
| 1438 JavaBridgeDispatcher* java_bridge_dispatcher_; | 1442 JavaBridgeDispatcher* java_bridge_dispatcher_; |
| 1439 | 1443 |
| 1440 // Mouse Lock dispatcher attached to this view. | 1444 // Mouse Lock dispatcher attached to this view. |
| 1441 MouseLockDispatcher* mouse_lock_dispatcher_; | 1445 MouseLockDispatcher* mouse_lock_dispatcher_; |
| 1442 | 1446 |
| 1443 // Helper class to handle favicon changes. | |
| 1444 FaviconHelper* favicon_helper_; | |
| 1445 | |
| 1446 #if defined(OS_ANDROID) | 1447 #if defined(OS_ANDROID) |
| 1447 // Android Specific --------------------------------------------------------- | 1448 // Android Specific --------------------------------------------------------- |
| 1448 | 1449 |
| 1449 // The background color of the document body element. This is used as the | 1450 // The background color of the document body element. This is used as the |
| 1450 // default background color for filling the screen areas for which we don't | 1451 // default background color for filling the screen areas for which we don't |
| 1451 // have the actual content. | 1452 // have the actual content. |
| 1452 SkColor body_background_color_; | 1453 SkColor body_background_color_; |
| 1453 | 1454 |
| 1454 // True if SendUpdateFrameInfo is pending. | 1455 // True if SendUpdateFrameInfo is pending. |
| 1455 bool update_frame_info_scheduled_; | 1456 bool update_frame_info_scheduled_; |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1598 // use the Observer interface to filter IPC messages and receive frame change | 1599 // use the Observer interface to filter IPC messages and receive frame change |
| 1599 // notifications. | 1600 // notifications. |
| 1600 // --------------------------------------------------------------------------- | 1601 // --------------------------------------------------------------------------- |
| 1601 | 1602 |
| 1602 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1603 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1603 }; | 1604 }; |
| 1604 | 1605 |
| 1605 } // namespace content | 1606 } // namespace content |
| 1606 | 1607 |
| 1607 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1608 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |