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

Side by Side Diff: chrome/browser/ui/views/extensions/bundle_installed_bubble.cc

Issue 15949029: Use a direct include of utf_string_conversions.h in chrome/browser/ui/, part 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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
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 #include "base/i18n/rtl.h" 5 #include "base/i18n/rtl.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "chrome/browser/extensions/bundle_installer.h" 7 #include "chrome/browser/extensions/bundle_installer.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/views/frame/browser_view.h" 9 #include "chrome/browser/ui/views/frame/browser_view.h"
10 #include "chrome/browser/ui/views/toolbar_view.h" 10 #include "chrome/browser/ui/views/toolbar_view.h"
11 #include "grit/chromium_strings.h" 11 #include "grit/chromium_strings.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
14 #include "grit/ui_resources.h" 14 #include "grit/ui_resources.h"
15 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 }; 151 };
152 152
153 } // namespace 153 } // namespace
154 154
155 void BundleInstaller::ShowInstalledBubble( 155 void BundleInstaller::ShowInstalledBubble(
156 const BundleInstaller* bundle, Browser* browser) { 156 const BundleInstaller* bundle, Browser* browser) {
157 BrowserView* browser_view = BrowserView::GetBrowserViewForBrowser(browser); 157 BrowserView* browser_view = BrowserView::GetBrowserViewForBrowser(browser);
158 views::View* anchor = browser_view->GetToolbarView()->app_menu(); 158 views::View* anchor = browser_view->GetToolbarView()->app_menu();
159 new BundleInstalledBubble(bundle, anchor, views::BubbleBorder::TOP_RIGHT); 159 new BundleInstalledBubble(bundle, anchor, views::BubbleBorder::TOP_RIGHT);
160 } 160 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698