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

Unified Diff: trunk/src/chrome/browser/ui/views/theme_image_mapper_desktop.cc

Issue 276773004: Revert 269892 "linux_aura: Compile ash into chrome." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 7 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
Index: trunk/src/chrome/browser/ui/views/theme_image_mapper_desktop.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/theme_image_mapper_desktop.cc (revision 269901)
+++ trunk/src/chrome/browser/ui/views/theme_image_mapper_desktop.cc (working copy)
@@ -1,40 +0,0 @@
-// Copyright (c) 2013 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 "chrome/browser/ui/views/theme_image_mapper.h"
-
-#include "grit/theme_resources.h"
-
-namespace chrome {
-
-int MapThemeImage(HostDesktopType desktop_type, int resource) {
- if (desktop_type != HOST_DESKTOP_TYPE_NATIVE)
- return resource;
-
- switch (resource) {
- case IDR_CONTENT_TOP_CENTER:
- return IDR_CONTENT_TOP_CENTER_DESKTOP;
- case IDR_OTR_ICON:
- return IDR_OTR_ICON_DESKTOP;
- case IDR_THEME_FRAME:
- return IDR_THEME_FRAME_DESKTOP;
- case IDR_THEME_FRAME_INACTIVE:
- return IDR_THEME_FRAME_INACTIVE_DESKTOP;
- case IDR_THEME_FRAME_INCOGNITO:
- return IDR_THEME_FRAME_INCOGNITO_DESKTOP;
- case IDR_THEME_FRAME_INCOGNITO_INACTIVE:
- return IDR_THEME_FRAME_INCOGNITO_INACTIVE_DESKTOP;
- case IDR_THEME_TAB_BACKGROUND:
- return IDR_THEME_TAB_BACKGROUND_DESKTOP;
- case IDR_THEME_TAB_BACKGROUND_INCOGNITO:
- return IDR_THEME_TAB_BACKGROUND_INCOGNITO_DESKTOP;
- case IDR_THEME_TOOLBAR:
- return IDR_THEME_TOOLBAR_DESKTOP;
- default:
- break;
- }
- return resource;
-}
-
-} // namespace chrome

Powered by Google App Engine
This is Rietveld 408576698