#ifndef CHROME_BROWSER_UI_VIEWS_WEB_APPS_WEB_APP_LINK_CAPTURING_TEST_UTILS_H_
#define CHROME_BROWSER_UI_VIEWS_WEB_APPS_WEB_APP_LINK_CAPTURING_TEST_UTILS_H_
#include "base/run_loop.h"
#include "base/scoped_observation.h"
#include "chrome/browser/ui/views/intent_picker_bubble_view.h"
#include "chrome/browser/ui/views/location_bar/intent_chip_button.h"
#include "chrome/browser/ui/views/location_bar/omnibox_chip_button.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace views {
class Button;
}
namespace content {
class WebContents;
}
class Browser;
namespace web_app {
IntentChipButton* GetIntentPickerIcon(Browser* browser);
IntentPickerBubbleView* intent_picker_bubble();
testing::AssertionResult AwaitIntentPickerTabHelperIconUpdateComplete(
content::WebContents* web_contents);
testing::AssertionResult WaitForIntentPickerToShow(Browser* browser);
testing::AssertionResult ClickIntentPickerChip(Browser* browser);
testing::AssertionResult ClickIntentPickerAndWaitForBubble(Browser* browser);
views::Button* GetIntentPickerButtonAtIndex(size_t index);
class IntentChipVisibilityObserver : public OmniboxChipButton::Observer { … };
}
#endif