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

Side by Side Diff: sky/engine/core/frame/SettingsDelegate.h

Issue 865153004: Remove dead code related to compositing from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « sky/engine/core/frame/Settings.in ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('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) 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 Settings* settings() const { return m_settings.get(); } 47 Settings* settings() const { return m_settings.get(); }
48 48
49 // We currently use an enum instead of individual invalidation 49 // We currently use an enum instead of individual invalidation
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 MediaTypeChange, 53 MediaTypeChange,
54 MultisamplingChange, 54 MultisamplingChange,
55 ImageLoadingChange, 55 ImageLoadingChange,
56 FontFamilyChange, 56 FontFamilyChange,
57 AcceleratedCompositingChange,
58 MediaQueryChange, 57 MediaQueryChange,
59 }; 58 };
60 59
61 virtual void settingsChanged(ChangeType) = 0; 60 virtual void settingsChanged(ChangeType) = 0;
62 61
63 protected: 62 protected:
64 OwnPtr<Settings> const m_settings; 63 OwnPtr<Settings> const m_settings;
65 }; 64 };
66 65
67 } // namespace blink 66 } // namespace blink
68 67
69 #endif // SKY_ENGINE_CORE_FRAME_SETTINGSDELEGATE_H_ 68 #endif // SKY_ENGINE_CORE_FRAME_SETTINGSDELEGATE_H_
OLDNEW
« no previous file with comments | « sky/engine/core/frame/Settings.in ('k') | sky/engine/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698