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

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

Issue 236203005: Remove EditableLinkBehavior, which is always set to NeverLive by Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | Source/core/frame/Settings.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 reserved.
3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) 3 * (C) 2006 Graham Dennis (graham.dennis@gmail.com)
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 21 matching lines...) Expand all
32 #include "core/frame/SettingsDelegate.h" 32 #include "core/frame/SettingsDelegate.h"
33 #include "platform/Timer.h" 33 #include "platform/Timer.h"
34 #include "platform/fonts/GenericFontFamilySettings.h" 34 #include "platform/fonts/GenericFontFamilySettings.h"
35 #include "platform/geometry/IntSize.h" 35 #include "platform/geometry/IntSize.h"
36 #include "platform/weborigin/KURL.h" 36 #include "platform/weborigin/KURL.h"
37 #include "wtf/HashSet.h" 37 #include "wtf/HashSet.h"
38 #include "wtf/RefCounted.h" 38 #include "wtf/RefCounted.h"
39 39
40 namespace WebCore { 40 namespace WebCore {
41 41
42 enum EditableLinkBehavior {
43 EditableLinkDefaultBehavior,
44 EditableLinkAlwaysLive,
45 EditableLinkOnlyLiveWithShiftKey,
46 EditableLinkLiveWhenNotFocused,
47 EditableLinkNeverLive
48 };
49
50 class Settings { 42 class Settings {
51 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED; 43 WTF_MAKE_NONCOPYABLE(Settings); WTF_MAKE_FAST_ALLOCATED;
52 public: 44 public:
53 static PassOwnPtr<Settings> create(); 45 static PassOwnPtr<Settings> create();
54 46
55 GenericFontFamilySettings& genericFontFamilySettings() { return m_genericFon tFamilySettings; } 47 GenericFontFamilySettings& genericFontFamilySettings() { return m_genericFon tFamilySettings; }
56 void notifyGenericFontFamilyChange() { invalidate(SettingsDelegate::FontFami lyChange); } 48 void notifyGenericFontFamilyChange() { invalidate(SettingsDelegate::FontFami lyChange); }
57 49
58 void setTextAutosizingEnabled(bool); 50 void setTextAutosizingEnabled(bool);
59 bool textAutosizingEnabled() const { return m_textAutosizingEnabled; } 51 bool textAutosizingEnabled() const { return m_textAutosizingEnabled; }
(...skipping 26 matching lines...) Expand all
86 bool m_openGLMultisamplingEnabled : 1; 78 bool m_openGLMultisamplingEnabled : 1;
87 IntSize m_textAutosizingWindowSizeOverride; 79 IntSize m_textAutosizingWindowSizeOverride;
88 bool m_textAutosizingEnabled : 1; 80 bool m_textAutosizingEnabled : 1;
89 81
90 SETTINGS_MEMBER_VARIABLES 82 SETTINGS_MEMBER_VARIABLES
91 }; 83 };
92 84
93 } // namespace WebCore 85 } // namespace WebCore
94 86
95 #endif // Settings_h 87 #endif // Settings_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698