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

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.mm

Issue 18223002: InstantExtended: Remove overlay control code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 6 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/ui/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
index e3c9a8166f41ac85a73e1583c8525661e5fea74f..5c7fd8c9d71ad219d7aa7477c04a8df4601b09b9 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -1955,11 +1955,6 @@ willAnimateFromState:(BookmarkBar::State)oldState
return [[toolbarView superview] convertRect:anchorRect toView:nil];
}
-- (void)commitInstant {
- if (BrowserInstantController* controller = browser_->instant_controller())
- controller->instant()->CommitIfPossible(INSTANT_COMMIT_FOCUS_LOST);
-}
-
- (NSRect)instantFrame {
// The view's bounds are in its own coordinate system. Convert that to the
// window base coordinate system, then translate it into the screen's

Powered by Google App Engine
This is Rietveld 408576698