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

Unified Diff: ash/system/tray/system_tray_bubble.h

Issue 2930123002: Tablet WM : Swiping on system tray bubble. (Closed)
Patch Set: Fixed comments. Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/tray/system_tray_bubble.h
diff --git a/ash/system/tray/system_tray_bubble.h b/ash/system/tray/system_tray_bubble.h
index 4e4c519ff22e55e8bbf2520705517a12f46fb184..1d1213b5d3faeab8d5e9a0eb42824cf54f3cdd4b 100644
--- a/ash/system/tray/system_tray_bubble.h
+++ b/ash/system/tray/system_tray_bubble.h
@@ -61,6 +61,10 @@ class SystemTrayBubble {
// BUBBLE_TYPE_DEFAULT BubbleType.
void RecordVisibleRowMetrics();
+ // Update the bounds of the system tray bubble. Close the bubble if
+ // |close_bubble| is set.
+ void AnimateToTargetBounds(const gfx::Rect& target_bounds, bool close_bubble);
+
private:
// Updates the bottom padding of the |bubble_view_| based on the
// |bubble_type_|.
@@ -78,6 +82,10 @@ class SystemTrayBubble {
int autoclose_delay_;
base::OneShotTimer autoclose_;
+ // Used in maximize mode to make sure the system tray bubble only be shown in
+ // work area.
+ std::unique_ptr<aura::Window> clipping_window_;
+
DISALLOW_COPY_AND_ASSIGN(SystemTrayBubble);
};
« no previous file with comments | « ash/system/tray/system_tray.cc ('k') | ash/system/tray/system_tray_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698