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

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

Issue 8473006: Revert 110824 - Variety of crashes on XP dbg bots (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « chrome/browser/ui/views/location_bar/location_bar_view.h ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "ui/base/animation/animation_delegate.h" 10 #include "ui/base/animation/animation_delegate.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void set_close_on_deactivate(bool close_on_deactivate) { 53 void set_close_on_deactivate(bool close_on_deactivate) {
54 close_on_deactivate_ = close_on_deactivate; 54 close_on_deactivate_ = close_on_deactivate;
55 } 55 }
56 56
57 bool allow_bubble_offscreen() const { return allow_bubble_offscreen_; } 57 bool allow_bubble_offscreen() const { return allow_bubble_offscreen_; }
58 void set_allow_bubble_offscreen(bool allow_bubble_offscreen) { 58 void set_allow_bubble_offscreen(bool allow_bubble_offscreen) {
59 allow_bubble_offscreen_ = allow_bubble_offscreen; 59 allow_bubble_offscreen_ = allow_bubble_offscreen;
60 } 60 }
61 61
62 View* anchor_view() const { return anchor_view_; } 62 View* anchor_view() const { return anchor_view_; }
63 void set_anchor_view(View* anchor_view) { anchor_view_ = anchor_view; }
64 63
65 bool use_focusless() const { return use_focusless_; } 64 bool use_focusless() const { return use_focusless_; }
66 void set_use_focusless(bool use_focusless) { 65 void set_use_focusless(bool use_focusless) {
67 use_focusless_ = use_focusless; 66 use_focusless_ = use_focusless;
68 } 67 }
69 68
70 // Get the arrow's anchor point in screen space. 69 // Get the arrow's anchor point in screen space.
71 virtual gfx::Point GetAnchorPoint(); 70 virtual gfx::Point GetAnchorPoint();
72 71
73 // Get the arrow's location on the bubble. 72 // Get the arrow's location on the bubble.
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // Create a popup window for focusless bubbles on Linux/ChromeOS. 144 // Create a popup window for focusless bubbles on Linux/ChromeOS.
146 // These bubbles are not interactive and should not gain focus. 145 // These bubbles are not interactive and should not gain focus.
147 bool use_focusless_; 146 bool use_focusless_;
148 147
149 DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView); 148 DISALLOW_COPY_AND_ASSIGN(BubbleDelegateView);
150 }; 149 };
151 150
152 } // namespace views 151 } // namespace views
153 152
154 #endif // UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_ 153 #endif // UI_VIEWS_BUBBLE_BUBBLE_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698