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

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

Issue 481012: Mac: implement DnD of URLs onto Omnibox. (Closed)
Patch Set: Stuff. Created 11 years 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/browser_window_controller.h
diff --git a/chrome/browser/cocoa/browser_window_controller.h b/chrome/browser/cocoa/browser_window_controller.h
index a273e8ff7f750e1369447df1b0f13ba4fda9908e..5e2014f4df72970947112932ec9f8554a11642ea 100644
--- a/chrome/browser/cocoa/browser_window_controller.h
+++ b/chrome/browser/cocoa/browser_window_controller.h
@@ -47,8 +47,7 @@ class TabStripModelObserverBridge;
BookmarkBarControllerDelegate,
BrowserCommandExecutor,
ViewResizer,
- GTMThemeDelegate,
- URLDropTargetWindowController> {
+ GTMThemeDelegate> {
@private
// The ordering of these members is important as it determines the order in
// which they are destroyed. |browser_| needs to be destroyed last as most of
@@ -164,6 +163,12 @@ class TabStripModelObserverBridge;
// tab/tab contents).
- (void)updateBookmarkBarVisibilityWithAnimation:(BOOL)animate;
+// Return a weak pointer to the tab strip controller.
+- (TabStripController*)tabStripController;
+
+// Return a weak pointer to the toolbar controller.
+- (ToolbarController*)toolbarController;
+
- (BOOL)isDownloadShelfVisible;
// Lazily creates the download shelf in visible state if it doesn't exist yet.
@@ -210,12 +215,6 @@ class TabStripModelObserverBridge;
// tab's sheet queue.
- (void)removeConstrainedWindow:(ConstrainedWindowMac*)window;
-// Implementation of the |URLDropTargetWindowController| protocol, which is
-// needed for URL dropping on the tab strip.
-- (void)dropURLs:(NSArray*)urls at:(NSPoint)location;
-- (void)indicateDropURLsAt:(NSPoint)location;
-- (void)hideDropURLsIndicator;
-
@end
// Methods which are either only for testing, or only public for testing.
@@ -244,9 +243,6 @@ class TabStripModelObserverBridge;
// Return a point suitable for the topLeft for a bookmark bubble.
- (NSPoint)topLeftForBubble;
-// Return a weak pointer to the toolbar controller.
-- (ToolbarController*)toolbarController;
-
// Resets any saved state about window growth (due to showing the bookmark bar
// or the download shelf), so that future shrinking will occur from the bottom.
- (void)resetWindowGrowthState;
« no previous file with comments | « chrome/browser/cocoa/autocomplete_text_field_editor.mm ('k') | chrome/browser/cocoa/browser_window_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698