| Index: chrome/browser/ui/cocoa/browser_window_controller.mm
|
| ===================================================================
|
| --- chrome/browser/ui/cocoa/browser_window_controller.mm (revision 81685)
|
| +++ chrome/browser/ui/cocoa/browser_window_controller.mm (working copy)
|
| @@ -14,6 +14,7 @@
|
| #include "chrome/app/chrome_command_ids.h" // IDC_*
|
| #include "chrome/browser/bookmarks/bookmark_editor.h"
|
| #include "chrome/browser/google/google_util.h"
|
| +#include "chrome/browser/instant/instant_controller.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/sync_ui_util_mac.h"
|
| @@ -63,6 +64,7 @@
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/l10n/l10n_util_mac.h"
|
|
|
| +
|
| // ORGANIZATION: This is a big file. It is (in principle) organized as follows
|
| // (in order):
|
| // 1. Interfaces. Very short, one-time-use classes may include an implementation
|
| @@ -1859,6 +1861,11 @@
|
| [self updateBookmarkBarVisibilityWithAnimation:NO];
|
| }
|
|
|
| +- (void)commitInstant {
|
| + InstantController::CommitIfCurrent(browser_->instant());
|
| +}
|
| +
|
| +
|
| - (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
|
|
|