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

Side by Side Diff: Source/web/ChromeClientImpl.cpp

Issue 1167653007: Cleanup: Rename ChromeClient::setWindowRect and setWindowRectInternal. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 void* ChromeClientImpl::webView() const 128 void* ChromeClientImpl::webView() const
129 { 129 {
130 return static_cast<void*>(m_webView); 130 return static_cast<void*>(m_webView);
131 } 131 }
132 132
133 void ChromeClientImpl::chromeDestroyed() 133 void ChromeClientImpl::chromeDestroyed()
134 { 134 {
135 // Our lifetime is bound to the WebViewImpl. 135 // Our lifetime is bound to the WebViewImpl.
136 } 136 }
137 137
138 void ChromeClientImpl::setWindowRectInternal(const IntRect& r) 138 void ChromeClientImpl::setWindowRect(const IntRect& r)
139 { 139 {
140 if (m_webView->client()) 140 if (m_webView->client())
141 m_webView->client()->setWindowRect(r); 141 m_webView->client()->setWindowRect(r);
142 } 142 }
143 143
144 IntRect ChromeClientImpl::windowRect() 144 IntRect ChromeClientImpl::windowRect()
145 { 145 {
146 WebRect rect; 146 WebRect rect;
147 if (m_webView->client()) 147 if (m_webView->client())
148 rect = m_webView->client()->rootWindowRect(); 148 rect = m_webView->client()->rootWindowRect();
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView()) 922 if (m_webView->rootGraphicsLayer() && m_webView->layerTreeView())
923 m_webView->page()->frameHost().pinchViewport().registerLayersWithTreeVie w(m_webView->layerTreeView()); 923 m_webView->page()->frameHost().pinchViewport().registerLayersWithTreeVie w(m_webView->layerTreeView());
924 } 924 }
925 925
926 void ChromeClientImpl::didUpdateTopControls() const 926 void ChromeClientImpl::didUpdateTopControls() const
927 { 927 {
928 m_webView->didUpdateTopControls(); 928 m_webView->didUpdateTopControls();
929 } 929 }
930 930
931 } // namespace blink 931 } // namespace blink
OLDNEW
« no previous file with comments | « Source/web/ChromeClientImpl.h ('k') | Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698