-
Notifications
You must be signed in to change notification settings - Fork 868
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
486ff21
commit 1b0e53b
Showing
6 changed files
with
30 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
chromium_src/chrome/browser/ui/views/side_panel/side_panel_entry.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
/* Copyright (c) 2024 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 https://mozilla.org/MPL/2.0/. */ | ||
|
||
#include "chrome/browser/ui/views/side_panel/side_panel_entry.h" | ||
|
||
#include "src/chrome/browser/ui/views/side_panel/side_panel_entry.cc" | ||
|
||
bool SidePanelEntry::IsBeingObservedBy(SidePanelEntryObserver* observer) { | ||
return observers_.HasObserver(observer); | ||
} |
17 changes: 17 additions & 0 deletions
17
chromium_src/chrome/browser/ui/views/side_panel/side_panel_entry.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* Copyright (c) 2024 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 https://mozilla.org/MPL/2.0/. */ | ||
|
||
#ifndef BRAVE_CHROMIUM_SRC_CHROME_BROWSER_UI_VIEWS_SIDE_PANEL_SIDE_PANEL_ENTRY_H_ | ||
#define BRAVE_CHROMIUM_SRC_CHROME_BROWSER_UI_VIEWS_SIDE_PANEL_SIDE_PANEL_ENTRY_H_ | ||
|
||
#define SupportsNewTabButton(...) \ | ||
SupportsNewTabButton(__VA_ARGS__); \ | ||
bool IsBeingObservedBy(SidePanelEntryObserver* observer) | ||
|
||
#include "src/chrome/browser/ui/views/side_panel/side_panel_entry.h" // IWYU pragma: export | ||
|
||
#undef SupportsNewTabButton | ||
|
||
#endif // BRAVE_CHROMIUM_SRC_CHROME_BROWSER_UI_VIEWS_SIDE_PANEL_SIDE_PANEL_ENTRY_H_ |
36 changes: 0 additions & 36 deletions
36
chromium_src/chrome/browser/ui/views/side_panel/side_panel_registry.cc
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
chromium_src/chrome/browser/ui/views/side_panel/side_panel_registry.h
This file was deleted.
Oops, something went wrong.