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

Side by Side Diff: Source/web/WebLocalFrameImpl.h

Issue 295063002: [NotLanded] Implement the fetching algorithm of the Web Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 224
225 virtual WebString contentAsText(size_t maxChars) const OVERRIDE; 225 virtual WebString contentAsText(size_t maxChars) const OVERRIDE;
226 virtual WebString contentAsMarkup() const OVERRIDE; 226 virtual WebString contentAsMarkup() const OVERRIDE;
227 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE; 227 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE;
228 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; 228 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE;
229 virtual WebRect selectionBoundsRect() const OVERRIDE; 229 virtual WebRect selectionBoundsRect() const OVERRIDE;
230 230
231 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE; 231 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE;
232 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ; 232 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ;
233 233
234 virtual void requestManifest(WebManifestRequest&) const OVERRIDE;
235
234 void willDetachParent(); 236 void willDetachParent();
235 237
236 static WebLocalFrameImpl* create(WebFrameClient*); 238 static WebLocalFrameImpl* create(WebFrameClient*);
237 virtual ~WebLocalFrameImpl(); 239 virtual ~WebLocalFrameImpl();
238 240
239 // Called by the WebViewImpl to initialize the main frame for the page. 241 // Called by the WebViewImpl to initialize the main frame for the page.
240 void initializeAsMainFrame(WebCore::Page*); 242 void initializeAsMainFrame(WebCore::Page*);
241 243
242 PassRefPtr<WebCore::LocalFrame> createChildFrame( 244 PassRefPtr<WebCore::LocalFrame> createChildFrame(
243 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*); 245 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 float m_inputEventsScaleFactorForEmulation; 356 float m_inputEventsScaleFactorForEmulation;
355 357
356 UserMediaClientImpl m_userMediaClientImpl; 358 UserMediaClientImpl m_userMediaClientImpl;
357 }; 359 };
358 360
359 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 361 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
360 362
361 } // namespace blink 363 } // namespace blink
362 364
363 #endif 365 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698