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

Unified Diff: chrome/browser/views/info_bubble.h

Issue 2060004: Removing the app launcher button on ChromeOS (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: One more clean up Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/defaults.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/info_bubble.h
diff --git a/chrome/browser/views/info_bubble.h b/chrome/browser/views/info_bubble.h
index 6dad21f2f77fcec2a9a84f76909806d889868292..8b3e1f6f56889bdfc73e7ebf3349c2c8873caa8d 100644
--- a/chrome/browser/views/info_bubble.h
+++ b/chrome/browser/views/info_bubble.h
@@ -116,7 +116,7 @@ class BorderWidget : public views::WidgetWin {
virtual ~BorderWidget() { }
// Initializes the BrowserWidget making |owner| its owning window.
- void Init(HWND owner);
+ void Init(BorderContents* border_contents, HWND owner);
// Given the size of the contained contents (without margins), and the rect
// (in screen coordinates) to point to, sets the border window positions and
@@ -129,10 +129,6 @@ class BorderWidget : public views::WidgetWin {
const gfx::Size& contents_size);
protected:
- // Instanciates and returns the BorderContents this BorderWidget should use.
- // Subclasses can return their own BorderContents implementation.
- virtual BorderContents* CreateBorderContents();
-
BorderContents* border_contents_;
private:
@@ -204,11 +200,9 @@ class InfoBubble
views::View* contents,
InfoBubbleDelegate* delegate);
-#if defined(OS_WIN)
- // Instanciates and returns the BorderWidget this InfoBubble should use.
- // Subclasses can return their own BorderWidget specialization.
- virtual BorderWidget* CreateBorderWidget();
-#endif
+ // Instanciates and returns the BorderContents this InfoBubble should use.
+ // Subclasses can return their own BorderContents implementation.
+ virtual BorderContents* CreateBorderContents();
#if defined(OS_WIN)
// Overridden from WidgetWin:
« no previous file with comments | « chrome/browser/defaults.cc ('k') | chrome/browser/views/info_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698