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

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

Issue 2923053002: Move MainWorldScriptContext accessor/method from WebFrame to WebLocalFrame. (Closed)
Patch Set: Rebasing... Created 3 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
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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 unsigned num_sources, 139 unsigned num_sources,
140 bool user_gesture, 140 bool user_gesture,
141 ScriptExecutionType, 141 ScriptExecutionType,
142 WebScriptExecutionCallback*) override; 142 WebScriptExecutionCallback*) override;
143 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled( 143 v8::Local<v8::Value> CallFunctionEvenIfScriptDisabled(
144 v8::Local<v8::Function>, 144 v8::Local<v8::Function>,
145 v8::Local<v8::Value>, 145 v8::Local<v8::Value>,
146 int argc, 146 int argc,
147 v8::Local<v8::Value> argv[]) override; 147 v8::Local<v8::Value> argv[]) override;
148 v8::Local<v8::Context> MainWorldScriptContext() const override; 148 v8::Local<v8::Context> MainWorldScriptContext() const override;
149 v8::Local<v8::Object> GlobalProxy() const override;
149 void Reload(WebFrameLoadType) override; 150 void Reload(WebFrameLoadType) override;
150 void ReloadWithOverrideURL(const WebURL& override_url, 151 void ReloadWithOverrideURL(const WebURL& override_url,
151 WebFrameLoadType) override; 152 WebFrameLoadType) override;
152 void ReloadImage(const WebNode&) override; 153 void ReloadImage(const WebNode&) override;
153 void ReloadLoFiImages() override; 154 void ReloadLoFiImages() override;
154 void LoadRequest(const WebURLRequest&) override; 155 void LoadRequest(const WebURLRequest&) override;
155 void LoadHTMLString(const WebData& html, 156 void LoadHTMLString(const WebData& html,
156 const WebURL& base_url, 157 const WebURL& base_url,
157 const WebURL& unreachable_url, 158 const WebURL& unreachable_url,
158 bool replace) override; 159 bool replace) override;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 525
525 DEFINE_TYPE_CASTS(WebLocalFrameImpl, 526 DEFINE_TYPE_CASTS(WebLocalFrameImpl,
526 WebFrame, 527 WebFrame,
527 frame, 528 frame,
528 frame->IsWebLocalFrame(), 529 frame->IsWebLocalFrame(),
529 frame.IsWebLocalFrame()); 530 frame.IsWebLocalFrame());
530 531
531 } // namespace blink 532 } // namespace blink
532 533
533 #endif 534 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebRemoteFrameImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698