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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameHost.cpp

Issue 2709263003: Removed FrameHost::settings() (Closed)
Patch Set: Switched if statement to use page Created 3 years, 10 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 FrameHost::~FrameHost() {} 67 FrameHost::~FrameHost() {}
68 68
69 Page& FrameHost::page() { 69 Page& FrameHost::page() {
70 return *m_page; 70 return *m_page;
71 } 71 }
72 72
73 const Page& FrameHost::page() const { 73 const Page& FrameHost::page() const {
74 return *m_page; 74 return *m_page;
75 } 75 }
76 76
77 Settings& FrameHost::settings() {
78 return m_page->settings();
79 }
80
81 const Settings& FrameHost::settings() const {
82 return m_page->settings();
83 }
84
85 ChromeClient& FrameHost::chromeClient() { 77 ChromeClient& FrameHost::chromeClient() {
86 return m_page->chromeClient(); 78 return m_page->chromeClient();
87 } 79 }
88 80
89 const ChromeClient& FrameHost::chromeClient() const { 81 const ChromeClient& FrameHost::chromeClient() const {
90 return m_page->chromeClient(); 82 return m_page->chromeClient();
91 } 83 }
92 84
93 UseCounter& FrameHost::useCounter() { 85 UseCounter& FrameHost::useCounter() {
94 return m_page->useCounter(); 86 return m_page->useCounter();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 220
229 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); 221 FrameView* rootView = page().deprecatedLocalMainFrame()->view();
230 222
231 if (!rootView) 223 if (!rootView)
232 return; 224 return;
233 225
234 rootView->setNeedsLayout(); 226 rootView->setNeedsLayout();
235 } 227 }
236 228
237 } // namespace blink 229 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698