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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2811793005: Rename LocalFrame::Script() to GetScriptController() (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index 3b250f3b41d3e2180d0028f004c312db0c283c2c..97a5400c3f033bc1620461507f89e42ebe2b974b 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -146,7 +146,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
NavigationScheduler& GetNavigationScheduler() const;
FrameSelection& Selection() const;
InputMethodController& GetInputMethodController() const;
- ScriptController& Script() const;
+ ScriptController& GetScriptController() const;
SpellChecker& GetSpellChecker() const;
FrameConsole& Console() const;
@@ -263,7 +263,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
// Usually 0. Non-null if this is the top frame of PagePopup.
Member<Element> page_popup_owner_;
- const Member<ScriptController> script_;
+ const Member<ScriptController> script_controller_;
const Member<Editor> editor_;
const Member<SpellChecker> spell_checker_;
const Member<FrameSelection> selection_;
@@ -298,8 +298,8 @@ inline FrameView* LocalFrame::View() const {
return view_.Get();
}
-inline ScriptController& LocalFrame::Script() const {
- return *script_;
+inline ScriptController& LocalFrame::GetScriptController() const {
+ return *script_controller_;
}
inline FrameSelection& LocalFrame::Selection() const {
« no previous file with comments | « third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698