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

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

Issue 8520036: Revert 110262 - Have ExtensionHost use TabContents instead of RenderViewHost. Try #2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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
Property Changes:
Added: svn:mergeinfo
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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 virtual void BubbleGotFocus(BrowserBubble* bubble); 76 virtual void BubbleGotFocus(BrowserBubble* bubble);
77 virtual void BubbleLostFocus(BrowserBubble* bubble, 77 virtual void BubbleLostFocus(BrowserBubble* bubble,
78 bool lost_focus_to_child); 78 bool lost_focus_to_child);
79 79
80 // content::NotificationObserver overrides. 80 // content::NotificationObserver overrides.
81 virtual void Observe(int type, 81 virtual void Observe(int type,
82 const content::NotificationSource& source, 82 const content::NotificationSource& source,
83 const content::NotificationDetails& details); 83 const content::NotificationDetails& details);
84 84
85 // ExtensionView::Container overrides. 85 // ExtensionView::Container overrides.
86 virtual void OnExtensionMouseMove(ExtensionView* view) { }
87 virtual void OnExtensionMouseLeave(ExtensionView* view) { }
86 virtual void OnExtensionPreferredSizeChanged(ExtensionView* view); 88 virtual void OnExtensionPreferredSizeChanged(ExtensionView* view);
87 89
88 // The min/max height of popups. 90 // The min/max height of popups.
89 static const int kMinWidth; 91 static const int kMinWidth;
90 static const int kMinHeight; 92 static const int kMinHeight;
91 static const int kMaxWidth; 93 static const int kMaxWidth;
92 static const int kMaxHeight; 94 static const int kMaxHeight;
93 95
94 private: 96 private:
95 ExtensionPopup(Browser* browser, 97 ExtensionPopup(Browser* browser,
(...skipping 21 matching lines...) Expand all
117 119
118 content::NotificationRegistrar registrar_; 120 content::NotificationRegistrar registrar_;
119 121
120 // The observer of this popup. 122 // The observer of this popup.
121 Observer* observer_; 123 Observer* observer_;
122 124
123 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup); 125 DISALLOW_COPY_AND_ASSIGN(ExtensionPopup);
124 }; 126 };
125 127
126 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_ 128 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_POPUP_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_dialog.cc ('k') | chrome/browser/ui/views/extensions/extension_popup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698