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

Side by Side Diff: ui/views/bubble/tray_bubble_view.h

Issue 117983002: Prefix string16 with base:: in ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 7 years 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 | « ui/views/bubble/bubble_frame_view.cc ('k') | ui/views/button_drag_utils.h » ('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 UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ 5 #ifndef UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_
6 #define UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ 6 #define UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/views/bubble/bubble_delegate.h" 9 #include "ui/views/bubble/bubble_delegate.h"
10 #include "ui/views/mouse_watcher.h" 10 #include "ui/views/mouse_watcher.h"
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 virtual void BubbleViewDestroyed() = 0; 64 virtual void BubbleViewDestroyed() = 0;
65 65
66 // Called when the mouse enters/exits the view. 66 // Called when the mouse enters/exits the view.
67 // Note: This event will only be called if the mouse gets actively moved by 67 // Note: This event will only be called if the mouse gets actively moved by
68 // the user to enter the view. 68 // the user to enter the view.
69 virtual void OnMouseEnteredView() = 0; 69 virtual void OnMouseEnteredView() = 0;
70 virtual void OnMouseExitedView() = 0; 70 virtual void OnMouseExitedView() = 0;
71 71
72 // Called from GetAccessibleState(); should return the appropriate 72 // Called from GetAccessibleState(); should return the appropriate
73 // accessible name for the bubble. 73 // accessible name for the bubble.
74 virtual string16 GetAccessibleNameForBubble() = 0; 74 virtual base::string16 GetAccessibleNameForBubble() = 0;
75 75
76 // Passes responsibility for BubbleDelegateView::GetAnchorRect to the 76 // Passes responsibility for BubbleDelegateView::GetAnchorRect to the
77 // delegate. 77 // delegate.
78 virtual gfx::Rect GetAnchorRect(views::Widget* anchor_widget, 78 virtual gfx::Rect GetAnchorRect(views::Widget* anchor_widget,
79 AnchorType anchor_type, 79 AnchorType anchor_type,
80 AnchorAlignment anchor_alignment) = 0; 80 AnchorAlignment anchor_alignment) = 0;
81 81
82 // Called when a bubble wants to hide/destroy itself (e.g. last visible 82 // Called when a bubble wants to hide/destroy itself (e.g. last visible
83 // child view was closed). 83 // child view was closed).
84 virtual void HideBubble(const TrayBubbleView* bubble_view) = 0; 84 virtual void HideBubble(const TrayBubbleView* bubble_view) = 0;
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 // Used to find any mouse movements. 195 // Used to find any mouse movements.
196 scoped_ptr<MouseWatcher> mouse_watcher_; 196 scoped_ptr<MouseWatcher> mouse_watcher_;
197 197
198 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView); 198 DISALLOW_COPY_AND_ASSIGN(TrayBubbleView);
199 }; 199 };
200 200
201 } // namespace views 201 } // namespace views
202 202
203 #endif // UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_ 203 #endif // UI_VIEWS_BUBBLE_TRAY_BUBBLE_VIEW_H_
OLDNEW
« no previous file with comments | « ui/views/bubble/bubble_frame_view.cc ('k') | ui/views/button_drag_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698