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

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

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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() 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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698