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

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

Issue 12342028: make menus, bubbles, etc. top level windows on aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index 175d2ec887efa358a28fcf6f6a00e2f5d2b9b15a..ca41bdfda80ebcf33f49de45aac7059bba1dfcff 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -147,6 +147,9 @@ class OverscrollWindowDelegate : public aura::WindowDelegate {
return gfx::Size();
}
+ virtual void SetHostTransitionBounds(const gfx::Rect& bounds) OVERRIDE {
+ }
+
virtual void OnBoundsChanged(const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) OVERRIDE {
}
@@ -212,6 +215,9 @@ class OverscrollWindowDelegate : public aura::WindowDelegate {
delete this;
}
+ virtual void OnWindowHidingAnimationCompleted() OVERRIDE {
+ }
+
virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE {
}
@@ -1480,6 +1486,9 @@ gfx::Size WebContentsViewAura::GetMaximumSize() const {
return gfx::Size();
}
+void WebContentsViewAura::SetHostTransitionBounds(const gfx::Rect& bounds) {
+}
+
void WebContentsViewAura::OnBoundsChanged(const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds) {
SizeChangedCommon(new_bounds.size());
@@ -1542,6 +1551,9 @@ void WebContentsViewAura::OnWindowDestroying() {
void WebContentsViewAura::OnWindowDestroyed() {
}
+void WebContentsViewAura::OnWindowHidingAnimationCompleted() {
+}
+
void WebContentsViewAura::OnWindowTargetVisibilityChanged(bool visible) {
if (visible)
web_contents_->WasShown();

Powered by Google App Engine
This is Rietveld 408576698