123456789101112131415161718192021222324252627 |
- // Copyright 2020 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.
- // This file maps resource IDs to Android resource IDs.
- // Presence of regular include guards is checked by:
- // 1. cpplint
- // 2. a custom presubmit in src/PRESUBMIT.py
- // 3. clang (but it only checks the guard is correct if present)
- // Disable the first two with these magic comments:
- // NOLINT(build/header_guard)
- // no-include-guard-because-multiply-included
- // LINK_RESOURCE_ID is used for IDs that come from a .grd file.
- #ifndef LINK_RESOURCE_ID
- #error "LINK_RESOURCE_ID should be defined before including this file"
- #endif
- // DECLARE_RESOURCE_ID is used for IDs that don't have .grd entries, and
- // are only declared in this file.
- #ifndef DECLARE_RESOURCE_ID
- #error "DECLARE_RESOURCE_ID should be defined before including this file"
- #endif
- // InfoBar resources.
- DECLARE_RESOURCE_ID(IDR_ANDROID_INFOBAR_PHONE_ICON,
- R.drawable.smartphone_black_24dp)
|