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

Side by Side Diff: chrome/browser/ui/intents/web_intent_picker_model.cc

Issue 10662041: mac: Remove nav.pdf in favor of IDR_DEFAULT_FAVICON. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: deps Created 8 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 (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 #include "chrome/browser/ui/intents/web_intent_picker_model.h" 5 #include "chrome/browser/ui/intents/web_intent_picker_model.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/stl_util.h" 10 #include "base/stl_util.h"
11 #include "chrome/browser/ui/intents/web_intent_picker_model_observer.h" 11 #include "chrome/browser/ui/intents/web_intent_picker_model_observer.h"
12 #include "grit/ui_resources.h" 12 #include "grit/ui_resources_standard.h"
13 #include "ui/base/resource/resource_bundle.h" 13 #include "ui/base/resource/resource_bundle.h"
14 #include "ui/gfx/image/image.h" 14 #include "ui/gfx/image/image.h"
15 15
16 namespace { 16 namespace {
17 17
18 const size_t kMaxSuggestionCount = 5; // Maximum number of visible suggestions. 18 const size_t kMaxSuggestionCount = 5; // Maximum number of visible suggestions.
19 19
20 } // namespace 20 } // namespace
21 21
22 WebIntentPickerModel::WebIntentPickerModel() 22 WebIntentPickerModel::WebIntentPickerModel()
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 double average_rating) 159 double average_rating)
160 : title(title), 160 : title(title),
161 id(id), 161 id(id),
162 average_rating(average_rating), 162 average_rating(average_rating),
163 icon(ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed( 163 icon(ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
164 IDR_DEFAULT_FAVICON)) { 164 IDR_DEFAULT_FAVICON)) {
165 } 165 }
166 166
167 WebIntentPickerModel::SuggestedExtension::~SuggestedExtension() { 167 WebIntentPickerModel::SuggestedExtension::~SuggestedExtension() {
168 } 168 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/task_manager_gtk.cc ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698