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

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

Issue 2716153003: Removed FrameHost::chromeClient() (Closed)
Patch Set: Small feedback Created 3 years, 9 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 ChromeClient& FrameHost::chromeClient() {
78 return m_page->chromeClient();
79 }
80
81 const ChromeClient& FrameHost::chromeClient() const {
82 return m_page->chromeClient();
83 }
84
85 UseCounter& FrameHost::useCounter() { 77 UseCounter& FrameHost::useCounter() {
86 return m_page->useCounter(); 78 return m_page->useCounter();
87 } 79 }
88 80
89 const UseCounter& FrameHost::useCounter() const { 81 const UseCounter& FrameHost::useCounter() const {
90 return m_page->useCounter(); 82 return m_page->useCounter();
91 } 83 }
92 84
93 Deprecation& FrameHost::deprecation() { 85 Deprecation& FrameHost::deprecation() {
94 return m_page->deprecation(); 86 return m_page->deprecation();
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 212
221 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); 213 FrameView* rootView = page().deprecatedLocalMainFrame()->view();
222 214
223 if (!rootView) 215 if (!rootView)
224 return; 216 return;
225 217
226 rootView->setNeedsLayout(); 218 rootView->setNeedsLayout();
227 } 219 }
228 220
229 } // namespace blink 221 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698