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