code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIDGET_WIDGET_UTILS_MAC_H_
#define UI_VIEWS_WIDGET_WIDGET_UTILS_MAC_H_
#include "ui/views/views_export.h"
#include "ui/views/widget/widget.h"
namespace views... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/widget_utils_mac.h | C++ | unknown | 472 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/widget/widget_utils_mac.h"
#import "components/remote_cocoa/app_shim/native_widget_ns_window_bridge.h"
namespace views {
gfx::Size GetWindowSizeForClientS... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/widget_utils_mac.mm | Objective-C++ | unknown | 830 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/widget/window_reorderer.h"
#include <stddef.h>
#include <algorithm>
#include <map>
#include <set>
#include <vector>
#include "base/containers/adapters.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/window_reorderer.cc | C++ | unknown | 6,734 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIDGET_WINDOW_REORDERER_H_
#define UI_VIEWS_WIDGET_WINDOW_REORDERER_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/aura/window_observer.h... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/window_reorderer.h | C++ | unknown | 2,148 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/aura/test/test_windows.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui... | Zhao-PengFei35/chromium_src_4 | ui/views/widget/window_reorderer_unittest.cc | C++ | unknown | 10,447 |
# hwnd_util is allowed to include ui/views because it has separate
# implementations for win and aura.
specific_include_rules = {
"hwnd_util.*": [
"+ui/views",
],
}
# The rest of the code here is intended to be distinct from the rest of
# views and not depend on the details of the win and aura implementations.... | Zhao-PengFei35/chromium_src_4 | ui/views/win/DEPS | Python | unknown | 842 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/fullscreen_handler.h"
#include <memory>
#include "base/win/win_util.h"
#include "ui/display/types/display_constants.h"
#include "ui/display/win/screen_... | Zhao-PengFei35/chromium_src_4 | ui/views/win/fullscreen_handler.cc | C++ | unknown | 6,899 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_FULLSCREEN_HANDLER_H_
#define UI_VIEWS_WIN_FULLSCREEN_HANDLER_H_
#include <shobjidl.h>
#include <wrl/client.h>
#include "base/memory/weak_ptr.h"
namespa... | Zhao-PengFei35/chromium_src_4 | ui/views/win/fullscreen_handler.h | C++ | unknown | 1,921 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/hwnd_message_handler.h"
#include <dwmapi.h>
#include <oleacc.h>
#include <shellapi.h>
#include <tchar.h>
#include <wrl/client.h>
#include <utility>
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/win/hwnd_message_handler.cc | C++ | unknown | 151,449 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
#define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_H_
#include <windows.h>
#include <stddef.h>
#include <map>
#include <memory>
#include <... | Zhao-PengFei35/chromium_src_4 | ui/views/win/hwnd_message_handler.h | C++ | unknown | 36,399 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
#define UI_VIEWS_WIN_HWND_MESSAGE_HANDLER_DELEGATE_H_
#include "base/win/windows_types.h"
#include "ui/base/ui_base_types... | Zhao-PengFei35/chromium_src_4 | ui/views/win/hwnd_message_handler_delegate.h | C++ | unknown | 10,123 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_HWND_UTIL_H_
#define UI_VIEWS_WIN_HWND_UTIL_H_
#include "ui/gfx/geometry/point.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/native_widget_types.h... | Zhao-PengFei35/chromium_src_4 | ui/views/win/hwnd_util.h | C++ | unknown | 1,249 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/hwnd_util.h"
#include <windows.h>
#include "base/i18n/rtl.h"
#include "base/trace_event/base_tracing.h"
#include "ui/aura/window.h"
#include "ui/aura/w... | Zhao-PengFei35/chromium_src_4 | ui/views/win/hwnd_util_aurawin.cc | C++ | unknown | 2,114 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/pen_event_processor.h"
#include "base/check.h"
#include "base/notreached.h"
#include "base/time/time.h"
#include "ui/events/event_constants.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/win/pen_event_processor.cc | C++ | unknown | 8,411 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_PEN_EVENT_PROCESSOR_H_
#define UI_VIEWS_WIN_PEN_EVENT_PROCESSOR_H_
#include <windows.h>
#include <memory>
#include "base/memory/raw_ptr.h"
#include "thi... | Zhao-PengFei35/chromium_src_4 | ui/views/win/pen_event_processor.h | C++ | unknown | 2,388 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/pen_event_processor.h"
#include "base/win/scoped_winrt_initializer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/sequential_id_gene... | Zhao-PengFei35/chromium_src_4 | ui/views/win/pen_event_processor_unittest.cc | C++ | unknown | 11,954 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/pen_id_handler.h"
#include "base/strings/utf_string_conversions.h"
#include "base/win/com_init_util.h"
#include "base/win/core_winrt_util.h"
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/views/win/pen_id_handler.cc | C++ | unknown | 5,776 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_PEN_ID_HANDLER_H_
#define UI_VIEWS_WIN_PEN_ID_HANDLER_H_
#include <combaseapi.h>
#include <stdint.h>
#include <windows.devices.input.h>
#include <windows.... | Zhao-PengFei35/chromium_src_4 | ui/views/win/pen_id_handler.h | C++ | unknown | 3,787 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/pen_id_handler.h"
#include "base/win/scoped_winrt_initializer.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/abseil-cpp/absl/ty... | Zhao-PengFei35/chromium_src_4 | ui/views/win/pen_id_handler_unittest.cc | C++ | unknown | 8,755 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/scoped_enable_unadjusted_mouse_events_win.h"
#include "base/logging.h"
#include "ui/views/win/hwnd_message_handler.h"
namespace views {
namespace {
//... | Zhao-PengFei35/chromium_src_4 | ui/views/win/scoped_enable_unadjusted_mouse_events_win.cc | C++ | unknown | 1,895 |
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_SCOPED_ENABLE_UNADJUSTED_MOUSE_EVENTS_WIN_H_
#define UI_VIEWS_WIN_SCOPED_ENABLE_UNADJUSTED_MOUSE_EVENTS_WIN_H_
#include <memory>
#include "base/memory/ra... | Zhao-PengFei35/chromium_src_4 | ui/views/win/scoped_enable_unadjusted_mouse_events_win.h | C++ | unknown | 1,460 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/scoped_fullscreen_visibility.h"
#include <utility>
#include "base/check.h"
namespace views {
// static
std::map<HWND, int>* ScopedFullscreenVisibilit... | Zhao-PengFei35/chromium_src_4 | ui/views/win/scoped_fullscreen_visibility.cc | C++ | unknown | 1,830 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_SCOPED_FULLSCREEN_VISIBILITY_H_
#define UI_VIEWS_WIN_SCOPED_FULLSCREEN_VISIBILITY_H_
#include <windows.h>
#include <map>
#include "ui/views/views_export... | Zhao-PengFei35/chromium_src_4 | ui/views/win/scoped_fullscreen_visibility.h | C++ | unknown | 1,166 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/test_support/fake_ipen_device.h"
#include <combaseapi.h>
#include <string>
#include "base/strings/utf_string_conversions.h"
#include "base/win/win_uti... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipen_device.cc | C++ | unknown | 729 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPEN_DEVICE_H_
#define UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPEN_DEVICE_H_
#include <windows.devices.input.h>
#include <wrl.h>
#include <stri... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipen_device.h | C++ | unknown | 1,069 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/test_support/fake_ipen_device_statics.h"
#include "base/no_destructor.h"
using ABI::Windows::Devices::Input::IPenDevice;
namespace views {
FakeIPenDe... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipen_device_statics.cc | C++ | unknown | 1,516 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPEN_DEVICE_STATICS_H_
#define UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPEN_DEVICE_STATICS_H_
#include <windows.devices.input.h>
#include <wrl.h>... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipen_device_statics.h | C++ | unknown | 1,648 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/test_support/fake_ipen_pointer_point_statics.h"
#include "base/no_destructor.h"
#include "base/notreached.h"
namespace views {
FakeIPenPointerPointSta... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipen_pointer_point_statics.cc | C++ | unknown | 2,519 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPEN_POINTER_POINT_STATICS_H_
#define UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPEN_POINTER_POINT_STATICS_H_
#include <windows.devices.input.h>
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipen_pointer_point_statics.h | C++ | unknown | 2,655 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/test_support/fake_ipointer_point.h"
#include <combaseapi.h>
#include <wchar.h>
#include <string>
#include "base/check_op.h"
#include "base/cxx17_backp... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipointer_point.cc | C++ | unknown | 2,612 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPOINTER_POINT_H_
#define UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPOINTER_POINT_H_
#include <windows.devices.input.h>
#include <windows.ui.input... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipointer_point.h | C++ | unknown | 1,975 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/win/test_support/fake_ipointer_point_properties.h"
#include <combaseapi.h>
#include <wchar.h>
#include <string>
#include "base/check_op.h"
#include "base/... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipointer_point_properties.cc | C++ | unknown | 4,118 |
// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPOINTER_POINT_PROPERTIES_H_
#define UI_VIEWS_WIN_TEST_SUPPORT_FAKE_IPOINTER_POINT_PROPERTIES_H_
#include <windows.devices.input.h>
#inc... | Zhao-PengFei35/chromium_src_4 | ui/views/win/test_support/fake_ipointer_point_properties.h | C++ | unknown | 3,061 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/caption_button_layout_constants.h"
#include "build/chromeos_buildflags.h"
#include "ui/base/pointer/touch_ui_controller.h"
#include "ui/gfx/geometry/... | Zhao-PengFei35/chromium_src_4 | ui/views/window/caption_button_layout_constants.cc | C++ | unknown | 1,364 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_CAPTION_BUTTON_LAYOUT_CONSTANTS_H_
#define UI_VIEWS_WINDOW_CAPTION_BUTTON_LAYOUT_CONSTANTS_H_
#include "ui/views/views_export.h"
namespace gfx {
class... | Zhao-PengFei35/chromium_src_4 | ui/views/window/caption_button_layout_constants.h | C++ | unknown | 1,138 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_CAPTION_BUTTON_TYPES_H_
#define UI_VIEWS_WINDOW_CAPTION_BUTTON_TYPES_H_
namespace views {
// These are the icon types that a caption button can have. ... | Zhao-PengFei35/chromium_src_4 | ui/views/window/caption_button_types.h | C++ | unknown | 1,093 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/client_view.h"
#include <memory>
#include "base/check.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/window/client_view.cc | C++ | unknown | 3,122 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_CLIENT_VIEW_H_
#define UI_VIEWS_WINDOW_CLIENT_VIEW_H_
#include "base/memory/raw_ptr.h"
#include "ui/views/metadata/view_factory.h"
#include "ui/views/v... | Zhao-PengFei35/chromium_src_4 | ui/views/window/client_view.h | C++ | unknown | 3,272 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/custom_frame_view.h"
#include <algorithm>
#include <utility>
#include <vector>
#include "base/containers/adapters.h"
#include "base/strings/utf_stri... | Zhao-PengFei35/chromium_src_4 | ui/views/window/custom_frame_view.cc | C++ | unknown | 24,014 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_
#define UI_VIEWS_WINDOW_CUSTOM_FRAME_VIEW_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/gfx/image/image_skia... | Zhao-PengFei35/chromium_src_4 | ui/views/window/custom_frame_view.h | C++ | unknown | 6,073 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/custom_frame_view.h"
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#include "ui/views/contro... | Zhao-PengFei35/chromium_src_4 | ui/views/window/custom_frame_view_unittest.cc | C++ | unknown | 7,855 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/dialog_client_view.h"
#include <algorithm>
#include <memory>
#include <utility>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "base/ra... | Zhao-PengFei35/chromium_src_4 | ui/views/window/dialog_client_view.cc | C++ | unknown | 16,961 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
#define UI_VIEWS_WINDOW_DIALOG_CLIENT_VIEW_H_
#include <memory>
#include <utility>
#include "base/gtest_prod_util.h"
#include "b... | Zhao-PengFei35/chromium_src_4 | ui/views/window/dialog_client_view.h | C++ | unknown | 7,029 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/dialog_client_view.h"
#include <algorithm>
#include <map>
#include <memory>
#include <string>
#include <utility>
#include "base/memory/raw_ptr.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/window/dialog_client_view_unittest.cc | C++ | unknown | 29,529 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/dialog_delegate.h"
#include <utility>
#include "base/debug/alias.h"
#include "base/feature_list.h"
#include "base/logging.h"
#include "base/metrics/... | Zhao-PengFei35/chromium_src_4 | ui/views/window/dialog_delegate.cc | C++ | unknown | 15,667 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
#define UI_VIEWS_WINDOW_DIALOG_DELEGATE_H_
#include <memory>
#include <string>
#include <utility>
#include "base/compiler_specific.... | Zhao-PengFei35/chromium_src_4 | ui/views/window/dialog_delegate.h | C++ | unknown | 20,165 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <stddef.h>
#include "base/functional/callback.h"
#include "base/memory/raw_ptr.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#includ... | Zhao-PengFei35/chromium_src_4 | ui/views/window/dialog_delegate_unittest.cc | C++ | unknown | 19,562 |
// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_DIALOG_OBSERVER_H_
#define UI_VIEWS_WINDOW_DIALOG_OBSERVER_H_
#include "ui/views/views_export.h"
namespace views {
// Allows properties on a DialogDe... | Zhao-PengFei35/chromium_src_4 | ui/views/window/dialog_observer.h | C++ | unknown | 604 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/frame_background.h"
#include <algorithm>
#include "build/build_config.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/s... | Zhao-PengFei35/chromium_src_4 | ui/views/window/frame_background.cc | C++ | unknown | 7,003 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_FRAME_BACKGROUND_H_
#define UI_VIEWS_WINDOW_FRAME_BACKGROUND_H_
#include "base/memory/raw_ptr.h"
#include "third_party/skia/include/core/SkColor.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/window/frame_background.h | C++ | unknown | 4,761 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_FRAME_BUTTONS_H_
#define UI_VIEWS_WINDOW_FRAME_BUTTONS_H_
namespace views {
// Identifies what a button in a window frame is.
enum class FrameButton {... | Zhao-PengFei35/chromium_src_4 | ui/views/window/frame_buttons.h | C++ | unknown | 421 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/frame_caption_button.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "cc/paint/p... | Zhao-PengFei35/chromium_src_4 | ui/views/window/frame_caption_button.cc | C++ | unknown | 15,285 |
// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_FRAME_CAPTION_BUTTON_H_
#define UI_VIEWS_WINDOW_FRAME_CAPTION_BUTTON_H_
#include <memory>
#include "base/callback_list.h"
#include "base/memory/raw_pt... | Zhao-PengFei35/chromium_src_4 | ui/views/window/frame_caption_button.h | C++ | unknown | 4,854 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/frame_caption_button.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/hit_test.... | Zhao-PengFei35/chromium_src_4 | ui/views/window/frame_caption_button_unittest.cc | C++ | unknown | 1,542 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/hit_test_utils.h"
#include "ui/base/hit_test.h"
#include "ui/gfx/geometry/point.h"
#include "ui/views/view.h"
#include "ui/views/view_class_propertie... | Zhao-PengFei35/chromium_src_4 | ui/views/window/hit_test_utils.cc | C++ | unknown | 1,060 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_HIT_TEST_UTILS_H_
#define UI_VIEWS_WINDOW_HIT_TEST_UTILS_H_
#include "ui/views/views_export.h"
namespace gfx {
class Point;
}
namespace views {
clas... | Zhao-PengFei35/chromium_src_4 | ui/views/window/hit_test_utils.h | C++ | unknown | 801 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/hit_test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/hit_test.h"
#include "ui/views/test/views_test_base.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/views/window/hit_test_utils_unittest.cc | C++ | unknown | 2,146 |
// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/native_frame_view.h"
#include "build/build_config.h"
#include "ui/base/metadata/metadata_impl_macros.h"
#include "ui/views/widget/native_widget.h"
#i... | Zhao-PengFei35/chromium_src_4 | ui/views/window/native_frame_view.cc | C++ | unknown | 2,869 |
// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_
#define UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_H_
#include "base/memory/raw_ptr.h"
#include "ui/base/metadata/metadata_header_macros.h"... | Zhao-PengFei35/chromium_src_4 | ui/views/window/native_frame_view.h | C++ | unknown | 1,662 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_MAC_H_
#define UI_VIEWS_WINDOW_NATIVE_FRAME_VIEW_MAC_H_
#include "ui/base/metadata/metadata_header_macros.h"
#include "ui/views/windo... | Zhao-PengFei35/chromium_src_4 | ui/views/window/native_frame_view_mac.h | C++ | unknown | 900 |
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/native_frame_view_mac.h"
#import <Cocoa/Cocoa.h>
#include "ui/base/metadata/metadata_impl_macros.h"
#import "ui/gfx/mac/coordinate_conversion.h"
#in... | Zhao-PengFei35/chromium_src_4 | ui/views/window/native_frame_view_mac.mm | Objective-C++ | unknown | 1,120 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/non_client_view.h"
#include <memory>
#include <utility>
#include "base/containers/cxx20_erase.h"
#include "build/build_config.h"
#include "ui/access... | Zhao-PengFei35/chromium_src_4 | ui/views/window/non_client_view.cc | C++ | unknown | 11,549 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_
#define UI_VIEWS_WINDOW_NON_CLIENT_VIEW_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#include "build/build_config.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/views/window/non_client_view.h | C++ | unknown | 10,432 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/window_button_order_provider.h"
namespace views {
// static
WindowButtonOrderProvider* WindowButtonOrderProvider::instance_ = nullptr;
////////////... | Zhao-PengFei35/chromium_src_4 | ui/views/window/window_button_order_provider.cc | C++ | unknown | 1,308 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_WINDOW_BUTTON_ORDER_PROVIDER_H_
#define UI_VIEWS_WINDOW_WINDOW_BUTTON_ORDER_PROVIDER_H_
#include <vector>
#include "ui/views/views_export.h"
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views/window/window_button_order_provider.h | C++ | unknown | 1,901 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_WINDOW_RESOURCES_H_
#define UI_VIEWS_WINDOW_WINDOW_RESOURCES_H_
namespace gfx {
class ImageSkia;
}
namespace views {
using FramePartImage = int;
///... | Zhao-PengFei35/chromium_src_4 | ui/views/window/window_resources.h | C++ | unknown | 912 |
// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views/window/window_shape.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/gfx/geometry/size.h"
namespace views {
void GetDefaultWindowMask(con... | Zhao-PengFei35/chromium_src_4 | ui/views/window/window_shape.cc | C++ | unknown | 1,287 |
// Copyright 2011 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WINDOW_WINDOW_SHAPE_H_
#define UI_VIEWS_WINDOW_WINDOW_SHAPE_H_
#include "ui/views/views_export.h"
class SkPath;
namespace gfx {
class Size;
}
namespace vie... | Zhao-PengFei35/chromium_src_4 | ui/views/window/window_shape.h | C++ | unknown | 601 |
// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_WORD_LOOKUP_CLIENT_H_
#define UI_VIEWS_WORD_LOOKUP_CLIENT_H_
#include "ui/views/views_export.h"
namespace gfx {
struct DecoratedText;
class Point;
} // name... | Zhao-PengFei35/chromium_src_4 | ui/views/word_lookup_client.h | C++ | unknown | 1,315 |
include_rules = [
"+content/public",
"+content/shell",
"+storage/browser/quota",
"+ui/aura",
"+ui/base",
"+ui/display",
"+ui/gfx",
"+ui/views",
"+ui/wm",
]
| Zhao-PengFei35/chromium_src_4 | ui/views_content_client/DEPS | Python | unknown | 174 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views_content_client/views_content_browser_client.h"
#include <utility>
#include "content/public/browser/browser_context.h"
#include "content/public/browser/stor... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_browser_client.cc | C++ | unknown | 861 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_BROWSER_CLIENT_H_
#include <memory>
#include "base/memory/raw_pt... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_browser_client.h | C++ | unknown | 1,104 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views_content_client/views_content_client.h"
#include <utility>
#include "build/build_config.h"
#include "content/public/app/content_main.h"
#include "ui/views_c... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client.cc | C++ | unknown | 1,463 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_H_
#include <utility>
#include "base/functional/callback.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client.h | C++ | unknown | 3,588 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_EXPORT_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_EXPORT_H_
// Defines VIEWS_CONTENT_CLIENT_EXPORT so that fu... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_export.h | C | unknown | 1,090 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views_content_client/views_content_client_main_parts.h"
#include <utility>
#include "base/run_loop.h"
#include "build/build_config.h"
#include "content/public/co... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_main_parts.cc | C++ | unknown | 1,446 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_H_
#include <memory>
#include "base/memory/... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_main_parts.h | C++ | unknown | 1,909 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views_content_client/views_content_client_main_parts_aura.h"
#include <utility>
#include "build/chromeos_buildflags.h"
#if !BUILDFLAG(IS_CHROMEOS_ASH)
#include ... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_main_parts_aura.cc | C++ | unknown | 963 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_CLIENT_MAIN_PARTS_AURA_H_
#include <memory>
#include "bu... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_main_parts_aura.h | C++ | unknown | 1,242 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/browser/context_factory.h"
#include "content/public/common/result_codes.h"
#include "content/shell/browser/shell_browser_context.h"
#include "ui/aura/w... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_main_parts_chromeos.cc | C++ | unknown | 2,466 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "content/public/common/result_codes.h"
#include "content/shell/browser/shell_browser_context.h"
#include "ui/display/screen.h"
#include "ui/views/widget/desktop_aura/d... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_main_parts_desktop_aura.cc | C++ | unknown | 2,081 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <Cocoa/Cocoa.h>
#include <utility>
#include "base/files/file_path.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/mac/scoped... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_client_main_parts_mac.mm | Objective-C++ | unknown | 5,261 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/views_content_client/views_content_main_delegate.h"
#include <string>
#include "base/command_line.h"
#include "base/files/file_path.h"
#include "base/logging.h"
... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_main_delegate.cc | C++ | unknown | 3,489 |
// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_MAIN_DELEGATE_H_
#define UI_VIEWS_CONTENT_CLIENT_VIEWS_CONTENT_MAIN_DELEGATE_H_
#include <memory>
#include "base/memory/raw_ptr.... | Zhao-PengFei35/chromium_src_4 | ui/views_content_client/views_content_main_delegate.h | C++ | unknown | 1,445 |
include_rules = [
"+content/public",
"+third_party/blink/public/common/input/web_gesture_event.h",
"+third_party/blink/public/mojom/loader/resource_load_info.mojom.h",
"+ui/base",
"+ui/gfx",
"+ui/webui",
]
| Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/DEPS | Python | unknown | 218 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/web_dialogs/test/test_web_contents_handler.h"
#include "content/public/browser/file_select_listener.h"
#include "content/public/browser/render_frame_host.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/test/test_web_contents_handler.cc | C++ | unknown | 1,278 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WEB_DIALOGS_TEST_TEST_WEB_CONTENTS_HANDLER_H_
#define UI_WEB_DIALOGS_TEST_TEST_WEB_CONTENTS_HANDLER_H_
#include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/test/test_web_contents_handler.h | C++ | unknown | 1,656 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/web_dialogs/test/test_web_dialog_delegate.h"
#include "base/check.h"
#include "base/strings/utf_string_conversions.h"
using content::WebContents;
using content::... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/test/test_web_dialog_delegate.cc | C++ | unknown | 1,945 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_
#define UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_
#include <string>
#include "base/memory/raw_ptr.h"
#include "u... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/test/test_web_dialog_delegate.h | C++ | unknown | 2,081 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/web_dialogs/web_dialog_delegate.h"
#include "ui/base/accelerators/accelerator.h"
namespace ui {
std::u16string WebDialogDelegate::GetAccessibleDialogTitle() con... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialog_delegate.cc | C++ | unknown | 2,008 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_
#define UI_WEB_DIALOGS_WEB_DIALOG_DELEGATE_H_
#include <string>
#include <vector>
#include "content/public/browser/web_contents_... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialog_delegate.h | C++ | unknown | 8,130 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/web_dialogs/web_dialog_ui.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/lazy_instance.h"
#include "base/memory... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialog_ui.cc | C++ | unknown | 5,045 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WEB_DIALOGS_WEB_DIALOG_UI_H_
#define UI_WEB_DIALOGS_WEB_DIALOG_UI_H_
#include "base/memory/raw_ptr.h"
#include "content/public/browser/web_contents_delegate.h"
#inc... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialog_ui.h | C++ | unknown | 3,481 |
// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/web_dialogs/web_dialog_ui.h"
#include "content/public/common/bindings_policy.h"
#include "content/public/test/test_web_ui.h"
#include "testing/gtest/include/gtest... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialog_ui_unittest.cc | C++ | unknown | 972 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
#include <utility>
#include "base/check.h"
#include "content/public/browser/file_select_listener.h"
#include "con... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialog_web_contents_delegate.cc | C++ | unknown | 2,523 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_
#define UI_WEB_DIALOGS_WEB_DIALOG_WEB_CONTENTS_DELEGATE_H_
#include <memory>
#include "base/memory/raw_ptr.h"
#incl... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialog_web_contents_delegate.h | C++ | unknown | 4,042 |
// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WEB_DIALOGS_WEB_DIALOGS_EXPORT_H_
#define UI_WEB_DIALOGS_WEB_DIALOGS_EXPORT_H_
// Defines WEB_DIALOGS_EXPORT so that functionality implemented by the
// web_dialogs... | Zhao-PengFei35/chromium_src_4 | ui/web_dialogs/web_dialogs_export.h | C | unknown | 897 |
include_rules = [
"+content/public",
"+mojo/public",
"+net",
"+services/service_manager/public/cpp/binder_registry.h",
"+ui/base",
"+ui/gfx",
"+components/content_settings/core",
"+components/page_image_service"
]
| Zhao-PengFei35/chromium_src_4 | ui/webui/DEPS | Python | unknown | 230 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ui/webui/color_change_listener/color_change_handler.h"
#include "content/public/browser/web_ui_data_source.h"
#include "ui/base/webui/resource_path.h"
namespace ui ... | Zhao-PengFei35/chromium_src_4 | ui/webui/color_change_listener/color_change_handler.cc | C++ | unknown | 935 |
// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef UI_WEBUI_COLOR_CHANGE_LISTENER_COLOR_CHANGE_HANDLER_H_
#define UI_WEBUI_COLOR_CHANGE_LISTENER_COLOR_CHANGE_HANDLER_H_
#include "content/public/browser/web_contents_obs... | Zhao-PengFei35/chromium_src_4 | ui/webui/color_change_listener/color_change_handler.h | C++ | unknown | 1,646 |