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

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

Issue 104433003: Attach a WebLayer to a frame element for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added missing null check 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
« no previous file with comments | « Source/core/rendering/RenderPart.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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 , public RefCounted<WebFrameImpl> 75 , public RefCounted<WebFrameImpl>
76 , public WebCore::FrameDestructionObserver { 76 , public WebCore::FrameDestructionObserver {
77 public: 77 public:
78 // WebFrame methods: 78 // WebFrame methods:
79 virtual void close(); 79 virtual void close();
80 virtual WebString uniqueName() const; 80 virtual WebString uniqueName() const;
81 virtual WebString assignedName() const; 81 virtual WebString assignedName() const;
82 virtual void setName(const WebString&); 82 virtual void setName(const WebString&);
83 virtual long long embedderIdentifier() const; 83 virtual long long embedderIdentifier() const;
84 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const; 84 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const;
85 virtual void setRemoteWebLayer(WebLayer*);
85 virtual WebSize scrollOffset() const; 86 virtual WebSize scrollOffset() const;
86 virtual void setScrollOffset(const WebSize&); 87 virtual void setScrollOffset(const WebSize&);
87 virtual WebSize minimumScrollOffset() const; 88 virtual WebSize minimumScrollOffset() const;
88 virtual WebSize maximumScrollOffset() const; 89 virtual WebSize maximumScrollOffset() const;
89 virtual WebSize contentsSize() const; 90 virtual WebSize contentsSize() const;
90 virtual bool hasVisibleContent() const; 91 virtual bool hasVisibleContent() const;
91 virtual WebRect visibleContentRect() const; 92 virtual WebRect visibleContentRect() const;
92 virtual bool hasHorizontalScrollbar() const; 93 virtual bool hasHorizontalScrollbar() const;
93 virtual bool hasVerticalScrollbar() const; 94 virtual bool hasVerticalScrollbar() const;
94 virtual WebView* view() const; 95 virtual WebView* view() const;
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 { 525 {
525 return static_cast<const WebFrameImpl*>(webFrame); 526 return static_cast<const WebFrameImpl*>(webFrame);
526 } 527 }
527 528
528 // This will catch anyone doing an unnecessary cast. 529 // This will catch anyone doing an unnecessary cast.
529 void toWebFrameImpl(const WebFrameImpl*); 530 void toWebFrameImpl(const WebFrameImpl*);
530 531
531 } // namespace blink 532 } // namespace blink
532 533
533 #endif 534 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderPart.cpp ('k') | Source/web/WebFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698