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

Side by Side Diff: chrome/browser/gtk/extension_installed_bubble_gtk.h

Issue 3859003: FBTF: Even more ctor/virtual deinlining. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Created 10 years, 2 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_
6 #define CHROME_BROWSER_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_ 6 #define CHROME_BROWSER_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/ref_counted.h" 9 #include "base/ref_counted.h"
10 #include "base/scoped_ptr.h" 10 #include "base/scoped_ptr.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 // icon of the extension. 47 // icon of the extension.
48 static void Show(Extension *extension, Browser *browser, SkBitmap icon); 48 static void Show(Extension *extension, Browser *browser, SkBitmap icon);
49 49
50 private: 50 private:
51 friend class base::RefCountedThreadSafe<ExtensionInstalledBubbleGtk>; 51 friend class base::RefCountedThreadSafe<ExtensionInstalledBubbleGtk>;
52 52
53 // Private ctor. Registers a listener for EXTENSION_LOADED. 53 // Private ctor. Registers a listener for EXTENSION_LOADED.
54 ExtensionInstalledBubbleGtk(Extension *extension, Browser *browser, 54 ExtensionInstalledBubbleGtk(Extension *extension, Browser *browser,
55 SkBitmap icon); 55 SkBitmap icon);
56 56
57 ~ExtensionInstalledBubbleGtk() {} 57 virtual ~ExtensionInstalledBubbleGtk();
58 58
59 // Shows the bubble. Called internally via PostTask. 59 // Shows the bubble. Called internally via PostTask.
60 void ShowInternal(); 60 void ShowInternal();
61 61
62 // NotificationObserver 62 // NotificationObserver
63 virtual void Observe(NotificationType type, 63 virtual void Observe(NotificationType type,
64 const NotificationSource& source, 64 const NotificationSource& source,
65 const NotificationDetails& details); 65 const NotificationDetails& details);
66 66
67 // InfoBubbleDelegate 67 // InfoBubbleDelegate
(...skipping 18 matching lines...) Expand all
86 86
87 // The 'x' that the user can press to hide the info bubble shelf. 87 // The 'x' that the user can press to hide the info bubble shelf.
88 scoped_ptr<CustomDrawButton> close_button_; 88 scoped_ptr<CustomDrawButton> close_button_;
89 89
90 InfoBubbleGtk* info_bubble_; 90 InfoBubbleGtk* info_bubble_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubbleGtk); 92 DISALLOW_COPY_AND_ASSIGN(ExtensionInstalledBubbleGtk);
93 }; 93 };
94 94
95 #endif // CHROME_BROWSER_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_ 95 #endif // CHROME_BROWSER_GTK_EXTENSION_INSTALLED_BUBBLE_GTK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698