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

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

Issue 24469006: Fixing crash Report - Magic Signature: views::View::ConvertPointToScreen (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 | ui/views/bubble/bubble_delegate.cc » ('j') | ui/views/bubble/bubble_delegate.cc » ('J')
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_BUBBLE_DELEGATE_H_ 5 #ifndef UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_
6 #define UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ 6 #define UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "ui/gfx/animation/animation_delegate.h" 9 #include "ui/gfx/animation/animation_delegate.h"
10 #include "ui/views/bubble/bubble_border.h" 10 #include "ui/views/bubble/bubble_border.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 void UpdateColorsFromTheme(const ui::NativeTheme* theme); 160 void UpdateColorsFromTheme(const ui::NativeTheme* theme);
161 161
162 #if defined(OS_WIN) && !defined(USE_AURA) 162 #if defined(OS_WIN) && !defined(USE_AURA)
163 // Get bounds for the Windows-only widget that hosts the bubble's contents. 163 // Get bounds for the Windows-only widget that hosts the bubble's contents.
164 gfx::Rect GetBubbleClientBounds() const; 164 gfx::Rect GetBubbleClientBounds() const;
165 #endif 165 #endif
166 166
167 // Handles widget visibility changes. 167 // Handles widget visibility changes.
168 void HandleVisibilityChanged(Widget* widget, bool visible); 168 void HandleVisibilityChanged(Widget* widget, bool visible);
169 169
170 // Detach the bubble from the anchor (has no effect if there is no anchor).
171 void DetachFromAnchor();
172
170 // Fade animation for bubble. 173 // Fade animation for bubble.
171 scoped_ptr<gfx::SlideAnimation> fade_animation_; 174 scoped_ptr<gfx::SlideAnimation> fade_animation_;
172 175
173 // Flags controlling bubble closure on the escape key and deactivation. 176 // Flags controlling bubble closure on the escape key and deactivation.
174 bool close_on_esc_; 177 bool close_on_esc_;
175 bool close_on_deactivate_; 178 bool close_on_deactivate_;
176 179
177 // The view and widget to which this bubble is anchored. 180 // The view and widget to which this bubble is anchored.
178 View* anchor_view_; 181 View* anchor_view_;
179 Widget* anchor_widget_; 182 Widget* anchor_widget_;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 222
220 // Parent native window of the bubble. 223 // Parent native window of the bubble.
221 gfx::NativeView parent_window_; 224 gfx::NativeView parent_window_;
222 225
223 DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView); 226 DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView);
224 }; 227 };
225 228
226 } // namespace views 229 } // namespace views
227 230
228 #endif // UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ 231 #endif // UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/views/bubble/bubble_delegate.cc » ('j') | ui/views/bubble/bubble_delegate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698