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

Side by Side Diff: ash/launcher/launcher_tooltip_manager.h

Issue 10824059: Fixees launcher tooltip animation settings and its finer visibility bugs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ash/launcher/launcher_tooltip_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_
6 #define ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ 6 #define ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/shelf_layout_manager.h" 9 #include "ash/wm/shelf_layout_manager.h"
10 #include "ash/wm/shelf_types.h" 10 #include "ash/wm/shelf_types.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 virtual void WillChangeVisibilityState( 86 virtual void WillChangeVisibilityState(
87 ShelfLayoutManager::VisibilityState new_state) OVERRIDE; 87 ShelfLayoutManager::VisibilityState new_state) OVERRIDE;
88 virtual void OnAutoHideStateChanged( 88 virtual void OnAutoHideStateChanged(
89 ShelfLayoutManager::AutoHideState new_state) OVERRIDE; 89 ShelfLayoutManager::AutoHideState new_state) OVERRIDE;
90 90
91 private: 91 private:
92 class LauncherTooltipBubble; 92 class LauncherTooltipBubble;
93 friend class test::LauncherViewTest; 93 friend class test::LauncherViewTest;
94 friend class test::LauncherTooltipManagerTest; 94 friend class test::LauncherTooltipManagerTest;
95 95
96 void CancelHidingAnimation();
96 void CloseSoon(); 97 void CloseSoon();
97 void ShowInternal(); 98 void ShowInternal();
98 void CreateBubble(views::View* anchor, const string16& text); 99 void CreateBubble(views::View* anchor, const string16& text);
99 100
100 LauncherTooltipBubble* view_; 101 LauncherTooltipBubble* view_;
101 views::Widget* widget_; 102 views::Widget* widget_;
102 views::View* anchor_; 103 views::View* anchor_;
103 string16 text_; 104 string16 text_;
104 ShelfAlignment alignment_; 105 ShelfAlignment alignment_;
105 scoped_ptr<base::Timer> timer_; 106 scoped_ptr<base::Timer> timer_;
106 107
107 ShelfLayoutManager* shelf_layout_manager_; 108 ShelfLayoutManager* shelf_layout_manager_;
108 LauncherView* launcher_view_; 109 LauncherView* launcher_view_;
109 110
110 DISALLOW_COPY_AND_ASSIGN(LauncherTooltipManager); 111 DISALLOW_COPY_AND_ASSIGN(LauncherTooltipManager);
111 }; 112 };
112 113
113 } // namespace internal 114 } // namespace internal
114 } // namespace ash 115 } // namespace ash
115 116
116 #endif // ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ 117 #endif // ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/launcher/launcher_tooltip_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698