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

Side by Side Diff: chrome/browser/views/status_bubble_views.cc

Issue 115806: Fix broken toolkit_views build by adding include of message_loop. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "chrome/browser/views/status_bubble_views.h" 5 #include "chrome/browser/views/status_bubble_views.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/gfx/canvas.h" 9 #include "app/gfx/canvas.h"
10 #include "app/gfx/text_elider.h" 10 #include "app/gfx/text_elider.h"
11 #include "app/l10n_util.h" 11 #include "app/l10n_util.h"
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 #include "app/l10n_util_win.h" 13 #include "app/l10n_util_win.h"
14 #endif 14 #endif
15 #include "app/animation.h" 15 #include "app/animation.h"
16 #include "app/resource_bundle.h" 16 #include "app/resource_bundle.h"
17 #include "base/message_loop.h"
17 #include "base/string_util.h" 18 #include "base/string_util.h"
18 #include "googleurl/src/gurl.h" 19 #include "googleurl/src/gurl.h"
19 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
20 #include "grit/theme_resources.h" 21 #include "grit/theme_resources.h"
21 #include "net/base/net_util.h" 22 #include "net/base/net_util.h"
22 #include "third_party/skia/include/core/SkPaint.h" 23 #include "third_party/skia/include/core/SkPaint.h"
23 #include "third_party/skia/include/core/SkPath.h" 24 #include "third_party/skia/include/core/SkPath.h"
24 #include "third_party/skia/include/core/SkRect.h" 25 #include "third_party/skia/include/core/SkRect.h"
25 #include "views/controls/label.h" 26 #include "views/controls/label.h"
26 #include "views/widget/root_view.h" 27 #include "views/widget/root_view.h"
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
665 frame_->GetBounds(&frame_bounds, false); 666 frame_->GetBounds(&frame_bounds, false);
666 int mirrored_x = frame_bounds.width() - x - w; 667 int mirrored_x = frame_bounds.width() - x - w;
667 position_.SetPoint(mirrored_x, y); 668 position_.SetPoint(mirrored_x, y);
668 } else { 669 } else {
669 position_.SetPoint(x, y); 670 position_.SetPoint(x, y);
670 } 671 }
671 672
672 size_.SetSize(w, h); 673 size_.SetSize(w, h);
673 Reposition(); 674 Reposition();
674 } 675 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698