OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserv
ed. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 #elif OS(WIN) | 45 #elif OS(WIN) |
46 EditingWindowsBehavior | 46 EditingWindowsBehavior |
47 #elif OS(ANDROID) | 47 #elif OS(ANDROID) |
48 EditingAndroidBehavior | 48 EditingAndroidBehavior |
49 #else // Rest of the UNIX-like systems | 49 #else // Rest of the UNIX-like systems |
50 EditingUnixBehavior | 50 EditingUnixBehavior |
51 #endif | 51 #endif |
52 ; | 52 ; |
53 } | 53 } |
54 | 54 |
55 static const bool defaultUnifiedTextCheckerEnabled = false; | |
56 #if OS(WIN) | 55 #if OS(WIN) |
57 static const bool defaultSelectTrailingWhitespaceEnabled = true; | 56 static const bool defaultSelectTrailingWhitespaceEnabled = true; |
58 #else | 57 #else |
59 static const bool defaultSelectTrailingWhitespaceEnabled = false; | 58 static const bool defaultSelectTrailingWhitespaceEnabled = false; |
60 #endif | 59 #endif |
61 | 60 |
62 Settings::Settings() | 61 Settings::Settings() |
63 : m_openGLMultisamplingEnabled(false) | 62 : m_openGLMultisamplingEnabled(false) |
64 #if DEBUG_TEXT_AUTOSIZING_ON_DESKTOP | 63 #if DEBUG_TEXT_AUTOSIZING_ON_DESKTOP |
65 , m_textAutosizingWindowSizeOverride(320, 480) | 64 , m_textAutosizingWindowSizeOverride(320, 480) |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 void Settings::setOpenGLMultisamplingEnabled(bool flag) | 120 void Settings::setOpenGLMultisamplingEnabled(bool flag) |
122 { | 121 { |
123 if (m_openGLMultisamplingEnabled == flag) | 122 if (m_openGLMultisamplingEnabled == flag) |
124 return; | 123 return; |
125 | 124 |
126 m_openGLMultisamplingEnabled = flag; | 125 m_openGLMultisamplingEnabled = flag; |
127 invalidate(SettingsDelegate::MultisamplingChange); | 126 invalidate(SettingsDelegate::MultisamplingChange); |
128 } | 127 } |
129 | 128 |
130 } // namespace blink | 129 } // namespace blink |
OLD | NEW |