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

Unified Diff: chrome/browser/instant/instant_overlay_controller.cc

Issue 12520005: Move desktop-specific Instant bits to c/b/ui/search. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 7 years, 9 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
« no previous file with comments | « chrome/browser/instant/instant_overlay_controller.h ('k') | chrome/browser/instant/instant_overlay_model.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_overlay_controller.cc
diff --git a/chrome/browser/instant/instant_overlay_controller.cc b/chrome/browser/instant/instant_overlay_controller.cc
deleted file mode 100644
index 2ecaff9a51dc7aa1d6f33e3d6ff943ba09fb3216..0000000000000000000000000000000000000000
--- a/chrome/browser/instant/instant_overlay_controller.cc
+++ /dev/null
@@ -1,19 +0,0 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/browser/instant/instant_overlay_controller.h"
-
-#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/browser_instant_controller.h"
-
-InstantOverlayController::InstantOverlayController(Browser* browser)
- : browser_(browser) {
- if (browser_->instant_controller())
- browser_->instant_controller()->instant()->model()->AddObserver(this);
-}
-
-InstantOverlayController::~InstantOverlayController() {
- if (browser_->instant_controller())
- browser_->instant_controller()->instant()->model()->RemoveObserver(this);
-}
« no previous file with comments | « chrome/browser/instant/instant_overlay_controller.h ('k') | chrome/browser/instant/instant_overlay_model.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698