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

Side by Side Diff: chrome/browser/possible_url_model.cc

Issue 3461019: FBTF: Move virtual methods to implementation files. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Win+chromeos+mac fixes Created 10 years, 3 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/possible_url_model.h" 5 #include "chrome/browser/possible_url_model.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "app/table_model_observer.h" 8 #include "app/table_model_observer.h"
9 #include "app/text_elider.h" 9 #include "app/text_elider.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // The decoder will leave our bitmap empty on error. 199 // The decoder will leave our bitmap empty on error.
200 gfx::PNGCodec::Decode(data->front(), data->size(), 200 gfx::PNGCodec::Decode(data->front(), data->size(),
201 &(fav_icon_map_[index])); 201 &(fav_icon_map_[index]));
202 202
203 // Notify the observer. 203 // Notify the observer.
204 if (!fav_icon_map_[index].isNull() && observer_) 204 if (!fav_icon_map_[index].isNull() && observer_)
205 observer_->OnItemsChanged(static_cast<int>(index), 1); 205 observer_->OnItemsChanged(static_cast<int>(index), 1);
206 } 206 }
207 } 207 }
208 } 208 }
209
210 void PossibleURLModel::SetObserver(TableModelObserver* observer) {
211 observer_ = observer;
212 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698