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

Side by Side Diff: chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc

Issue 46039: Removed unneeded includes of base/scoped_ptr.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/autocomplete/autocomplete_popup_view_gtk.h" 5 #include "chrome/browser/autocomplete/autocomplete_popup_view_gtk.h"
6 6
7 #include "base/gfx/gtk_util.h" 7 #include "base/gfx/gtk_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/scoped_ptr.h"
10 #include "base/string_util.h" 9 #include "base/string_util.h"
11 #include "chrome/browser/autocomplete/autocomplete.h" 10 #include "chrome/browser/autocomplete/autocomplete.h"
12 #include "chrome/browser/autocomplete/autocomplete_edit.h" 11 #include "chrome/browser/autocomplete/autocomplete_edit.h"
13 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h" 12 #include "chrome/browser/autocomplete/autocomplete_edit_view_gtk.h"
14 #include "chrome/browser/autocomplete/autocomplete_popup_model.h" 13 #include "chrome/browser/autocomplete/autocomplete_popup_model.h"
15 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profile.h"
16 #include "chrome/browser/search_engines/template_url.h" 15 #include "chrome/browser/search_engines/template_url.h"
17 #include "chrome/browser/search_engines/template_url_model.h" 16 #include "chrome/browser/search_engines/template_url_model.h"
18 #include "chrome/common/notification_service.h" 17 #include "chrome/common/notification_service.h"
19 18
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 gtk_window_move(GTK_WINDOW(window_), x, y); 110 gtk_window_move(GTK_WINDOW(window_), x, y);
112 gtk_widget_set_size_request(window_, width, -1); 111 gtk_widget_set_size_request(window_, width, -1);
113 gtk_widget_show(window_); 112 gtk_widget_show(window_);
114 opened_ = true; 113 opened_ = true;
115 } 114 }
116 115
117 void AutocompletePopupViewGtk::Hide() { 116 void AutocompletePopupViewGtk::Hide() {
118 gtk_widget_hide(window_); 117 gtk_widget_hide(window_);
119 opened_ = false; 118 opened_ = false;
120 } 119 }
OLDNEW
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_model.h ('k') | chrome/browser/autocomplete/autocomplete_popup_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698