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

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: review comments Created 6 years, 7 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 223
224 virtual WebString contentAsText(size_t maxChars) const OVERRIDE; 224 virtual WebString contentAsText(size_t maxChars) const OVERRIDE;
225 virtual WebString contentAsMarkup() const OVERRIDE; 225 virtual WebString contentAsMarkup() const OVERRIDE;
226 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE; 226 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const OVERRIDE;
227 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE; 227 virtual WebString markerTextForListItem(const WebElement&) const OVERRIDE;
228 virtual WebRect selectionBoundsRect() const OVERRIDE; 228 virtual WebRect selectionBoundsRect() const OVERRIDE;
229 229
230 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE; 230 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const OVERRIDE;
231 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ; 231 virtual WebString layerTreeAsText(bool showDebugInfo = false) const OVERRIDE ;
232 232
233 virtual void requestManifest(WebManifestRequest&) const OVERRIDE;
234
233 void willDetachParent(); 235 void willDetachParent();
234 236
235 static WebLocalFrameImpl* create(WebFrameClient*); 237 static WebLocalFrameImpl* create(WebFrameClient*);
236 virtual ~WebLocalFrameImpl(); 238 virtual ~WebLocalFrameImpl();
237 239
238 // Called by the WebViewImpl to initialize the main frame for the page. 240 // Called by the WebViewImpl to initialize the main frame for the page.
239 void initializeAsMainFrame(WebCore::Page*); 241 void initializeAsMainFrame(WebCore::Page*);
240 242
241 PassRefPtr<WebCore::LocalFrame> createChildFrame( 243 PassRefPtr<WebCore::LocalFrame> createChildFrame(
242 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*); 244 const WebCore::FrameLoadRequest&, WebCore::HTMLFrameOwnerElement*);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 float m_inputEventsScaleFactorForEmulation; 355 float m_inputEventsScaleFactorForEmulation;
354 356
355 UserMediaClientImpl m_userMediaClientImpl; 357 UserMediaClientImpl m_userMediaClientImpl;
356 }; 358 };
357 359
358 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 360 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
359 361
360 } // namespace blink 362 } // namespace blink
361 363
362 #endif 364 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698