2018-04-14 02:04:23 +00:00
|
|
|
// Copyright (c) 2018 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#ifndef ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|
|
|
|
#define ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|
2018-04-14 02:04:23 +00:00
|
|
|
|
|
|
|
#include <map>
|
|
|
|
#include <memory>
|
2024-01-10 22:23:35 +00:00
|
|
|
#include <optional>
|
2018-04-14 02:04:23 +00:00
|
|
|
#include <string>
|
2024-01-11 01:00:37 +00:00
|
|
|
#include <string_view>
|
2018-04-14 02:04:23 +00:00
|
|
|
#include <vector>
|
|
|
|
|
2019-01-12 01:00:43 +00:00
|
|
|
#include "content/public/browser/browser_task_traits.h"
|
2018-09-07 18:21:58 +00:00
|
|
|
#include "content/public/browser/browser_thread.h"
|
2019-10-25 13:03:28 +00:00
|
|
|
#include "gin/handle.h"
|
2019-06-19 20:46:59 +00:00
|
|
|
#include "shell/browser/native_window.h"
|
|
|
|
#include "shell/browser/native_window_observer.h"
|
|
|
|
#include "shell/common/api/electron_api_native_image.h"
|
2021-01-04 20:58:31 +00:00
|
|
|
#include "shell/common/gin_helper/error_thrower.h"
|
2019-10-25 13:03:28 +00:00
|
|
|
#include "shell/common/gin_helper/trackable_object.h"
|
2018-04-14 02:04:23 +00:00
|
|
|
|
2022-06-29 19:55:47 +00:00
|
|
|
namespace electron::api {
|
2018-04-14 02:04:23 +00:00
|
|
|
|
2018-05-08 05:47:26 +00:00
|
|
|
class View;
|
|
|
|
|
2020-06-29 07:06:20 +00:00
|
|
|
class BaseWindow : public gin_helper::TrackableObject<BaseWindow>,
|
2024-05-29 18:07:02 +00:00
|
|
|
private NativeWindowObserver {
|
2018-04-14 02:04:23 +00:00
|
|
|
public:
|
2019-12-05 09:46:34 +00:00
|
|
|
static gin_helper::WrappableBase* New(gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
|
|
|
|
static void BuildPrototype(v8::Isolate* isolate,
|
|
|
|
v8::Local<v8::FunctionTemplate> prototype);
|
|
|
|
|
2020-06-29 07:06:20 +00:00
|
|
|
base::WeakPtr<BaseWindow> GetWeakPtr() { return weak_factory_.GetWeakPtr(); }
|
2018-04-14 02:04:23 +00:00
|
|
|
|
|
|
|
NativeWindow* window() const { return window_.get(); }
|
|
|
|
|
|
|
|
protected:
|
2018-04-17 07:29:16 +00:00
|
|
|
// Common constructor.
|
2020-06-29 07:06:20 +00:00
|
|
|
BaseWindow(v8::Isolate* isolate, const gin_helper::Dictionary& options);
|
|
|
|
// Creating independent BaseWindow instance.
|
|
|
|
BaseWindow(gin_helper::Arguments* args,
|
|
|
|
const gin_helper::Dictionary& options);
|
|
|
|
~BaseWindow() override;
|
2018-04-14 02:04:23 +00:00
|
|
|
|
2018-04-17 07:18:55 +00:00
|
|
|
// TrackableObject:
|
|
|
|
void InitWith(v8::Isolate* isolate, v8::Local<v8::Object> wrapper) override;
|
|
|
|
|
2018-04-14 02:04:23 +00:00
|
|
|
// NativeWindowObserver:
|
|
|
|
void WillCloseWindow(bool* prevent_default) override;
|
|
|
|
void OnWindowClosed() override;
|
|
|
|
void OnWindowEndSession() override;
|
|
|
|
void OnWindowBlur() override;
|
|
|
|
void OnWindowFocus() override;
|
|
|
|
void OnWindowShow() override;
|
|
|
|
void OnWindowHide() override;
|
|
|
|
void OnWindowMaximize() override;
|
|
|
|
void OnWindowUnmaximize() override;
|
|
|
|
void OnWindowMinimize() override;
|
|
|
|
void OnWindowRestore() override;
|
2018-07-27 09:53:01 +00:00
|
|
|
void OnWindowWillResize(const gfx::Rect& new_bounds,
|
2021-06-02 02:37:10 +00:00
|
|
|
const gfx::ResizeEdge& edge,
|
2018-07-27 09:53:01 +00:00
|
|
|
bool* prevent_default) override;
|
2018-04-14 02:04:23 +00:00
|
|
|
void OnWindowResize() override;
|
2020-11-12 00:27:24 +00:00
|
|
|
void OnWindowResized() override;
|
2018-08-28 13:44:10 +00:00
|
|
|
void OnWindowWillMove(const gfx::Rect& new_bounds,
|
|
|
|
bool* prevent_default) override;
|
2018-04-14 02:04:23 +00:00
|
|
|
void OnWindowMove() override;
|
|
|
|
void OnWindowMoved() override;
|
|
|
|
void OnWindowSwipe(const std::string& direction) override;
|
2019-07-23 19:42:26 +00:00
|
|
|
void OnWindowRotateGesture(float rotation) override;
|
2018-04-14 02:04:23 +00:00
|
|
|
void OnWindowSheetBegin() override;
|
|
|
|
void OnWindowSheetEnd() override;
|
|
|
|
void OnWindowEnterFullScreen() override;
|
|
|
|
void OnWindowLeaveFullScreen() override;
|
|
|
|
void OnWindowEnterHtmlFullScreen() override;
|
|
|
|
void OnWindowLeaveHtmlFullScreen() override;
|
2018-10-04 18:02:16 +00:00
|
|
|
void OnWindowAlwaysOnTopChanged() override;
|
2018-12-05 17:35:59 +00:00
|
|
|
void OnExecuteAppCommand(const std::string& command_name) override;
|
2018-04-14 02:04:23 +00:00
|
|
|
void OnTouchBarItemResult(const std::string& item_id,
|
2022-07-05 15:25:18 +00:00
|
|
|
const base::Value::Dict& details) override;
|
2018-04-14 02:04:23 +00:00
|
|
|
void OnNewWindowForTab() override;
|
2020-10-08 22:45:05 +00:00
|
|
|
void OnSystemContextMenu(int x, int y, bool* prevent_default) override;
|
2022-02-10 02:58:52 +00:00
|
|
|
#if BUILDFLAG(IS_WIN)
|
2018-04-14 02:04:23 +00:00
|
|
|
void OnWindowMessage(UINT message, WPARAM w_param, LPARAM l_param) override;
|
2018-04-18 01:44:10 +00:00
|
|
|
#endif
|
2018-04-14 02:04:23 +00:00
|
|
|
|
|
|
|
// Public APIs of NativeWindow.
|
2019-10-25 13:03:28 +00:00
|
|
|
void SetContentView(gin::Handle<View> view);
|
2018-04-14 02:04:23 +00:00
|
|
|
void Close();
|
2021-03-07 12:14:12 +00:00
|
|
|
virtual void CloseImmediately();
|
2018-04-14 02:04:23 +00:00
|
|
|
virtual void Focus();
|
|
|
|
virtual void Blur();
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsFocused() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void Show();
|
|
|
|
void ShowInactive();
|
|
|
|
void Hide();
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsVisible() const;
|
|
|
|
bool IsEnabled() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetEnabled(bool enable);
|
|
|
|
void Maximize();
|
|
|
|
void Unmaximize();
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsMaximized() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void Minimize();
|
|
|
|
void Restore();
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsMinimized() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetFullScreen(bool fullscreen);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsFullscreen() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetBounds(const gfx::Rect& bounds, gin_helper::Arguments* args);
|
2024-01-04 15:51:59 +00:00
|
|
|
gfx::Rect GetBounds() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetSize(int width, int height, gin_helper::Arguments* args);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::vector<int> GetSize() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetContentSize(int width, int height, gin_helper::Arguments* args);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::vector<int> GetContentSize() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetContentBounds(const gfx::Rect& bounds, gin_helper::Arguments* args);
|
2024-01-04 15:51:59 +00:00
|
|
|
gfx::Rect GetContentBounds() const;
|
|
|
|
bool IsNormal() const;
|
|
|
|
gfx::Rect GetNormalBounds() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetMinimumSize(int width, int height);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::vector<int> GetMinimumSize() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetMaximumSize(int width, int height);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::vector<int> GetMaximumSize() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetSheetOffset(double offsetY, gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetResizable(bool resizable);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsResizable() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetMovable(bool movable);
|
2019-10-21 07:05:40 +00:00
|
|
|
void MoveAbove(const std::string& sourceId, gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
void MoveTop();
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsMovable() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetMinimizable(bool minimizable);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsMinimizable() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetMaximizable(bool maximizable);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsMaximizable() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetFullScreenable(bool fullscreenable);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsFullScreenable() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetClosable(bool closable);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsClosable() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetAlwaysOnTop(bool top, gin_helper::Arguments* args);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsAlwaysOnTop() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void Center();
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetPosition(int x, int y, gin_helper::Arguments* args);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::vector<int> GetPosition() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetTitle(const std::string& title);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::string GetTitle() const;
|
2019-08-27 22:35:34 +00:00
|
|
|
void SetAccessibleTitle(const std::string& title);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::string GetAccessibleTitle() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void FlashFrame(bool flash);
|
|
|
|
void SetSkipTaskbar(bool skip);
|
2019-03-27 12:10:23 +00:00
|
|
|
void SetExcludedFromShownWindowsMenu(bool excluded);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsExcludedFromShownWindowsMenu() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetSimpleFullScreen(bool simple_fullscreen);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsSimpleFullScreen() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetKiosk(bool kiosk);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsKiosk() const;
|
2020-09-22 05:40:42 +00:00
|
|
|
bool IsTabletMode() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
virtual void SetBackgroundColor(const std::string& color_name);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::string GetBackgroundColor(gin_helper::Arguments* args) const;
|
2022-12-01 18:24:44 +00:00
|
|
|
void InvalidateShadow();
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetHasShadow(bool has_shadow);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool HasShadow() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetOpacity(const double opacity);
|
2024-01-04 15:51:59 +00:00
|
|
|
double GetOpacity() const;
|
2018-07-30 20:37:40 +00:00
|
|
|
void SetShape(const std::vector<gfx::Rect>& rects);
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetRepresentedFilename(const std::string& filename);
|
2024-01-04 15:51:59 +00:00
|
|
|
std::string GetRepresentedFilename() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetDocumentEdited(bool edited);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsDocumentEdited() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetIgnoreMouseEvents(bool ignore, gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetContentProtection(bool enable);
|
|
|
|
void SetFocusable(bool focusable);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsFocusable() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetMenu(v8::Isolate* isolate, v8::Local<v8::Value> menu);
|
2019-01-31 18:58:23 +00:00
|
|
|
void RemoveMenu();
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetParentWindow(v8::Local<v8::Value> value, gin_helper::Arguments* args);
|
2019-08-15 06:51:15 +00:00
|
|
|
std::string GetMediaSourceId() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
v8::Local<v8::Value> GetNativeWindowHandle();
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetProgressBar(double progress, gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetOverlayIcon(const gfx::Image& overlay,
|
|
|
|
const std::string& description);
|
2020-08-19 20:31:25 +00:00
|
|
|
void SetVisibleOnAllWorkspaces(bool visible, gin_helper::Arguments* args);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsVisibleOnAllWorkspaces() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetAutoHideCursor(bool auto_hide);
|
2018-07-30 01:29:18 +00:00
|
|
|
virtual void SetVibrancy(v8::Isolate* isolate, v8::Local<v8::Value> value);
|
2023-05-15 20:31:57 +00:00
|
|
|
void SetBackgroundMaterial(const std::string& vibrancy);
|
2020-03-05 22:22:12 +00:00
|
|
|
|
2022-02-10 02:58:52 +00:00
|
|
|
#if BUILDFLAG(IS_MAC)
|
2024-01-04 15:51:59 +00:00
|
|
|
std::string GetAlwaysOnTopLevel() const;
|
2021-01-19 10:12:09 +00:00
|
|
|
void SetWindowButtonVisibility(bool visible);
|
|
|
|
bool GetWindowButtonVisibility() const;
|
2024-01-10 22:23:35 +00:00
|
|
|
void SetWindowButtonPosition(std::optional<gfx::Point> position);
|
|
|
|
std::optional<gfx::Point> GetWindowButtonPosition() const;
|
2020-03-05 22:22:12 +00:00
|
|
|
|
2022-11-01 20:43:42 +00:00
|
|
|
bool IsHiddenInMissionControl();
|
|
|
|
void SetHiddenInMissionControl(bool hidden);
|
|
|
|
#endif
|
|
|
|
|
2019-10-31 07:56:00 +00:00
|
|
|
void SetTouchBar(std::vector<gin_helper::PersistentDictionary> items);
|
2018-04-14 02:04:23 +00:00
|
|
|
void RefreshTouchBarItem(const std::string& item_id);
|
2019-10-31 07:56:00 +00:00
|
|
|
void SetEscapeTouchBarItem(gin_helper::PersistentDictionary item);
|
2018-04-14 02:04:23 +00:00
|
|
|
void SelectPreviousTab();
|
|
|
|
void SelectNextTab();
|
2023-07-10 08:43:37 +00:00
|
|
|
void ShowAllTabs();
|
2018-04-14 02:04:23 +00:00
|
|
|
void MergeAllWindows();
|
|
|
|
void MoveTabToNewWindow();
|
|
|
|
void ToggleTabBar();
|
2019-10-21 07:05:40 +00:00
|
|
|
void AddTabbedWindow(NativeWindow* window, gin_helper::Arguments* args);
|
2023-10-03 19:27:40 +00:00
|
|
|
v8::Local<v8::Value> GetTabbingIdentifier();
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetAutoHideMenuBar(bool auto_hide);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsMenuBarAutoHide() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
void SetMenuBarVisibility(bool visible);
|
2024-01-04 15:51:59 +00:00
|
|
|
bool IsMenuBarVisible() const;
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetAspectRatio(double aspect_ratio, gin_helper::Arguments* args);
|
|
|
|
void PreviewFile(const std::string& path, gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
void CloseFilePreview();
|
2020-08-20 20:53:06 +00:00
|
|
|
void SetGTKDarkThemeEnabled(bool use_dark_theme);
|
2018-04-14 02:04:23 +00:00
|
|
|
|
|
|
|
// Public getters of NativeWindow.
|
2018-05-08 05:47:26 +00:00
|
|
|
v8::Local<v8::Value> GetContentView() const;
|
2018-04-14 02:04:23 +00:00
|
|
|
v8::Local<v8::Value> GetParentWindow() const;
|
|
|
|
std::vector<v8::Local<v8::Object>> GetChildWindows() const;
|
|
|
|
bool IsModal() const;
|
|
|
|
|
|
|
|
// Extra APIs added in JS.
|
2019-10-21 07:05:40 +00:00
|
|
|
bool SetThumbarButtons(gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
#if defined(TOOLKIT_VIEWS)
|
2021-01-04 20:58:31 +00:00
|
|
|
void SetIcon(v8::Isolate* isolate, v8::Local<v8::Value> icon);
|
2021-01-25 01:24:10 +00:00
|
|
|
void SetIconImpl(v8::Isolate* isolate,
|
|
|
|
v8::Local<v8::Value> icon,
|
|
|
|
NativeImage::OnConvertError on_error);
|
2018-04-14 02:04:23 +00:00
|
|
|
#endif
|
2022-02-10 02:58:52 +00:00
|
|
|
#if BUILDFLAG(IS_WIN)
|
2019-05-29 20:02:15 +00:00
|
|
|
typedef base::RepeatingCallback<void(v8::Local<v8::Value>,
|
|
|
|
v8::Local<v8::Value>)>
|
2018-04-18 01:44:10 +00:00
|
|
|
MessageCallback;
|
2018-04-14 02:04:23 +00:00
|
|
|
bool HookWindowMessage(UINT message, const MessageCallback& callback);
|
|
|
|
bool IsWindowMessageHooked(UINT message);
|
|
|
|
void UnhookWindowMessage(UINT message);
|
|
|
|
void UnhookAllWindowMessages();
|
|
|
|
bool SetThumbnailClip(const gfx::Rect& region);
|
|
|
|
bool SetThumbnailToolTip(const std::string& tooltip);
|
2019-10-21 07:05:40 +00:00
|
|
|
void SetAppDetails(const gin_helper::Dictionary& options);
|
2024-07-03 22:56:40 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX)
|
2024-04-29 15:28:24 +00:00
|
|
|
void SetTitleBarOverlay(const gin_helper::Dictionary& options,
|
|
|
|
gin_helper::Arguments* args);
|
2018-04-14 02:04:23 +00:00
|
|
|
#endif
|
|
|
|
int32_t GetID() const;
|
|
|
|
|
|
|
|
// Helpers.
|
|
|
|
|
|
|
|
// Remove this window from parent window's |child_windows_|.
|
|
|
|
void RemoveFromParentChildWindows();
|
|
|
|
|
2018-09-19 11:10:26 +00:00
|
|
|
template <typename... Args>
|
2024-01-11 01:00:37 +00:00
|
|
|
void EmitEventSoon(std::string_view eventName) {
|
2022-05-17 16:48:40 +00:00
|
|
|
content::GetUIThreadTaskRunner({})->PostTask(
|
|
|
|
FROM_HERE,
|
2020-06-29 07:06:20 +00:00
|
|
|
base::BindOnce(base::IgnoreResult(&BaseWindow::Emit<Args...>),
|
2018-09-07 18:21:58 +00:00
|
|
|
weak_factory_.GetWeakPtr(), eventName));
|
|
|
|
}
|
|
|
|
|
2022-02-10 02:58:52 +00:00
|
|
|
#if BUILDFLAG(IS_WIN)
|
2018-04-14 02:04:23 +00:00
|
|
|
typedef std::map<UINT, MessageCallback> MessageCallbackMap;
|
|
|
|
MessageCallbackMap messages_callback_map_;
|
|
|
|
#endif
|
|
|
|
|
2018-05-08 05:47:26 +00:00
|
|
|
v8::Global<v8::Value> content_view_;
|
2018-04-14 02:04:23 +00:00
|
|
|
v8::Global<v8::Value> menu_;
|
|
|
|
v8::Global<v8::Value> parent_window_;
|
|
|
|
KeyWeakMap<int> child_windows_;
|
|
|
|
|
|
|
|
std::unique_ptr<NativeWindow> window_;
|
|
|
|
|
2020-02-11 00:37:46 +00:00
|
|
|
// Reference to JS wrapper to prevent garbage collection.
|
|
|
|
v8::Global<v8::Value> self_ref_;
|
|
|
|
|
2021-01-26 18:16:21 +00:00
|
|
|
base::WeakPtrFactory<BaseWindow> weak_factory_{this};
|
2018-04-14 02:04:23 +00:00
|
|
|
};
|
|
|
|
|
2022-06-29 19:55:47 +00:00
|
|
|
} // namespace electron::api
|
2018-04-14 02:04:23 +00:00
|
|
|
|
2021-11-22 07:34:31 +00:00
|
|
|
#endif // ELECTRON_SHELL_BROWSER_API_ELECTRON_API_BASE_WINDOW_H_
|