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

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

Issue 520213002: Make SecurityContext available in RemoteFrames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Review feedback from Daniel, expose securityOrigin() from WebFrame Created 6 years, 1 month 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual bool isWebRemoteFrame() const override; 75 virtual bool isWebRemoteFrame() const override;
76 virtual WebRemoteFrame* toWebRemoteFrame() override; 76 virtual WebRemoteFrame* toWebRemoteFrame() override;
77 virtual void close() override; 77 virtual void close() override;
78 virtual WebString uniqueName() const override; 78 virtual WebString uniqueName() const override;
79 virtual WebString assignedName() const override; 79 virtual WebString assignedName() const override;
80 virtual void setName(const WebString&) override; 80 virtual void setName(const WebString&) override;
81 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const override; 81 virtual WebVector<WebIconURL> iconURLs(int iconTypesMask) const override;
82 virtual void setRemoteWebLayer(WebLayer*) override; 82 virtual void setRemoteWebLayer(WebLayer*) override;
83 virtual void setPermissionClient(WebPermissionClient*) override; 83 virtual void setPermissionClient(WebPermissionClient*) override;
84 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) override; 84 virtual void setSharedWorkerRepositoryClient(WebSharedWorkerRepositoryClient *) override;
85 virtual WebSecurityOrigin securityOrigin() const override;
85 virtual WebSize scrollOffset() const override; 86 virtual WebSize scrollOffset() const override;
86 virtual void setScrollOffset(const WebSize&) override; 87 virtual void setScrollOffset(const WebSize&) override;
87 virtual WebSize minimumScrollOffset() const override; 88 virtual WebSize minimumScrollOffset() const override;
88 virtual WebSize maximumScrollOffset() const override; 89 virtual WebSize maximumScrollOffset() const override;
89 virtual WebSize contentsSize() const override; 90 virtual WebSize contentsSize() const override;
90 virtual bool hasVisibleContent() const override; 91 virtual bool hasVisibleContent() const override;
91 virtual WebRect visibleContentRect() const override; 92 virtual WebRect visibleContentRect() const override;
92 virtual bool hasHorizontalScrollbar() const override; 93 virtual bool hasHorizontalScrollbar() const override;
93 virtual bool hasVerticalScrollbar() const override; 94 virtual bool hasVerticalScrollbar() const override;
94 virtual WebView* view() const override; 95 virtual WebView* view() const override;
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 GC_PLUGIN_IGNORE("340522") 368 GC_PLUGIN_IGNORE("340522")
368 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 369 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
369 #endif 370 #endif
370 }; 371 };
371 372
372 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 373 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
373 374
374 } // namespace blink 375 } // namespace blink
375 376
376 #endif 377 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698