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

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

Issue 1197383002: Add WebLocalFrame::effectiveSandboxFlags() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
244 virtual WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRe quest::CachePolicy) 244 virtual WebURLRequest requestFromHistoryItem(const WebHistoryItem&, WebURLRe quest::CachePolicy)
245 const override; 245 const override;
246 virtual WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) cons t override; 246 virtual WebURLRequest requestForReload(WebFrameLoadType, const WebURL&) cons t override;
247 virtual void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryIt em&, 247 virtual void load(const WebURLRequest&, WebFrameLoadType, const WebHistoryIt em&,
248 WebHistoryLoadType) override; 248 WebHistoryLoadType) override;
249 virtual bool isLoading() const override; 249 virtual bool isLoading() const override;
250 virtual bool isResourceLoadInProgress() const override; 250 virtual bool isResourceLoadInProgress() const override;
251 virtual void setCommittedFirstRealLoad() override; 251 virtual void setCommittedFirstRealLoad() override;
252 virtual void sendOrientationChangeEvent() override; 252 virtual void sendOrientationChangeEvent() override;
253 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS tring>& platforms, WebAppBannerPromptReply*) override; 253 virtual void willShowInstallBannerPrompt(int requestId, const WebVector<WebS tring>& platforms, WebAppBannerPromptReply*) override;
254 virtual WebSandboxFlags effectiveSandboxFlags() const override;
254 void requestRunTask(WebSuspendableTask*) const override; 255 void requestRunTask(WebSuspendableTask*) const override;
255 256
256 void willBeDetached(); 257 void willBeDetached();
257 void willDetachParent(); 258 void willDetachParent();
258 259
259 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*); 260 static WebLocalFrameImpl* create(WebTreeScopeType, WebFrameClient*);
260 virtual ~WebLocalFrameImpl(); 261 virtual ~WebLocalFrameImpl();
261 262
262 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName); 263 PassRefPtrWillBeRawPtr<LocalFrame> initializeCoreFrame(FrameHost*, FrameOwne r*, const AtomicString& name, const AtomicString& fallbackName);
263 264
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 GC_PLUGIN_IGNORE("340522") 405 GC_PLUGIN_IGNORE("340522")
405 Persistent<WebLocalFrameImpl> m_selfKeepAlive; 406 Persistent<WebLocalFrameImpl> m_selfKeepAlive;
406 #endif 407 #endif
407 }; 408 };
408 409
409 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 410 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
410 411
411 } // namespace blink 412 } // namespace blink
412 413
413 #endif 414 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698