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

Side by Side Diff: chrome/common/chrome_content_client_ios.mm

Issue 24544004: Remove the chrome namespace around ChromeContent[Renderer]Client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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/common/chrome_content_client.h" 5 #include "chrome/common/chrome_content_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/string_piece.h" 8 #include "base/strings/string_piece.h"
9 #include "chrome/common/chrome_version_info.h" 9 #include "chrome/common/chrome_version_info.h"
10 #include "chrome/common/url_constants.h" 10 #include "chrome/common/url_constants.h"
11 #include "ui/base/l10n/l10n_util.h" 11 #include "ui/base/l10n/l10n_util.h"
12 #include "ui/base/resource/resource_bundle.h" 12 #include "ui/base/resource/resource_bundle.h"
13 #include "url/gurl.h" 13 #include "url/gurl.h"
14 #include "webkit/common/user_agent/user_agent_util.h" 14 #include "webkit/common/user_agent/user_agent_util.h"
15 15
16 // TODO(ios): Investigate merging with chrome_content_client.cc; this would 16 // TODO(ios): Investigate merging with chrome_content_client.cc; this would
17 // requiring either a lot of ifdefing, or spliting the file into parts. 17 // requiring either a lot of ifdefing, or spliting the file into parts.
18 18
19 namespace chrome {
20
21 void ChromeContentClient::SetActiveURL(const GURL& url) { 19 void ChromeContentClient::SetActiveURL(const GURL& url) {
22 NOTIMPLEMENTED(); 20 NOTIMPLEMENTED();
23 } 21 }
24 22
25 void ChromeContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) { 23 void ChromeContentClient::SetGpuInfo(const gpu::GPUInfo& gpu_info) {
26 NOTIMPLEMENTED(); 24 NOTIMPLEMENTED();
27 } 25 }
28 26
29 void ChromeContentClient::AddPepperPlugins( 27 void ChromeContentClient::AddPepperPlugins(
30 std::vector<content::PepperPluginInfo>* plugins) { 28 std::vector<content::PepperPluginInfo>* plugins) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 } 70 }
73 71
74 gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const { 72 gfx::Image& ChromeContentClient::GetNativeImageNamed(int resource_id) const {
75 return ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id); 73 return ResourceBundle::GetSharedInstance().GetNativeImageNamed(resource_id);
76 } 74 }
77 75
78 std::string ChromeContentClient::GetProcessTypeNameInEnglish(int type) { 76 std::string ChromeContentClient::GetProcessTypeNameInEnglish(int type) {
79 DCHECK(false) << "Unknown child process type!"; 77 DCHECK(false) << "Unknown child process type!";
80 return "Unknown"; 78 return "Unknown";
81 } 79 }
82
83 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/common/chrome_content_client_constants.cc ('k') | chrome/common/chrome_content_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698