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

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: Make GCC happy 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
« no previous file with comments | « Source/core/testing/DummyPageHolder.cpp ('k') | Source/web/WebFrameImpl.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) 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 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 virtual WebString contentAsText(size_t maxChars) const; 231 virtual WebString contentAsText(size_t maxChars) const;
232 virtual WebString contentAsMarkup() const; 232 virtual WebString contentAsMarkup() const;
233 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const; 233 virtual WebString renderTreeAsText(RenderAsTextControls toShow = RenderAsTex tNormal) const;
234 virtual WebString markerTextForListItem(const WebElement&) const; 234 virtual WebString markerTextForListItem(const WebElement&) const;
235 virtual WebRect selectionBoundsRect() const; 235 virtual WebRect selectionBoundsRect() const;
236 236
237 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const; 237 virtual bool selectionStartHasSpellingMarkerFor(int from, int length) const;
238 virtual WebString layerTreeAsText(bool showDebugInfo = false) const; 238 virtual WebString layerTreeAsText(bool showDebugInfo = false) const;
239 239
240 // WebCore::FrameDestructionObserver methods. 240 // WebCore::FrameDestructionObserver methods.
241 virtual void willDetachPage(); 241 virtual void willDetachFrameHost();
242 242
243 static WebFrameImpl* create(WebFrameClient*); 243 static WebFrameImpl* create(WebFrameClient*);
244 // FIXME: Move the embedderIdentifier concept fully to the embedder and 244 // FIXME: Move the embedderIdentifier concept fully to the embedder and
245 // remove this factory method. 245 // remove this factory method.
246 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier); 246 static WebFrameImpl* create(WebFrameClient*, long long embedderIdentifier);
247 virtual ~WebFrameImpl(); 247 virtual ~WebFrameImpl();
248 248
249 // Called by the WebViewImpl to initialize the main frame for the page. 249 // Called by the WebViewImpl to initialize the main frame for the page.
250 void initializeAsMainFrame(WebCore::Page*); 250 void initializeAsMainFrame(WebCore::Page*);
251 251
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 522 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
523 WebCore::IntSize m_inputEventsOffsetForEmulation; 523 WebCore::IntSize m_inputEventsOffsetForEmulation;
524 float m_inputEventsScaleFactorForEmulation; 524 float m_inputEventsScaleFactorForEmulation;
525 }; 525 };
526 526
527 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true); 527 DEFINE_TYPE_CASTS(WebFrameImpl, WebFrame, frame, true, true);
528 528
529 } // namespace blink 529 } // namespace blink
530 530
531 #endif 531 #endif
OLDNEW
« no previous file with comments | « Source/core/testing/DummyPageHolder.cpp ('k') | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698