| 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 <set> | 8 #include <set> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 1191 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| 1192 void UpdateFontRenderingFromRendererPrefs(); | 1192 void UpdateFontRenderingFromRendererPrefs(); |
| 1193 #else | 1193 #else |
| 1194 void UpdateFontRenderingFromRendererPrefs() {} | 1194 void UpdateFontRenderingFromRendererPrefs() {} |
| 1195 #endif | 1195 #endif |
| 1196 | 1196 |
| 1197 // Update the target url and tell the browser that the target URL has changed. | 1197 // Update the target url and tell the browser that the target URL has changed. |
| 1198 // If |url| is empty, show |fallback_url|. | 1198 // If |url| is empty, show |fallback_url|. |
| 1199 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); | 1199 void UpdateTargetURL(const GURL& url, const GURL& fallback_url); |
| 1200 | 1200 |
| 1201 // Handles any actions that should be done after web preferences got |
| 1202 // updated. |old_prefs| holds the previous state of preferences. |
| 1203 void WebPreferencesUpdated(const webkit_glue::WebPreferences& old_prefs); |
| 1204 |
| 1201 // Coordinate conversion ----------------------------------------------------- | 1205 // Coordinate conversion ----------------------------------------------------- |
| 1202 | 1206 |
| 1203 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; | 1207 gfx::RectF ClientRectToPhysicalWindowRect(const gfx::RectF& rect) const; |
| 1204 | 1208 |
| 1205 // --------------------------------------------------------------------------- | 1209 // --------------------------------------------------------------------------- |
| 1206 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put | 1210 // ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put |
| 1207 // it in the same order in the .cc file as it was in the header. | 1211 // it in the same order in the .cc file as it was in the header. |
| 1208 // --------------------------------------------------------------------------- | 1212 // --------------------------------------------------------------------------- |
| 1209 | 1213 |
| 1210 // Settings ------------------------------------------------------------------ | 1214 // Settings ------------------------------------------------------------------ |
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1594 // use the Observer interface to filter IPC messages and receive frame change | 1598 // use the Observer interface to filter IPC messages and receive frame change |
| 1595 // notifications. | 1599 // notifications. |
| 1596 // --------------------------------------------------------------------------- | 1600 // --------------------------------------------------------------------------- |
| 1597 | 1601 |
| 1598 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1602 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1599 }; | 1603 }; |
| 1600 | 1604 |
| 1601 } // namespace content | 1605 } // namespace content |
| 1602 | 1606 |
| 1603 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1607 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |