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

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

Issue 115293005: Add a layer of indirection between Frame and Page (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years 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) 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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 virtual WebString contentAsText(size_t maxChars) const; 228 virtual WebString contentAsText(size_t maxChars) const;
229 virtual WebString contentAsMarkup() const; 229 virtual WebString contentAsMarkup() const;
230 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const; 230 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const;
231 virtual WebString markerTextForListItem(const WebElement&) const; 231 virtual WebString markerTextForListItem(const WebElement&) const;
232 virtual WebRect selectionBoundsRect() const; 232 virtual WebRect selectionBoundsRect() const;
233 233
234 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const; 234 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const;
235 virtual WebString layerTreeAsText(bool showDebugInfo = false) const; 235 virtual WebString layerTreeAsText(bool showDebugInfo = false) const;
236 236
237 // WebCore::FrameDestructionObserver methods. 237 // WebCore::FrameDestructionObserver methods.
238 virtual void willDetachPage(); 238 virtual void willDetachFrameHost();
239 239
240 static WebFrameImpl* create(WebFrameClient*); 240 static WebFrameImpl* create(WebFrameClient*);
241 // FIXME: Move the embedderIdentifier concept fully to the embedder and 241 // FIXME: Move the embedderIdentifier concept fully to the embedder and
242 // remove this factory method. 242 // remove this factory method.
243 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier); 243 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier);
244 virtual ~WebFrameImpl(); 244 virtual ~WebFrameImpl();
245 245
246 // Called by the WebViewImpl to initialize the main frame for the page. 246 // Called by the WebViewImpl to initialize the main frame for the page.
247 void initializeAsMainFrame(WebCore::Page*); 247 void initializeAsMainFrame(WebCore::Page*);
248 248
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 { 525 {
526 return static_cast<const WebFrameImpl*>(webFrame); 526 return static_cast<const WebFrameImpl*>(webFrame);
527 } 527 }
528 528
529 // This will catch anyone doing an unnecessary cast. 529 // This will catch anyone doing an unnecessary cast.
530 void toWebFrameImpl(const WebFrameImpl*); 530 void toWebFrameImpl(const WebFrameImpl*);
531 531
532 } // namespace blink 532 } // namespace blink
533 533
534 #endif 534 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698