Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: third_party/WebKit/Source/core/frame/Settings.h

Issue 2393313002: reflow comments in core/frame (Closed)
Patch Set: tweak Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2007, 2008, 2009, 2011, 2012 Apple Inc. All rights
3 * reserved.
3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 4 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
4 * 5 *
5 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
7 * are met: 8 * are met:
8 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 11 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the 12 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution. 13 * documentation and/or other materials provided with the distribution.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 GenericFontFamilySettings& genericFontFamilySettings() { 60 GenericFontFamilySettings& genericFontFamilySettings() {
60 return m_genericFontFamilySettings; 61 return m_genericFontFamilySettings;
61 } 62 }
62 void notifyGenericFontFamilyChange() { 63 void notifyGenericFontFamilyChange() {
63 invalidate(SettingsDelegate::FontFamilyChange); 64 invalidate(SettingsDelegate::FontFamilyChange);
64 } 65 }
65 66
66 void setTextAutosizingEnabled(bool); 67 void setTextAutosizingEnabled(bool);
67 bool textAutosizingEnabled() const { return m_textAutosizingEnabled; } 68 bool textAutosizingEnabled() const { return m_textAutosizingEnabled; }
68 69
69 // Only set by Layout Tests, and only used if textAutosizingEnabled() returns true. 70 // Only set by Layout Tests, and only used if textAutosizingEnabled() returns
71 // true.
70 void setTextAutosizingWindowSizeOverride(const IntSize&); 72 void setTextAutosizingWindowSizeOverride(const IntSize&);
71 const IntSize& textAutosizingWindowSizeOverride() const { 73 const IntSize& textAutosizingWindowSizeOverride() const {
72 return m_textAutosizingWindowSizeOverride; 74 return m_textAutosizingWindowSizeOverride;
73 } 75 }
74 76
75 SETTINGS_GETTERS_AND_SETTERS 77 SETTINGS_GETTERS_AND_SETTERS
76 78
77 // FIXME: This does not belong here. 79 // FIXME: This does not belong here.
78 static void setMockScrollbarsEnabled(bool flag); 80 static void setMockScrollbarsEnabled(bool flag);
79 static bool mockScrollbarsEnabled(); 81 static bool mockScrollbarsEnabled();
(...skipping 10 matching lines...) Expand all
90 GenericFontFamilySettings m_genericFontFamilySettings; 92 GenericFontFamilySettings m_genericFontFamilySettings;
91 IntSize m_textAutosizingWindowSizeOverride; 93 IntSize m_textAutosizingWindowSizeOverride;
92 bool m_textAutosizingEnabled : 1; 94 bool m_textAutosizingEnabled : 1;
93 95
94 SETTINGS_MEMBER_VARIABLES 96 SETTINGS_MEMBER_VARIABLES
95 }; 97 };
96 98
97 } // namespace blink 99 } // namespace blink
98 100
99 #endif // Settings_h 101 #endif // Settings_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/RootFrameViewportTest.cpp ('k') | third_party/WebKit/Source/core/frame/Settings.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698