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

Unified Diff: chrome/browser/cocoa/tab_window_controller.h

Issue 3181029: Mac: Show a context menu for poup window. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
Index: chrome/browser/cocoa/tab_window_controller.h
diff --git a/chrome/browser/cocoa/tab_window_controller.h b/chrome/browser/cocoa/tab_window_controller.h
index 538bf7726af7b007ee3c1f0e69874ff1b5a07a13..f77d6f8ac00faaa7e793cffa006044beeab2aa1e 100644
--- a/chrome/browser/cocoa/tab_window_controller.h
+++ b/chrome/browser/cocoa/tab_window_controller.h
@@ -34,6 +34,7 @@
@class FastResizeView;
@class TabStripView;
@class TabView;
+@class PopupStripView;
viettrungluu 2010/08/20 17:02:00 alphabetical order
@interface TabWindowController : NSWindowController<NSWindowDelegate> {
@private
@@ -42,6 +43,7 @@
// w/out needing both to be in the nib.
IBOutlet TabStripView* topTabStripView_;
IBOutlet TabStripView* sideTabStripView_;
+ IBOutlet PopupStripView* popupStripView_;
NSWindow* overlayWindow_; // Used during dragging for window opacity tricks
NSView* cachedContentView_; // Used during dragging for identifying which
// view is the proper content area in the overlay
@@ -170,6 +172,9 @@
// Called when the size of the window content area has changed. Override to
// position specific views. Base class implementation does nothing.
- (void)layoutSubviews;
+
+// Returns a context menu for popup (non-tab) window.
viettrungluu 2010/08/20 17:02:00 It's just a tad strange that you're talking about
+- (NSMenu*)popupContextMenu;
@end
#endif // CHROME_BROWSER_TAB_WINDOW_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698