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

Side by Side Diff: chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.mm

Issue 18009003: Instant Extended: Delete unused overlay code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h" 5 #include "chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h"
6 6
7 #include "chrome/browser/search/search.h" 7 #include "chrome/browser/search/search.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #import "chrome/browser/ui/cocoa/browser_window_controller.h" 9 #import "chrome/browser/ui/cocoa/browser_window_controller.h"
10 #include "chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h" 10 #include "chrome/browser/ui/cocoa/tab_contents/instant_overlay_controller_mac.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 browser_->tab_strip_model()->GetActiveWebContents(); 57 browser_->tab_strip_model()->GetActiveWebContents();
58 if (active_web_contents) { 58 if (active_web_contents) {
59 SearchTabHelper* search_tab_helper = 59 SearchTabHelper* search_tab_helper =
60 SearchTabHelper::FromWebContents(active_web_contents); 60 SearchTabHelper::FromWebContents(active_web_contents);
61 if (search_tab_helper) { 61 if (search_tab_helper) {
62 search_tab_helper->model()->SetTopBarsVisible( 62 search_tab_helper->model()->SetTopBarsVisible(
63 ![overlay_ isShowingOverlay]); 63 ![overlay_ isShowingOverlay]);
64 } 64 }
65 } 65 }
66 } 66 }
67
68 [window_ updateBookmarkBarStateForInstantOverlay];
69 } 67 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/fast_resize_view.mm ('k') | chrome/browser/ui/cocoa/tab_contents/overlay_separator_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698