| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_VIEW_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "chrome/browser/ui/extensions/extension_installed_bubble.h" | 9 #include "chrome/browser/ui/extensions/extension_installed_bubble.h" |
| 10 #include "ui/views/bubble/bubble_delegate.h" | 10 #include "ui/views/bubble/bubble_delegate.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 const SkBitmap& icon); | 37 const SkBitmap& icon); |
| 38 | 38 |
| 39 private: | 39 private: |
| 40 ExtensionInstalledBubbleView(const extensions::Extension* extension, | 40 ExtensionInstalledBubbleView(const extensions::Extension* extension, |
| 41 Browser* browser, | 41 Browser* browser, |
| 42 const SkBitmap& icon); | 42 const SkBitmap& icon); |
| 43 | 43 |
| 44 virtual ~ExtensionInstalledBubbleView(); | 44 virtual ~ExtensionInstalledBubbleView(); |
| 45 | 45 |
| 46 // ExtensionInstalledBubble::Delegate: | 46 // ExtensionInstalledBubble::Delegate: |
| 47 virtual bool MaybeShowNow() OVERRIDE; | 47 virtual bool MaybeShowNow() override; |
| 48 | 48 |
| 49 // views::WidgetDelegate: | 49 // views::WidgetDelegate: |
| 50 virtual void WindowClosing() OVERRIDE; | 50 virtual void WindowClosing() override; |
| 51 | 51 |
| 52 // views::BubbleDelegate: | 52 // views::BubbleDelegate: |
| 53 virtual gfx::Rect GetAnchorRect() const OVERRIDE; | 53 virtual gfx::Rect GetAnchorRect() const override; |
| 54 | 54 |
| 55 ExtensionInstalledBubble bubble_; | 55 ExtensionInstalledBubble bubble_; |
| 56 | 56 |
| 57 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubbleView); | 57 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubbleView); |
| 58 }; | 58 }; |
| 59 | 59 |
| 60 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_VIEW_H_ | 60 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_VIEW_H_ |
| OLD | NEW |