#include "ui/gtk/gtk_ui_platform_stub.h"
#include "base/functional/callback.h"
#include "ui/base/ime/linux/linux_input_method_context.h"
namespace gtk {
GtkUiPlatformStub::GtkUiPlatformStub() = default;
GtkUiPlatformStub::~GtkUiPlatformStub() = default;
void GtkUiPlatformStub::OnInitialized(GtkWidget* widget) { … }
GdkKeymap* GtkUiPlatformStub::GetGdkKeymap() { … }
GdkModifierType GtkUiPlatformStub::GetGdkKeyEventState(
const ui::KeyEvent& key_event) { … }
int GtkUiPlatformStub::GetGdkKeyEventGroup(const ui::KeyEvent& key_event) { … }
GdkWindow* GtkUiPlatformStub::GetGdkWindow(gfx::AcceleratedWidget window_id) { … }
bool GtkUiPlatformStub::SetGtkWidgetTransientFor(
GtkWidget* widget,
gfx::AcceleratedWidget parent) { … }
void GtkUiPlatformStub::ClearTransientFor(gfx::AcceleratedWidget parent) { … }
void GtkUiPlatformStub::ShowGtkWindow(GtkWindow* window) { … }
std::unique_ptr<ui::LinuxInputMethodContext>
GtkUiPlatformStub::CreateInputMethodContext(
ui::LinuxInputMethodContextDelegate* delegate) const { … }
bool GtkUiPlatformStub::IncludeFontScaleInDeviceScale() const { … }
}