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

Unified Diff: content/browser/web_contents/web_contents_view_aura.h

Issue 1733173002: Mac: Make calling WebContents::WasShown/WasHidden the responsibility of the content layer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Respond to comments Created 4 years, 10 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/web_contents/web_contents_view_aura.h
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h
index b5f2cdc48a79b57b4416ac412eab4d67085bed3d..2c4b41d6cc4e2a8b53692a9bae1b6f7b89090485 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -160,9 +160,6 @@ class CONTENT_EXPORT WebContentsViewAura
// Overridden from aura::WindowObserver:
void OnWindowVisibilityChanged(aura::Window* window, bool visible) override;
- // Update the web contents visiblity.
- void UpdateWebContentsVisibility(bool visible);
-
FRIEND_TEST_ALL_PREFIXES(WebContentsViewAuraTest, EnableDisableOverscroll);
scoped_ptr<aura::Window> window_;
@@ -199,10 +196,6 @@ class CONTENT_EXPORT WebContentsViewAura
scoped_ptr<GestureNavSimple> gesture_nav_simple_;
- // On Windows we can run into problems if resources get released within the
- // initialization phase while the content (and its dimensions) are not known.
- bool is_or_was_visible_;
-
DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
};

Powered by Google App Engine
This is Rietveld 408576698