1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45

ash / public / cpp / test / test_new_window_delegate.cc [blame]

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ash/public/cpp/test/test_new_window_delegate.h"

#include <utility>

#include "ui/aura/window.h"

namespace ash {

TestNewWindowDelegate::TestNewWindowDelegate() = default;
TestNewWindowDelegate::~TestNewWindowDelegate() = default;

void TestNewWindowDelegate::NewTab() {}
void TestNewWindowDelegate::NewWindow(bool incognito,
                                      bool should_trigger_session_restore) {}
void TestNewWindowDelegate::NewWindowForDetachingTab(
    aura::Window* source_window,
    const ui::OSExchangeData& drop_data,
    NewWindowForDetachingTabCallback closure) {
  std::move(closure).Run(/*new_window=*/nullptr);
}
void TestNewWindowDelegate::OpenUrl(const GURL& url,
                                    OpenUrlFrom from,
                                    Disposition disposition) {}
void TestNewWindowDelegate::OpenCalculator() {}
void TestNewWindowDelegate::OpenFileManager() {}
void TestNewWindowDelegate::OpenDownloadsFolder() {}
void TestNewWindowDelegate::OpenCrosh() {}
void TestNewWindowDelegate::OpenDiagnostics() {}
void TestNewWindowDelegate::OpenGetHelp() {}
void TestNewWindowDelegate::RestoreTab() {}
void TestNewWindowDelegate::ShowShortcutCustomizationApp() {}
void TestNewWindowDelegate::ShowTaskManager() {}
void TestNewWindowDelegate::OpenFeedbackPage(
    FeedbackSource source,
    const std::string& description_template) {}
void TestNewWindowDelegate::OpenPersonalizationHub() {}
void TestNewWindowDelegate::OpenCaptivePortalSignin(const GURL& url) {}
void TestNewWindowDelegate::OpenFile(const base::FilePath& file_path) {}
void TestNewWindowDelegate::ToggleGeminiApp() {}

}  // namespace ash