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

Side by Side Diff: chrome/browser/ui/content_settings/content_setting_image_model.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 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 | 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/content_settings/content_setting_image_model.h" 5 #include "chrome/browser/ui/content_settings/content_setting_image_model.h"
6 6
7 #include "chrome/browser/content_settings/host_content_settings_map.h" 7 #include "chrome/browser/content_settings/host_content_settings_map.h"
8 #include "chrome/browser/content_settings/tab_specific_content_settings.h" 8 #include "chrome/browser/content_settings/tab_specific_content_settings.h"
9 #include "chrome/browser/prerender/prerender_manager.h" 9 #include "chrome/browser/prerender/prerender_manager.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/grit/generated_resources.h"
11 #include "content/public/browser/web_contents.h" 12 #include "content/public/browser/web_contents.h"
12 #include "grit/generated_resources.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
14 #include "ui/base/l10n/l10n_util.h" 14 #include "ui/base/l10n/l10n_util.h"
15 15
16 using content::WebContents; 16 using content::WebContents;
17 17
18 class ContentSettingBlockedImageModel : public ContentSettingImageModel { 18 class ContentSettingBlockedImageModel : public ContentSettingImageModel {
19 public: 19 public:
20 explicit ContentSettingBlockedImageModel( 20 explicit ContentSettingBlockedImageModel(
21 ContentSettingsType content_settings_type); 21 ContentSettingsType content_settings_type);
22 22
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 case CONTENT_SETTINGS_TYPE_MEDIASTREAM: 366 case CONTENT_SETTINGS_TYPE_MEDIASTREAM:
367 case CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC: 367 case CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC:
368 case CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA: 368 case CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA:
369 return new ContentSettingMediaImageModel(content_settings_type); 369 return new ContentSettingMediaImageModel(content_settings_type);
370 case CONTENT_SETTINGS_TYPE_MIDI_SYSEX: 370 case CONTENT_SETTINGS_TYPE_MIDI_SYSEX:
371 return new ContentSettingMIDISysExImageModel(); 371 return new ContentSettingMIDISysExImageModel();
372 default: 372 default:
373 return new ContentSettingBlockedImageModel(content_settings_type); 373 return new ContentSettingBlockedImageModel(content_settings_type);
374 } 374 }
375 } 375 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698