OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 // |
| 5 // A struct for managing browser's settings that apply to the renderer or its |
| 6 // webview. These differ from WebPreferences since they apply to Chromium's |
| 7 // glue layer rather than applying to just WebKit. |
| 8 // |
| 9 // Adding new values to this class probably involves updating |
| 10 // common/render_messages.h, browser/browser.cc, etc. |
| 11 |
| 12 #ifndef CHROME_COMMON_RENDERER_PREFERENCES_H_ |
| 13 #define CHROME_COMMON_RENDERER_PREFERENCES_H_ |
| 14 |
| 15 struct RendererPreferences { |
| 16 // Whether the renderer's current browser context accept drops from the OS |
| 17 // that result in navigations away from the current page. |
| 18 bool can_accept_load_drops; |
| 19 |
| 20 RendererPreferences() |
| 21 : can_accept_load_drops(true) { |
| 22 } |
| 23 }; |
| 24 |
| 25 #endif // CHROME_COMMON_RENDERER_PREFERENCES_H_ |
OLD | NEW |