| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/ui/views/extensions/extension_installed_bubble.h" | 5 #include "chrome/browser/ui/views/extensions/extension_installed_bubble.h" | 
| 6 | 6 | 
| 7 #include <algorithm> | 7 #include <algorithm> | 
| 8 | 8 | 
| 9 #include "base/i18n/rtl.h" | 9 #include "base/i18n/rtl.h" | 
| 10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" | 
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" | 
| 12 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" | 
| 13 #include "chrome/browser/ui/browser.h" | 13 #include "chrome/browser/ui/browser.h" | 
| 14 #include "chrome/browser/ui/browser_window.h" | 14 #include "chrome/browser/ui/browser_window.h" | 
| 15 #include "chrome/browser/ui/views/browser_actions_container.h" | 15 #include "chrome/browser/ui/views/browser_actions_container.h" | 
| 16 #include "chrome/browser/ui/views/frame/browser_view.h" | 16 #include "chrome/browser/ui/views/frame/browser_view.h" | 
| 17 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" | 17 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" | 
| 18 #include "chrome/browser/ui/views/toolbar_view.h" | 18 #include "chrome/browser/ui/views/toolbar_view.h" | 
| 19 #include "chrome/common/extensions/extension.h" | 19 #include "chrome/common/extensions/extension.h" | 
| 20 #include "chrome/common/extensions/extension_action.h" | 20 #include "chrome/common/extensions/extension_action.h" | 
| 21 #include "content/common/notification_details.h" | 21 #include "content/common/notification_details.h" | 
| 22 #include "content/common/notification_source.h" | 22 #include "content/common/notification_source.h" | 
| 23 #include "content/common/notification_type.h" | 23 #include "content/common/notification_type.h" | 
| 24 #include "grit/generated_resources.h" | 24 #include "grit/generated_resources.h" | 
| 25 #include "grit/theme_resources.h" | 25 #include "grit/theme_resources_standard.h" | 
| 26 #include "ui/base/l10n/l10n_util.h" | 26 #include "ui/base/l10n/l10n_util.h" | 
| 27 #include "ui/base/resource/resource_bundle.h" | 27 #include "ui/base/resource/resource_bundle.h" | 
| 28 #include "views/controls/button/image_button.h" | 28 #include "views/controls/button/image_button.h" | 
| 29 #include "views/controls/image_view.h" | 29 #include "views/controls/image_view.h" | 
| 30 #include "views/controls/label.h" | 30 #include "views/controls/label.h" | 
| 31 #include "views/layout/layout_constants.h" | 31 #include "views/layout/layout_constants.h" | 
| 32 #include "views/view.h" | 32 #include "views/view.h" | 
| 33 | 33 | 
| 34 namespace { | 34 namespace { | 
| 35 | 35 | 
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 372   Release();  // Balanced in ctor. | 372   Release();  // Balanced in ctor. | 
| 373 } | 373 } | 
| 374 | 374 | 
| 375 bool ExtensionInstalledBubble::CloseOnEscape() { | 375 bool ExtensionInstalledBubble::CloseOnEscape() { | 
| 376   return true; | 376   return true; | 
| 377 } | 377 } | 
| 378 | 378 | 
| 379 bool ExtensionInstalledBubble::FadeInOnShow() { | 379 bool ExtensionInstalledBubble::FadeInOnShow() { | 
| 380   return true; | 380   return true; | 
| 381 } | 381 } | 
| OLD | NEW | 
|---|