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

Unified Diff: blimp/engine/common/blimp_content_client.cc

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/engine/common/blimp_content_client.h ('k') | blimp/engine/common/blimp_user_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/common/blimp_content_client.cc
diff --git a/blimp/engine/common/blimp_content_client.cc b/blimp/engine/common/blimp_content_client.cc
deleted file mode 100644
index d4b66bb4d9be4b74cdec5713d2e7ba2144214f94..0000000000000000000000000000000000000000
--- a/blimp/engine/common/blimp_content_client.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "blimp/engine/common/blimp_content_client.h"
-
-#include "ui/base/l10n/l10n_util.h"
-#include "ui/base/resource/resource_bundle.h"
-
-namespace blimp {
-namespace engine {
-
-BlimpContentClient::~BlimpContentClient() {}
-
-std::string BlimpContentClient::GetUserAgent() const {
- return GetBlimpEngineUserAgent();
-}
-
-base::string16 BlimpContentClient::GetLocalizedString(int message_id) const {
- return l10n_util::GetStringUTF16(message_id);
-}
-
-base::StringPiece BlimpContentClient::GetDataResource(
- int resource_id,
- ui::ScaleFactor scale_factor) const {
- return ui::ResourceBundle::GetSharedInstance().GetRawDataResourceForScale(
- resource_id, scale_factor);
-}
-
-base::RefCountedMemory* BlimpContentClient::GetDataResourceBytes(
- int resource_id) const {
- return ui::ResourceBundle::GetSharedInstance().LoadDataResourceBytes(
- resource_id);
-}
-
-gfx::Image& BlimpContentClient::GetNativeImageNamed(int resource_id) const {
- return ui::ResourceBundle::GetSharedInstance().GetNativeImageNamed(
- resource_id);
-}
-
-} // namespace engine
-} // namespace blimp
« no previous file with comments | « blimp/engine/common/blimp_content_client.h ('k') | blimp/engine/common/blimp_user_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698