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

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

Issue 14742002: Render opaque border with no shadow for web contents modal dialogs under Views/Win32 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ChromeOS build failure Created 7 years, 7 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 | « chrome/browser/ui/views/constrained_window_views.cc ('k') | ui/views/bubble/bubble_border.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 UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ 5 #ifndef UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_
6 #define UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ 6 #define UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "ui/views/background.h" 10 #include "ui/views/background.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 BOTTOM_CENTER = CENTER | BOTTOM, 49 BOTTOM_CENTER = CENTER | BOTTOM,
50 LEFT_CENTER = CENTER | VERTICAL, 50 LEFT_CENTER = CENTER | VERTICAL,
51 RIGHT_CENTER = CENTER | VERTICAL | RIGHT, 51 RIGHT_CENTER = CENTER | VERTICAL | RIGHT,
52 NONE = 16, // No arrow. Positioned under the supplied rect. 52 NONE = 16, // No arrow. Positioned under the supplied rect.
53 FLOAT = 17, // No arrow. Centered over the supplied rect. 53 FLOAT = 17, // No arrow. Centered over the supplied rect.
54 }; 54 };
55 55
56 enum Shadow { 56 enum Shadow {
57 SHADOW = 0, 57 SHADOW = 0,
58 NO_SHADOW, 58 NO_SHADOW,
59 NO_SHADOW_OPAQUE_BORDER,
59 BIG_SHADOW, 60 BIG_SHADOW,
60 SMALL_SHADOW, 61 SMALL_SHADOW,
61 SHADOW_COUNT, 62 SHADOW_COUNT,
62 }; 63 };
63 64
64 // The position of the bubble in relation to the anchor. 65 // The position of the bubble in relation to the anchor.
65 enum BubbleAlignment { 66 enum BubbleAlignment {
66 // The tip of the arrow points to the middle of the anchor. 67 // The tip of the arrow points to the middle of the anchor.
67 ALIGN_ARROW_TO_MID_ANCHOR, 68 ALIGN_ARROW_TO_MID_ANCHOR,
68 // The edge nearest to the arrow is lined up with the edge of the anchor. 69 // The edge nearest to the arrow is lined up with the edge of the anchor.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 199
199 private: 200 private:
200 BubbleBorder* border_; 201 BubbleBorder* border_;
201 202
202 DISALLOW_COPY_AND_ASSIGN(BubbleBackground); 203 DISALLOW_COPY_AND_ASSIGN(BubbleBackground);
203 }; 204 };
204 205
205 } // namespace views 206 } // namespace views
206 207
207 #endif // UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_ 208 #endif // UI_VIEWS_BUBBLE_BUBBLE_BORDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/constrained_window_views.cc ('k') | ui/views/bubble/bubble_border.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698