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

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

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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/macros.h"
5 #include "chrome/browser/extensions/bundle_installer.h" 6 #include "chrome/browser/extensions/bundle_installer.h"
6 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
7 #include "chrome/browser/ui/views/frame/browser_view.h" 8 #include "chrome/browser/ui/views/frame/browser_view.h"
8 #include "chrome/browser/ui/views/toolbar/app_menu_button.h" 9 #include "chrome/browser/ui/views/toolbar/app_menu_button.h"
9 #include "chrome/browser/ui/views/toolbar/toolbar_view.h" 10 #include "chrome/browser/ui/views/toolbar/toolbar_view.h"
10 #include "ui/base/resource/resource_bundle.h" 11 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/resources/grit/ui_resources.h" 12 #include "ui/resources/grit/ui_resources.h"
12 #include "ui/views/bubble/bubble_delegate.h" 13 #include "ui/views/bubble/bubble_delegate.h"
13 #include "ui/views/controls/button/image_button.h" 14 #include "ui/views/controls/button/image_button.h"
14 #include "ui/views/controls/label.h" 15 #include "ui/views/controls/label.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 }; 173 };
173 174
174 } // namespace 175 } // namespace
175 176
176 void BundleInstaller::ShowInstalledBubble( 177 void BundleInstaller::ShowInstalledBubble(
177 const BundleInstaller* bundle, Browser* browser) { 178 const BundleInstaller* bundle, Browser* browser) {
178 BrowserView* browser_view = BrowserView::GetBrowserViewForBrowser(browser); 179 BrowserView* browser_view = BrowserView::GetBrowserViewForBrowser(browser);
179 views::View* anchor = browser_view->GetToolbarView()->app_menu_button(); 180 views::View* anchor = browser_view->GetToolbarView()->app_menu_button();
180 new BundleInstalledBubble(bundle, anchor, views::BubbleBorder::TOP_RIGHT); 181 new BundleInstalledBubble(bundle, anchor, views::BubbleBorder::TOP_RIGHT);
181 } 182 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698