Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* 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 <stddef.h>

namespace chrome {
inline constexpr char kPrivacySandboxManageTopicsURL[] =
"chrome://settings/adPrivacy/interests/manage";
inline constexpr char kPrivacySandboxAdTopicsURL[] =
"chrome://settings/adPrivacy/interests";
} // namespace chrome

#include "src/chrome/browser/privacy_sandbox/browsing_topics_settings_interactive_uitest.cc"
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 "brave/browser/ui/views/side_panel/brave_side_panel.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "chrome/browser/ui/views/side_panel/side_panel.h"

#define SidePanel BraveSidePanel
#include "src/chrome/browser/ui/views/side_search/side_search_browsertest.cc"
#undef SidePanel
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ void TabHoverCardBubbleView::SetPlaceholderImage() {
}
TabHoverCardBubbleView_ChromiumImpl::SetPlaceholderImage();
}
BEGIN_METADATA(TabHoverCardBubbleView)
END_METADATA
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

// Inject a protected method that will have access to the private members of the
// base class. Then, we can call this method from the subclass' override.
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/gfx/image/image_skia.h"

class TabHoverCardBubbleView;
Expand All @@ -32,6 +33,7 @@ class TabHoverCardBubbleView;
#undef BRAVE_TAB_HOVER_CARD_BUBBLE_VIEW_H_

class TabHoverCardBubbleView : public TabHoverCardBubbleView_ChromiumImpl {
METADATA_HEADER(TabHoverCardBubbleView, TabHoverCardBubbleView_ChromiumImpl)
public:
using TabHoverCardBubbleView_ChromiumImpl::
TabHoverCardBubbleView_ChromiumImpl;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* 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 "brave/browser/ui/views/tabs/brave_tab_hover_card_controller.h"

// Add this comment so that the pre-submit warnings are silenced
#include "src/chrome/browser/ui/views/tabs/tab_hover_card_controller_interactive_uitest.cc"