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

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

Issue 2719293002: Removed FrameHost::deviceScaleFactorDeprecated() (Closed)
Patch Set: Rebase 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 float FrameHost::deviceScaleFactorDeprecated() const {
78 return m_page->deviceScaleFactorDeprecated();
79 }
80
81 BrowserControls& FrameHost::browserControls() { 77 BrowserControls& FrameHost::browserControls() {
82 return *m_browserControls; 78 return *m_browserControls;
83 } 79 }
84 80
85 const BrowserControls& FrameHost::browserControls() const { 81 const BrowserControls& FrameHost::browserControls() const {
86 return *m_browserControls; 82 return *m_browserControls;
87 } 83 }
88 84
89 OverscrollController& FrameHost::overscrollController() { 85 OverscrollController& FrameHost::overscrollController() {
90 return *m_overscrollController; 86 return *m_overscrollController;
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 192
197 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); 193 FrameView* rootView = page().deprecatedLocalMainFrame()->view();
198 194
199 if (!rootView) 195 if (!rootView)
200 return; 196 return;
201 197
202 rootView->setNeedsLayout(); 198 rootView->setNeedsLayout();
203 } 199 }
204 200
205 } // namespace blink 201 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | third_party/WebKit/Source/core/frame/LocalFrame.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698