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

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

Issue 2724543002: Renamed deviceScaleFactor() to deviceScaleFactorDeprecated() in Page (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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 { 77 float FrameHost::deviceScaleFactorDeprecated() const {
78 return m_page->deviceScaleFactor(); 78 return m_page->deviceScaleFactorDeprecated();
79 } 79 }
80 80
81 BrowserControls& FrameHost::browserControls() { 81 BrowserControls& FrameHost::browserControls() {
82 return *m_browserControls; 82 return *m_browserControls;
83 } 83 }
84 84
85 const BrowserControls& FrameHost::browserControls() const { 85 const BrowserControls& FrameHost::browserControls() const {
86 return *m_browserControls; 86 return *m_browserControls;
87 } 87 }
88 88
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 196
197 FrameView* rootView = page().deprecatedLocalMainFrame()->view(); 197 FrameView* rootView = page().deprecatedLocalMainFrame()->view();
198 198
199 if (!rootView) 199 if (!rootView)
200 return; 200 return;
201 201
202 rootView->setNeedsLayout(); 202 rootView->setNeedsLayout();
203 } 203 }
204 204
205 } // namespace blink 205 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameHost.h ('k') | third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698