mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-24 10:12:25 -05:00
34a64ed25b
This allows the address bar to "select all" when initially gaining focus as Firefox and Chrome do. A future improvement on this would be for the Widget class to mange and provide focus transition as part of the events instead of the UrlBox class. Currently focus is updated before the event is provided to the UrlBox class.
96 lines
1.7 KiB
C++
96 lines
1.7 KiB
C++
/*
|
|
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
namespace GUI {
|
|
|
|
class AbstractButton;
|
|
class AbstractTableView;
|
|
class AbstractView;
|
|
class Action;
|
|
class ActionGroup;
|
|
class Application;
|
|
class AutocompleteBox;
|
|
class AutocompleteProvider;
|
|
class BoxLayout;
|
|
class Button;
|
|
class CheckBox;
|
|
class ComboBox;
|
|
class Command;
|
|
class DragEvent;
|
|
class DropEvent;
|
|
class EditingEngine;
|
|
class FileSystemModel;
|
|
class Frame;
|
|
class GroupBox;
|
|
class HeaderView;
|
|
class HorizontalBoxLayout;
|
|
class HorizontalSlider;
|
|
class Icon;
|
|
class IconView;
|
|
class JsonArrayModel;
|
|
class KeyEvent;
|
|
class Label;
|
|
class Layout;
|
|
class ListView;
|
|
class Menu;
|
|
class Menubar;
|
|
class MenuItem;
|
|
class Model;
|
|
class ModelEditingDelegate;
|
|
class ModelIndex;
|
|
class MouseEvent;
|
|
class MultiPaintEvent;
|
|
class MultiView;
|
|
class OpacitySlider;
|
|
class PaintEvent;
|
|
class Painter;
|
|
class PersistentHandle;
|
|
class PersistentModelIndex;
|
|
class RadioButton;
|
|
class ResizeCorner;
|
|
class ResizeEvent;
|
|
class ScreenRectsChangeEvent;
|
|
class Scrollbar;
|
|
class AbstractScrollableWidget;
|
|
class Slider;
|
|
class SortingProxyModel;
|
|
class SpinBox;
|
|
class Splitter;
|
|
class StackWidget;
|
|
class Statusbar;
|
|
class TabWidget;
|
|
class TableView;
|
|
class TextBox;
|
|
class UrlBox;
|
|
class TextDocument;
|
|
class TextDocumentLine;
|
|
struct TextDocumentSpan;
|
|
class TextDocumentUndoCommand;
|
|
class TextEditor;
|
|
class ThemeChangeEvent;
|
|
class FontsChangeEvent;
|
|
class Toolbar;
|
|
class ToolbarContainer;
|
|
class TreeView;
|
|
class ValueSlider;
|
|
class Variant;
|
|
class VerticalBoxLayout;
|
|
class VerticalSlider;
|
|
class WMEvent;
|
|
class Widget;
|
|
class Window;
|
|
class WindowServerConnection;
|
|
|
|
enum class ModelRole;
|
|
enum class SortOrder;
|
|
|
|
}
|
|
|
|
namespace WindowServer {
|
|
class ScreenLayout;
|
|
}
|