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

Side by Side Diff: chrome/browser/instant/instant_unload_handler.h

Issue 11262015: Remove unused / unnecessary stuff from Instant. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove SuggestedTextView entirely Created 8 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_INSTANT_INSTANT_UNLOAD_HANDLER_H_ 5 #ifndef CHROME_BROWSER_INSTANT_INSTANT_UNLOAD_HANDLER_H_
6 #define CHROME_BROWSER_INSTANT_INSTANT_UNLOAD_HANDLER_H_ 6 #define CHROME_BROWSER_INSTANT_INSTANT_UNLOAD_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 10
(...skipping 25 matching lines...) Expand all
36 36
37 // Destroys the old tab. This is invoked if script tries to close the page. 37 // Destroys the old tab. This is invoked if script tries to close the page.
38 void Destroy(WebContentsDelegateImpl* delegate); 38 void Destroy(WebContentsDelegateImpl* delegate);
39 39
40 // TODO(sky): Browser really needs to wait to close until there are no more 40 // TODO(sky): Browser really needs to wait to close until there are no more
41 // tabs managed by InstantUnloadHandler. 41 // tabs managed by InstantUnloadHandler.
42 Browser* const browser_; 42 Browser* const browser_;
43 43
44 ScopedVector<WebContentsDelegateImpl> delegates_; 44 ScopedVector<WebContentsDelegateImpl> delegates_;
45 45
46 DISALLOW_IMPLICIT_CONSTRUCTORS(InstantUnloadHandler); 46 DISALLOW_COPY_AND_ASSIGN(InstantUnloadHandler);
47 }; 47 };
48 48
49 #endif // CHROME_BROWSER_INSTANT_INSTANT_UNLOAD_HANDLER_H_ 49 #endif // CHROME_BROWSER_INSTANT_INSTANT_UNLOAD_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/instant/instant_preview_controller.h ('k') | chrome/browser/instant/instant_unload_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698