summaryrefslogtreecommitdiffstats
path: root/ui/views/bubble/tray_bubble_view.h
diff options
context:
space:
mode:
authorkuan@chromium.org <kuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-13 06:58:55 +0000
committerkuan@chromium.org <kuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-13 06:58:55 +0000
commit8045d3c8fae9ecae0575a2c6c60c4193712e8953 (patch)
tree880adbe053e894d143572211ca13b277e20b318c /ui/views/bubble/tray_bubble_view.h
parent8d2e3c4657585b908756750672b3889e7434b99e (diff)
downloadchromium_src-8045d3c8fae9ecae0575a2c6c60c4193712e8953.zip
chromium_src-8045d3c8fae9ecae0575a2c6c60c4193712e8953.tar.gz
chromium_src-8045d3c8fae9ecae0575a2c6c60c4193712e8953.tar.bz2
modify View::ViewHierarchyChanged signature
- move pararms to a new struct, add a new |move_view| which is used when a view is moved from one parent to another - this allows NativeViewHost to not remove a reparented view from its widget if its previous and new parents belong to the same widget; this saves resources, and stops spurious webkitvisibilitychange events. - restructured test code and added test BUG=236826 TEST=all tests still pass. TBR=jochen (for content/shell/shell_aura.cc, simple change for ViewHierarchyChanged signature) Review URL: https://chromiumcodereview.appspot.com/14999006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/bubble/tray_bubble_view.h')
-rw-r--r--ui/views/bubble/tray_bubble_view.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ui/views/bubble/tray_bubble_view.h b/ui/views/bubble/tray_bubble_view.h
index ae10cf1..c719cd4 100644
--- a/ui/views/bubble/tray_bubble_view.h
+++ b/ui/views/bubble/tray_bubble_view.h
@@ -169,9 +169,8 @@ class VIEWS_EXPORT TrayBubbleView : public views::BubbleDelegateView {
// Overridden from views::View.
virtual void ChildPreferredSizeChanged(View* child) OVERRIDE;
- virtual void ViewHierarchyChanged(bool is_add,
- views::View* parent,
- views::View* child) OVERRIDE;
+ virtual void ViewHierarchyChanged(
+ const ViewHierarchyChangedDetails& details) OVERRIDE;
private:
InitParams params_;