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

Side by Side Diff: chrome/browser/ui/views/browser_bubble.h

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real 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
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 CHROME_BROWSER_UI_VIEWS_BROWSER_BUBBLE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BROWSER_BUBBLE_H_
6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_BUBBLE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BROWSER_BUBBLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ui/views/bubble/bubble_border.h" 9 #include "ui/views/bubble/bubble_border.h"
10 #include "ui/views/widget/widget.h"
10 #include "views/view.h" 11 #include "views/view.h"
11 #include "views/widget/widget.h"
12 12
13 class Browser; 13 class Browser;
14 class BrowserBubbleHost; 14 class BrowserBubbleHost;
15 15
16 // A class for creating a floating window that is "attached" to a particular 16 // A class for creating a floating window that is "attached" to a particular
17 // Browser. If you don't install a delegate, the bubble will hide 17 // Browser. If you don't install a delegate, the bubble will hide
18 // automatically when the browser moves. The bubble is only shown manually. 18 // automatically when the browser moves. The bubble is only shown manually.
19 // Users are expected to delete the bubble when finished with it. 19 // Users are expected to delete the bubble when finished with it.
20 // Class assumes that RTL related mirroring is done by the view. 20 // Class assumes that RTL related mirroring is done by the view.
21 class BrowserBubble { 21 class BrowserBubble {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // Is the bubble attached to a Browser window. 133 // Is the bubble attached to a Browser window.
134 bool attached_; 134 bool attached_;
135 135
136 // Non-owning pointer to the host of this bubble. 136 // Non-owning pointer to the host of this bubble.
137 BrowserBubbleHost* bubble_host_; 137 BrowserBubbleHost* bubble_host_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(BrowserBubble); 139 DISALLOW_COPY_AND_ASSIGN(BrowserBubble);
140 }; 140 };
141 141
142 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_BUBBLE_H_ 142 #endif // CHROME_BROWSER_UI_VIEWS_BROWSER_BUBBLE_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bookmarks/bookmark_menu_delegate.cc ('k') | chrome/browser/ui/views/browser_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698