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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_installed_bubble.h

Issue 8870003: Merge BorderContentsView into BubbleFrameView; simplify. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge. Created 9 years 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) 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 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/public/browser/notification_observer.h" 9 #include "content/public/browser/notification_observer.h"
10 #include "content/public/browser/notification_registrar.h" 10 #include "content/public/browser/notification_registrar.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // content::NotificationObserver 58 // content::NotificationObserver
59 virtual void Observe(int type, 59 virtual void Observe(int type,
60 const content::NotificationSource& source, 60 const content::NotificationSource& source,
61 const content::NotificationDetails& details) OVERRIDE; 61 const content::NotificationDetails& details) OVERRIDE;
62 62
63 // views::WidgetDelegate 63 // views::WidgetDelegate
64 virtual void WindowClosing() OVERRIDE; 64 virtual void WindowClosing() OVERRIDE;
65 65
66 // views::BubbleDelegate 66 // views::BubbleDelegate
67 virtual gfx::Rect GetAnchorRect() OVERRIDE; 67 virtual gfx::Rect GetAnchorRect() OVERRIDE;
68 virtual views::BubbleBorder::ArrowLocation GetArrowLocation() const OVERRIDE;
69 68
70 const Extension* extension_; 69 const Extension* extension_;
71 Browser* browser_; 70 Browser* browser_;
72 SkBitmap icon_; 71 SkBitmap icon_;
73 content::NotificationRegistrar registrar_; 72 content::NotificationRegistrar registrar_;
74 BubbleType type_; 73 BubbleType type_;
75 74
76 // How many times we've deferred due to animations being in progress. 75 // How many times we've deferred due to animations being in progress.
77 int animation_wait_retries_; 76 int animation_wait_retries_;
78 77
79 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubble); 78 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubble);
80 }; 79 };
81 80
82 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_ 81 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_INSTALLED_BUBBLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698