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

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

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/linear_animation.h" 9 #include "app/linear_animation.h"
10 #include "app/l10n_util.h"
11 #include "app/resource_bundle.h" 10 #include "app/resource_bundle.h"
12 #include "app/text_elider.h" 11 #include "app/text_elider.h"
13 #include "base/i18n/rtl.h" 12 #include "base/i18n/rtl.h"
14 #include "base/message_loop.h" 13 #include "base/message_loop.h"
15 #include "base/string_util.h" 14 #include "base/string_util.h"
16 #include "chrome/browser/browser_theme_provider.h" 15 #include "chrome/browser/browser_theme_provider.h"
17 #include "gfx/canvas_skia.h" 16 #include "gfx/canvas_skia.h"
18 #include "gfx/point.h" 17 #include "gfx/point.h"
19 #include "googleurl/src/gurl.h" 18 #include "googleurl/src/gurl.h"
20 #include "grit/generated_resources.h" 19 #include "grit/generated_resources.h"
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
835 834
836 void StatusBubbleViews::SetBubbleWidth(int width) { 835 void StatusBubbleViews::SetBubbleWidth(int width) {
837 size_.set_width(width); 836 size_.set_width(width);
838 SetBounds(position_.x(), position_.y(), size_.width(), size_.height()); 837 SetBounds(position_.x(), position_.y(), size_.width(), size_.height());
839 } 838 }
840 839
841 void StatusBubbleViews::CancelExpandTimer() { 840 void StatusBubbleViews::CancelExpandTimer() {
842 if (!expand_timer_factory_.empty()) 841 if (!expand_timer_factory_.empty())
843 expand_timer_factory_.RevokeAll(); 842 expand_timer_factory_.RevokeAll();
844 } 843 }
OLDNEW
« no previous file with comments | « chrome/browser/views/shell_dialogs_win.cc ('k') | chrome/browser/views/tab_contents/render_view_context_menu_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698