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

Side by Side Diff: sky/engine/web/WebLocalFrameImpl.h

Issue 776143003: Remove Isolated Worlds from Sky (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « sky/engine/web/FrameLoaderClientImpl.cpp ('k') | sky/engine/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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 virtual WebLocalFrame* toWebLocalFrame() override; 63 virtual WebLocalFrame* toWebLocalFrame() override;
64 virtual void close() override; 64 virtual void close() override;
65 virtual WebSize contentsSize() const override; 65 virtual WebSize contentsSize() const override;
66 virtual bool hasVisibleContent() const override; 66 virtual bool hasVisibleContent() const override;
67 virtual WebRect visibleContentRect() const override; 67 virtual WebRect visibleContentRect() const override;
68 virtual bool hasHorizontalScrollbar() const override; 68 virtual bool hasHorizontalScrollbar() const override;
69 virtual bool hasVerticalScrollbar() const override; 69 virtual bool hasVerticalScrollbar() const override;
70 virtual WebView* view() const override; 70 virtual WebView* view() const override;
71 virtual WebDocument document() const override; 71 virtual WebDocument document() const override;
72 virtual void executeScript(const WebScriptSource&) override; 72 virtual void executeScript(const WebScriptSource&) override;
73 virtual void executeScriptInIsolatedWorld(
74 int worldID, const WebScriptSource* sources, unsigned numSources,
75 int extensionGroup) override;
76 virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString& ) override;
77 virtual void addMessageToConsole(const WebConsoleMessage&) override; 73 virtual void addMessageToConsole(const WebConsoleMessage&) override;
78 virtual void collectGarbage() override; 74 virtual void collectGarbage() override;
79 virtual v8::Handle<v8::Value> executeScriptAndReturnValue( 75 virtual v8::Handle<v8::Value> executeScriptAndReturnValue(
80 const WebScriptSource&) override; 76 const WebScriptSource&) override;
81 virtual void executeScriptInIsolatedWorld(
82 int worldID, const WebScriptSource* sourcesIn, unsigned numSources,
83 int extensionGroup, WebVector<v8::Local<v8::Value> >* results) override;
84 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled( 77 virtual v8::Handle<v8::Value> callFunctionEvenIfScriptDisabled(
85 v8::Handle<v8::Function>, 78 v8::Handle<v8::Function>,
86 v8::Handle<v8::Value>, 79 v8::Handle<v8::Value>,
87 int argc, 80 int argc,
88 v8::Handle<v8::Value> argv[]) override; 81 v8::Handle<v8::Value> argv[]) override;
89 virtual v8::Local<v8::Context> mainWorldScriptContext() const override; 82 virtual v8::Local<v8::Context> mainWorldScriptContext() const override;
90 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle); 83 virtual void load(const WebURL&, mojo::ScopedDataPipeConsumerHandle);
91 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) o verride; 84 virtual void setReferrerForRequest(WebURLRequest&, const WebURL& referrer) o verride;
92 virtual unsigned unloadListenerCount() const override; 85 virtual unsigned unloadListenerCount() const override;
93 virtual void replaceSelection(const WebString&) override; 86 virtual void replaceSelection(const WebString&) override;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // Stores the additional input events offset and scale when device metrics e mulation is enabled. 167 // Stores the additional input events offset and scale when device metrics e mulation is enabled.
175 IntSize m_inputEventsOffsetForEmulation; 168 IntSize m_inputEventsOffsetForEmulation;
176 float m_inputEventsScaleFactorForEmulation; 169 float m_inputEventsScaleFactorForEmulation;
177 }; 170 };
178 171
179 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame()); 172 DEFINE_TYPE_CASTS(WebLocalFrameImpl, WebFrame, frame, frame->isWebLocalFrame(), frame.isWebLocalFrame());
180 173
181 } // namespace blink 174 } // namespace blink
182 175
183 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_ 176 #endif // SKY_ENGINE_WEB_WEBLOCALFRAMEIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/FrameLoaderClientImpl.cpp ('k') | sky/engine/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698