#include "ui/gtk/gtk_key_bindings_handler.h"
#include <cstddef>
#include <string>
#include "base/logging.h"
#include "base/strings/string_util.h"
#include "ui/base/glib/glib_cast.h"
#include "ui/base/ime/text_edit_commands.h"
#include "ui/events/event.h"
#include "ui/gtk/gtk_compat.h"
#include "ui/gtk/gtk_util.h"
TextEditCommand;
namespace gtk {
GtkKeyBindingsHandler::GtkKeyBindingsHandler()
: … { … }
GtkKeyBindingsHandler::~GtkKeyBindingsHandler() { … }
bool GtkKeyBindingsHandler::MatchEvent(
const ui::Event& event,
std::vector<ui::TextEditCommandAuraLinux>* edit_commands) { … }
GtkWidget* GtkKeyBindingsHandler::CreateNewHandler() { … }
void GtkKeyBindingsHandler::EditCommandMatched(TextEditCommand command,
const std::string& value) { … }
void GtkKeyBindingsHandler::HandlerInit(Handler* self) { … }
void GtkKeyBindingsHandler::HandlerClassInit(HandlerClass* klass) { … }
GType GtkKeyBindingsHandler::HandlerGetType() { … }
GtkKeyBindingsHandler* GtkKeyBindingsHandler::GetHandlerOwner(
GtkTextView* text_view) { … }
void GtkKeyBindingsHandler::BackSpace(GtkTextView* text_view) { … }
void GtkKeyBindingsHandler::CopyClipboard(GtkTextView* text_view) { … }
void GtkKeyBindingsHandler::CutClipboard(GtkTextView* text_view) { … }
void GtkKeyBindingsHandler::DeleteFromCursor(GtkTextView* text_view,
GtkDeleteType type,
gint count) { … }
void GtkKeyBindingsHandler::InsertAtCursor(GtkTextView* text_view,
const gchar* str) { … }
void GtkKeyBindingsHandler::MoveCursor(GtkTextView* text_view,
GtkMovementStep step,
gint count,
gboolean extend_selection) { … }
void GtkKeyBindingsHandler::MoveViewport(GtkTextView* text_view,
GtkScrollStep step,
gint count) { … }
void GtkKeyBindingsHandler::PasteClipboard(GtkTextView* text_view) { … }
void GtkKeyBindingsHandler::SelectAll(GtkTextView* text_view, gboolean select) { … }
void GtkKeyBindingsHandler::SetAnchor(GtkTextView* text_view) { … }
void GtkKeyBindingsHandler::ToggleCursorVisible(GtkTextView* text_view) { … }
void GtkKeyBindingsHandler::ToggleOverwrite(GtkTextView* text_view) { … }
gboolean GtkKeyBindingsHandler::ShowHelp(GtkWidget* widget,
GtkWidgetHelpType arg1) { … }
void GtkKeyBindingsHandler::MoveFocus(GtkWidget* widget,
GtkDirectionType arg1) { … }
}