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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 10696158: Rename WasRestored to WasShown across all uses. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Bring to ToT to commit Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index bab322ba6663983816a0c2f4debefe678d6d6046..ba600e5db0fb595f5fcb1b8afa14f27a6bb4ea66 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -686,7 +686,7 @@ RenderWidgetHost* RenderWidgetHostViewWin::GetRenderWidgetHost() const {
return render_widget_host_;
}
-void RenderWidgetHostViewWin::WasRestored() {
+void RenderWidgetHostViewWin::WasShown() {
if (!is_hidden_)
return;
@@ -697,7 +697,7 @@ void RenderWidgetHostViewWin::WasRestored() {
// |render_widget_host_| may be NULL if the WebContentsImpl is in the process
// of closing.
if (render_widget_host_)
- render_widget_host_->WasRestored();
+ render_widget_host_->WasShown();
}
void RenderWidgetHostViewWin::WasHidden() {
@@ -963,7 +963,7 @@ bool RenderWidgetHostViewWin::IsSurfaceAvailableForCopy() const {
void RenderWidgetHostViewWin::Show() {
ShowWindow(SW_SHOW);
- WasRestored();
+ WasShown();
}
void RenderWidgetHostViewWin::Hide() {
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.h ('k') | content/browser/renderer_host/test_render_view_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698