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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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) 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_POPUP_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/extensions/extension_host.h" 10 #include "chrome/browser/extensions/extension_host.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void Show(bool activate); 75 virtual void Show(bool activate);
76 76
77 // BrowserBubble::Delegate methods. 77 // BrowserBubble::Delegate methods.
78 virtual void BubbleBrowserWindowMoved(BrowserBubble* bubble); 78 virtual void BubbleBrowserWindowMoved(BrowserBubble* bubble);
79 virtual void BubbleBrowserWindowClosing(BrowserBubble* bubble); 79 virtual void BubbleBrowserWindowClosing(BrowserBubble* bubble);
80 virtual void BubbleGotFocus(BrowserBubble* bubble); 80 virtual void BubbleGotFocus(BrowserBubble* bubble);
81 virtual void BubbleLostFocus(BrowserBubble* bubble, 81 virtual void BubbleLostFocus(BrowserBubble* bubble,
82 bool lost_focus_to_child); 82 bool lost_focus_to_child);
83 83
84 // NotificationObserver overrides. 84 // NotificationObserver overrides.
85 virtual void Observe(NotificationType type, 85 virtual void Observe(int type,
86 const NotificationSource& source, 86 const NotificationSource& source,
87 const NotificationDetails& details); 87 const NotificationDetails& details);
88 88
89 // ExtensionView::Container overrides. 89 // ExtensionView::Container overrides.
90 virtual void OnExtensionMouseMove(ExtensionView* view) { } 90 virtual void OnExtensionMouseMove(ExtensionView* view) { }
91 virtual void OnExtensionMouseLeave(ExtensionView* view) { } 91 virtual void OnExtensionMouseLeave(ExtensionView* view) { }
92 virtual void OnExtensionPreferredSizeChanged(ExtensionView* view); 92 virtual void OnExtensionPreferredSizeChanged(ExtensionView* view);
93 93
94 // The min/max height of popups. 94 // The min/max height of popups.
95 static const int kMinWidth; 95 static const int kMinWidth;
(...skipping 27 matching lines...) Expand all
123 123
124 NotificationRegistrar registrar_; 124 NotificationRegistrar registrar_;
125 125
126 // The observer of this popup. 126 // The observer of this popup.
127 Observer* observer_; 127 Observer* observer_;
128 128
129 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup); 129 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup);
130 }; 130 };
131 131
132 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ 132 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698