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

Side by Side Diff: Source/core/loader/FrameLoaderClient.h

Issue 1319863006: (blink) Propagate scrolling/marginwidth/marginheight property values to child frame. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments + static_cast for enum conversion Created 5 years, 3 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) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2012 Google Inc. All rights reserved. 3 * Copyright (C) 2012 Google Inc. All rights reserved.
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 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // The indicated security origin has run active content (such as a 125 // The indicated security origin has run active content (such as a
126 // script) from an insecure source. Note that the insecure content can 126 // script) from an insecure source. Note that the insecure content can
127 // spread to other frames in the same origin. 127 // spread to other frames in the same origin.
128 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0; 128 virtual void didRunInsecureContent(SecurityOrigin*, const KURL&) = 0;
129 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0; 129 virtual void didDetectXSS(const KURL&, bool didBlockEntirePage) = 0;
130 virtual void didDispatchPingLoader(const KURL&) = 0; 130 virtual void didDispatchPingLoader(const KURL&) = 0;
131 131
132 // Will be called when |PerformanceTiming| events are updated 132 // Will be called when |PerformanceTiming| events are updated
133 virtual void didChangePerformanceTiming() { } 133 virtual void didChangePerformanceTiming() { }
134 134
135 virtual void didChangeScrollingMode(Frame*, ScrollbarMode) {}
136 virtual void didChangeMarginWidth(Frame*, int) {}
137 virtual void didChangeMarginHeight(Frame*, int) {}
alexmos 2015/09/02 21:37:05 Nit: how about grouping these with didChangeName a
lazyboy 2015/09/15 01:40:33 Done.
138
135 // Transmits the change in the set of watched CSS selectors property 139 // Transmits the change in the set of watched CSS selectors property
136 // that match any element on the frame. 140 // that match any element on the frame.
137 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0; 141 virtual void selectorMatchChanged(const Vector<String>& addedSelectors, cons t Vector<String>& removedSelectors) = 0;
138 142
139 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra me*, const ResourceRequest&, const SubstituteData&) = 0; 143 virtual PassRefPtrWillBeRawPtr<DocumentLoader> createDocumentLoader(LocalFra me*, const ResourceRequest&, const SubstituteData&) = 0;
140 144
141 virtual String userAgent(const KURL&) = 0; 145 virtual String userAgent(const KURL&) = 0;
142 146
143 virtual String doNotTrackValue() = 0; 147 virtual String doNotTrackValue() = 0;
144 148
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 BeforeUnloadHandler, 241 BeforeUnloadHandler,
238 UnloadHandler, 242 UnloadHandler,
239 }; 243 };
240 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { } 244 virtual void suddenTerminationDisablerChanged(bool present, SuddenTerminatio nDisablerType) { }
241 245
242 }; 246 };
243 247
244 } // namespace blink 248 } // namespace blink
245 249
246 #endif // FrameLoaderClient_h 250 #endif // FrameLoaderClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698