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

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

Issue 82583005: Use removeFontFace to avoid resetting fontSelector. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed TextAutosizing Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // functions to make generating Settings.in slightly easier. 50 // functions to make generating Settings.in slightly easier.
51 enum ChangeType { 51 enum ChangeType {
52 StyleChange, 52 StyleChange,
53 ViewportDescriptionChange, 53 ViewportDescriptionChange,
54 MediaTypeChange, 54 MediaTypeChange,
55 DNSPrefetchingChange, 55 DNSPrefetchingChange,
56 MultisamplingChange, 56 MultisamplingChange,
57 ImageLoadingChange, 57 ImageLoadingChange,
58 TextAutosizingChange, 58 TextAutosizingChange,
59 ScriptEnableChange, 59 ScriptEnableChange,
60 FontFamilyChange,
60 }; 61 };
61 62
62 virtual void settingsChanged(ChangeType) = 0; 63 virtual void settingsChanged(ChangeType) = 0;
63 64
64 protected: 65 protected:
65 OwnPtr<Settings> const m_settings; 66 OwnPtr<Settings> const m_settings;
66 }; 67 };
67 68
68 } // namespace WebCore 69 } // namespace WebCore
69 70
70 #endif // SettingsDelegate_h 71 #endif // SettingsDelegate_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698