[cr141] c/b/u/views/accelerator_table.{h,cc} moved to parent dirctory.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/5abc5e8f21ad8b9e1de5d27491edc68a66ec0ad9

commit 5abc5e8f21ad8b9e1de5d27491edc68a66ec0ad9
Author: Paul Jensen <pauljensen@chromium.org>
Date:   Wed Aug 20 18:28:57 2025 -0700

    Move c/b/ui/views/accelerator_table.{h,cc} into parent directory

    This makes it available for use outside c/b/ui/views (e.g. in
    c/b/ui/webui_browser) and should be a no-op as it has no views
    dependencies.

    Bug: 393144165
    Change-Id: I68b43353ef185f017dfa33c557acae8b054a47f9
    Bypass-Check-License: New files are just moved files.
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6866891
    Auto-Submit: Paul Jensen <pauljensen@chromium.org>
    Commit-Queue: Paul Jensen <pauljensen@chromium.org>
    Reviewed-by: Elly FJ <ellyjones@chromium.org>
    Reviewed-by: Georg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1504323}
This commit is contained in:
Claudio DeSouza
2025-09-22 14:59:48 -04:00
committed by Max Karolinskiy
parent dd36542260
commit fc3e044531
5 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
#include "base/test/scoped_feature_list.h"
#include "brave/components/commands/common/features.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/views/accelerator_table.h"
#include "chrome/browser/ui/accelerator_table.h"
#include "testing/gtest/include/gtest/gtest.h"
// Note: If this test fails because an accelerated command isn't present just
@@ -3,10 +3,11 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "chrome/browser/ui/accelerator_table.h"
#include <vector>
#include "brave/app/brave_command_ids.h"
#include "chrome/browser/ui/views/accelerator_table.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
@@ -8,7 +8,7 @@
#include <vector>
#include "chrome/browser/ui/views/accelerator_table.h"
#include "chrome/browser/ui/accelerator_table.h"
namespace commands {
@@ -9,7 +9,7 @@
#include "base/containers/flat_set.h"
#include "brave/browser/ui/commands/accelerator_service.h"
#include "brave/browser/ui/commands/default_accelerators.h"
#include "chrome/browser/ui/views/accelerator_table.h"
#include "chrome/browser/ui/accelerator_table.h"
#include "ui/base/accelerators/accelerator.h"
#if BUILDFLAG(IS_MAC)
@@ -1,9 +1,9 @@
/* Copyright (c) 2020 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/. */
* You can obtain one at https://mozilla.org/MPL/2.0/. */
#include "chrome/browser/ui/views/accelerator_table.h"
#include "chrome/browser/ui/accelerator_table.h"
#include "base/containers/extend.h"
#include "brave/app/brave_command_ids.h"
@@ -11,7 +11,7 @@
#include "build/build_config.h"
#define GetAcceleratorList GetAcceleratorList_ChromiumImpl
#include <chrome/browser/ui/views/accelerator_table.cc>
#include <chrome/browser/ui/accelerator_table.cc>
#undef GetAcceleratorList
namespace {