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. #include "ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone.h" #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/functional/call...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_drag_drop_client_ozone_unittest.cc
C++
unknown
21,686
// 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/widget/desktop_aura/desktop_drag_drop_client_win.h" #include <memory> #include "base/metrics/histogram_macros.h" #include "base/threading/hang_watcher.h" #...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_drag_drop_client_win.cc
C++
unknown
4,173
// 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_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DRAG_DROP_CLIENT_WIN_H_ #include <wrl/client.h> #include <me...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_drag_drop_client_win.h
C++
unknown
2,441
// 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/widget/desktop_aura/desktop_drop_target_win.h" #include <utility> #include "base/win/win_util.h" #include "ui/aura/client/drag_drop_client.h" #include "ui/...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_drop_target_win.cc
C++
unknown
5,691
// 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_WIDGET_DESKTOP_AURA_DESKTOP_DROP_TARGET_WIN_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DROP_TARGET_WIN_H_ #include <memory> #include "base/memory/raw_pt...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_drop_target_win.h
C++
unknown
2,822
// 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/desktop_aura/desktop_event_client.h" #include "ui/aura/env.h" namespace views { DesktopEventClient::DesktopEventClient() = default; DesktopEventCl...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_event_client.cc
C++
unknown
601
// 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_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ #include "ui/aura/client/event_client.h" #include "ui...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_event_client.h
C++
unknown
919
// 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/widget/desktop_aura/desktop_focus_rules.h" #include "ui/aura/client/aura_constants.h" #include "ui/aura/window.h" #include "ui/aura/window_event_dispatcher....
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_focus_rules.cc
C++
unknown
3,145
// 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_WIDGET_DESKTOP_AURA_DESKTOP_FOCUS_RULES_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_FOCUS_RULES_H_ #include "base/memory/raw_ptr.h" #include "ui/wm/core/b...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_focus_rules.h
C++
unknown
1,434
// 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/widget/desktop_aura/desktop_focus_rules.h" #include "ui/aura/client/focus_client.h" #include "ui/aura/test/test_window_delegate.h" #include "ui/aura/window....
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_focus_rules_unittest.cc
C++
unknown
2,099
// 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/widget/desktop_aura/desktop_native_cursor_manager.h" #include "base/trace_event/trace_event.h" #include "ui/aura/client/cursor_shape_client.h" #include "ui/...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_cursor_manager.cc
C++
unknown
2,989
// 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_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_H_ #include <memory> #include <set> #...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_cursor_manager.h
C++
unknown
2,291
// 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/widget/desktop_aura/desktop_native_cursor_manager_win.h" #include <utility> #include "base/functional/bind.h" #include "base/functional/callback.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_cursor_manager_win.cc
C++
unknown
2,379
// 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_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_WIN_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_CURSOR_MANAGER_WIN_H_ #include "base/win/registry...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_cursor_manager_win.h
C++
unknown
1,572
// 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/widget/desktop_aura/desktop_native_widget_aura.h" #include <memory> #include <utility> #include "base/auto_reset.h" #include "base/functional/bind.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
C++
unknown
56,799
// 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_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ #include <memory> #include <string> #inc...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_widget_aura.h
C++
unknown
15,468
// 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/widget/desktop_aura/desktop_native_widget_aura.h" #include "ui/views/test/native_widget_factory.h" #include "ui/views/test/widget_test.h" #include "ui/wm/pu...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_widget_aura_interactive_uitest.cc
C++
unknown
6,963
// 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/desktop_aura/desktop_native_widget_aura.h" #include <memory> #include <utility> #include "base/functional/bind.h" #include "base/memory/raw_ptr.h" #...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_native_widget_aura_unittest.cc
C++
unknown
36,270
// 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_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_H_ #include <memory> #include "ui/views/views_export.h" namespace ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen.h
C++
unknown
615
// 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/desktop_aura/desktop_screen_ozone.h" #include <memory> #include "build/build_config.h" #include "ui/aura/screen_ozone.h" #include "ui/views/widget/d...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen_ozone.cc
C++
unknown
1,010
// Copyright 2020 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_DESKTOP_AURA_DESKTOP_SCREEN_OZONE_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_OZONE_H_ #include "ui/aura/screen_ozone.h" #include "ui/views/...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen_ozone.h
C++
unknown
858
// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "base/scoped_observation.h" #include "ui/linux/device_scale_factor_observer.h" #include "ui/linux/linux_ui.h" #include "ui/ozone/public/platform_screen.h" #include "ui...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen_ozone_linux.cc
C++
unknown
2,393
// 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/widget/desktop_aura/desktop_screen_position_client.h" #include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h" namespace views { namespace { ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen_position_client.cc
C++
unknown
1,975
// 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_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_POSITION_CLIENT_H_ #include "ui/views/views_export.h...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen_position_client.h
C++
unknown
1,172
// 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/widget/desktop_aura/desktop_screen_win.h" #include <memory> #include "ui/aura/window.h" #include "ui/aura/window_tree_host.h" #include "ui/views/widget/des...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen_win.cc
C++
unknown
1,688
// 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_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_SCREEN_WIN_H_ #include "base/memory/raw_ptr.h" #include "ui/display/win...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_screen_win.h
C++
unknown
1,093
// 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/widget/desktop_aura/desktop_window_tree_host.h" #include "build/build_config.h" #include "ui/aura/window.h" #include "ui/aura/window_tree_host.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host.cc
C++
unknown
1,097
// 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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_H_ #include <memory> #include <string> #include...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host.h
C++
unknown
8,545
// 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/widget/desktop_aura/desktop_window_tree_host_lacros.h" #include <memory> #include <string> #include "chromeos/ui/base/window_properties.h" #include "ui/aur...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_lacros.cc
C++
unknown
7,577
// 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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_LACROS_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_LACROS_H_ #include <memory> #include "ba...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_lacros.h
C++
unknown
3,296
// 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/widget/desktop_aura/desktop_window_tree_host_linux.h" #include <list> #include <memory> #include <string> #include <vector> #include "base/memory/raw_ptr.h...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_linux.cc
C++
unknown
13,059
// 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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_LINUX_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_LINUX_H_ #include <memory> #include <strin...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_linux.h
C++
unknown
4,494
// 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/desktop_aura/desktop_window_tree_host_platform.h" #include <memory> #include <string> #include <utility> #include "base/containers/contains.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_platform.cc
C++
unknown
37,336
// 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_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_PLATFORM_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_PLATFORM_H_ #include <list> #include <m...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h
C++
unknown
10,146
// 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 "base/memory/raw_ptr.h" #include "ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h" #include "base/run_loop.h" #include "build/build_config.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_platform_impl_interactive_uitest.cc
C++
unknown
25,910
// Copyright 2020 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/desktop_aura/desktop_window_tree_host_platform.h" #include <utility> #include "base/command_line.h" #include "ui/base/hit_test.h" #include "ui/base/...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_platform_impl_unittest.cc
C++
unknown
9,154
// 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/desktop_aura/desktop_window_tree_host_platform.h" #include <memory> #include <utility> #include "base/command_line.h" #include "base/memory/raw_ptr....
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_platform_unittest.cc
C++
unknown
13,455
// 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/widget/desktop_aura/desktop_window_tree_host_win.h" #include <algorithm> #include <utility> #include <vector> #include "base/containers/flat_set.h" #includ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_win.cc
C++
unknown
47,194
// 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_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_WINDOW_TREE_HOST_WIN_H_ #include <memory> #include <string> ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_win.h
C++
unknown
15,888
// 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/widget/desktop_aura/desktop_window_tree_host_win.h" #include <oleacc.h> #include <windows.h> #include <utility> #include "base/command_line.h" #include "u...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/desktop_window_tree_host_win_unittest.cc
C++
unknown
6,826
// 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/widget/desktop_aura/window_event_filter_lacros.h" #include "ui/aura/client/aura_constants.h" #include "ui/aura/window.h" #include "ui/aura/window_delegate.h...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/window_event_filter_lacros.cc
C++
unknown
3,828
// 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_WIDGET_DESKTOP_AURA_WINDOW_EVENT_FILTER_LACROS_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_WINDOW_EVENT_FILTER_LACROS_H_ #include "base/memory/raw_ptr.h" #include...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/window_event_filter_lacros.h
C++
unknown
2,097
// 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/widget/desktop_aura/window_event_filter_linux.h" #include "third_party/abseil-cpp/absl/types/optional.h" #include "ui/aura/client/aura_constants.h" #include...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/window_event_filter_linux.cc
C++
unknown
8,324
// 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_WIDGET_DESKTOP_AURA_WINDOW_EVENT_FILTER_LINUX_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_WINDOW_EVENT_FILTER_LINUX_H_ #include "base/memory/raw_ptr.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/window_event_filter_linux.h
C++
unknown
2,864
// Copyright 2020 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/desktop_aura/window_move_client_platform.h" #include "ui/views/widget/desktop_aura/desktop_window_tree_host_platform.h" namespace views { WindowMov...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/window_move_client_platform.cc
C++
unknown
1,211
// Copyright 2020 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_DESKTOP_AURA_WINDOW_MOVE_CLIENT_PLATFORM_H_ #define UI_VIEWS_WIDGET_DESKTOP_AURA_WINDOW_MOVE_CLIENT_PLATFORM_H_ #include "base/memory/raw_ptr.h" #inclu...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_aura/window_move_client_platform.h
C++
unknown
1,386
// 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/display/display.h" #include "ui/display/screen.h" #include "ui/views/test/native_widget_factory.h" #include "ui/views/test/widget_test.h" #include "ui/views/widget...
Zhao-PengFei35/chromium_src_4
ui/views/widget/desktop_widget_unittest.cc
C++
unknown
7,571
// 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/widget/drop_helper.h" #include <memory> #include <set> #include <utility> #include "base/functional/bind.h" #include "base/functional/callback.h" #include ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/drop_helper.cc
C++
unknown
8,109
// 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_WIDGET_DROP_HELPER_H_ #define UI_VIEWS_WIDGET_DROP_HELPER_H_ #include <memory> #include "base/functional/callback_forward.h" #include "base/memory/raw_ptr.h"...
Zhao-PengFei35/chromium_src_4
ui/views/widget/drop_helper.h
C++
unknown
5,440
// 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/widget/drop_helper.h" #include <memory> #include <set> #include <utility> #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gt...
Zhao-PengFei35/chromium_src_4
ui/views/widget/drop_helper_unittest.cc
C++
unknown
4,005
// 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/widget/focus_manager_event_handler.h" #include "ui/aura/window.h" #include "ui/views/focus/focus_manager.h" #include "ui/views/widget/widget.h" namespace v...
Zhao-PengFei35/chromium_src_4
ui/views/widget/focus_manager_event_handler.cc
C++
unknown
1,023
// 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_WIDGET_FOCUS_MANAGER_EVENT_HANDLER_H_ #define UI_VIEWS_WIDGET_FOCUS_MANAGER_EVENT_HANDLER_H_ #include "base/memory/raw_ptr.h" #include "base/strings/string_pi...
Zhao-PengFei35/chromium_src_4
ui/views/widget/focus_manager_event_handler.h
C++
unknown
1,273
// 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_WIDGET_NATIVE_WIDGET_H_ #define UI_VIEWS_WIDGET_NATIVE_WIDGET_H_ #include "ui/views/views_export.h" namespace views { class Widget; namespace internal { cl...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget.h
C++
unknown
1,147
// 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/widget/native_widget_aura.h" #include <memory> #include <utility> #include <vector> #include "base/functional/bind.h" #include "base/functional/callback_he...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_aura.cc
C++
unknown
47,930
// 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_WIDGET_NATIVE_WIDGET_AURA_H_ #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include "bas...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_aura.h
C++
unknown
12,351
// 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/widget/native_widget_aura.h" #include "ui/aura/window.h" #include "ui/views/controls/textfield/textfield.h" #include "ui/views/test/native_widget_factory.h"...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_aura_interactive_uitest.cc
C++
unknown
3,734
// 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/widget/native_widget_aura.h" #include <memory> #include <set> #include <utility> #include "base/command_line.h" #include "base/memory/raw_ptr.h" #include "...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_aura_unittest.cc
C++
unknown
38,839
// 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_WIDGET_NATIVE_WIDGET_DELEGATE_H_ #define UI_VIEWS_WIDGET_NATIVE_WIDGET_DELEGATE_H_ #include "ui/events/event_constants.h" #include "ui/gfx/native_widget_types...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_delegate.h
C++
unknown
6,112
// 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_WIDGET_NATIVE_WIDGET_MAC_H_ #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include "ui/ba...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_mac.h
Objective-C
unknown
12,952
// 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/widget/native_widget_mac.h" #include <ApplicationServices/ApplicationServices.h> #import <Cocoa/Cocoa.h> #include <CoreFoundation/CoreFoundation.h> #includ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_mac.mm
Objective-C++
unknown
39,914
// 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/widget/native_widget_mac.h" #include "base/memory/raw_ptr.h" #import <Cocoa/Cocoa.h> #import "base/mac/mac_util.h" #import "base/mac/scoped_nsobject.h" #i...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_mac_interactive_uitest.mm
Objective-C++
unknown
14,759
// 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 "base/memory/raw_ptr.h" #import "base/task/single_thread_task_runner.h" #include "base/task/single_thread_task_runner.h" #import "ui/views/widget/native_widget_mac.h"...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_mac_unittest.mm
Objective-C++
unknown
94,780
// 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/native_widget_private.h" #include "ui/base/emoji/emoji_panel_helper.h" #include "ui/display/display.h" #include "ui/display/screen.h" namespace view...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_private.cc
C++
unknown
895
// 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_WIDGET_NATIVE_WIDGET_PRIVATE_H_ #define UI_VIEWS_WIDGET_NATIVE_WIDGET_PRIVATE_H_ #include <memory> #include <string> #include "ui/base/dragdrop/mojom/drag_dr...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_private.h
C++
unknown
11,443
// 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 "base/memory/raw_ptr.h" #include "testing/gtest/include/gtest/gtest.h" #include "ui/views/controls/native/native_view_host.h" #include "ui/views/test/views_test_base.h...
Zhao-PengFei35/chromium_src_4
ui/views/widget/native_widget_unittest.cc
C++
unknown
3,626
// 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/widget/root_view.h" #include <algorithm> #include <memory> #include "base/logging.h" #include "base/memory/raw_ptr.h" #include "base/memory/raw_ptr_exclusi...
Zhao-PengFei35/chromium_src_4
ui/views/widget/root_view.cc
C++
unknown
33,117
// 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_WIDGET_ROOT_VIEW_H_ #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ #include <memory> #include <string> #include "base/memory/raw_ptr.h" #include "ui/events/event_proce...
Zhao-PengFei35/chromium_src_4
ui/views/widget/root_view.h
C++
unknown
10,874
// 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/widget/root_view_targeter.h" #include "ui/views/view.h" #include "ui/views/view_targeter_delegate.h" #include "ui/views/views_switches.h" #include "ui/views...
Zhao-PengFei35/chromium_src_4
ui/views/widget/root_view_targeter.cc
C++
unknown
2,735
// 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_WIDGET_ROOT_VIEW_TARGETER_H_ #define UI_VIEWS_WIDGET_ROOT_VIEW_TARGETER_H_ #include "base/memory/raw_ptr.h" #include "ui/views/view_targeter.h" #include "ui/v...
Zhao-PengFei35/chromium_src_4
ui/views/widget/root_view_targeter.h
C++
unknown
1,576
// 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/root_view.h" #include <memory> #include <utility> #include "base/memory/ptr_util.h" #include "base/memory/raw_ptr.h" #include "build/build_config.h"...
Zhao-PengFei35/chromium_src_4
ui/views/widget/root_view_unittest.cc
C++
unknown
38,963
// 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/widget/sublevel_manager.h" #include "base/containers/cxx20_erase_vector.h" #include "base/ranges/algorithm.h" #include "ui/views/widget/native_widget_privat...
Zhao-PengFei35/chromium_src_4
ui/views/widget/sublevel_manager.cc
C++
unknown
3,925
// 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_WIDGET_SUBLEVEL_MANAGER_H_ #define UI_VIEWS_WIDGET_SUBLEVEL_MANAGER_H_ #include <vector> #include "base/memory/raw_ptr.h" #include "base/scoped_observation.h...
Zhao-PengFei35/chromium_src_4
ui/views/widget/sublevel_manager.h
C++
unknown
2,685
// 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/widget/sublevel_manager.h" #include <AppKit/AppKit.h> #include <algorithm> #include <memory> #include <string> #include <tuple> #include <utility> #includ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/sublevel_manager_mac_unittest.mm
Objective-C++
unknown
4,208
// 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/widget/sublevel_manager.h" #include <algorithm> #include <memory> #include <string> #include <tuple> #include <utility> #include "base/test/scoped_feature_...
Zhao-PengFei35/chromium_src_4
ui/views/widget/sublevel_manager_unittest.cc
C++
unknown
11,829
// 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/widget/tooltip_manager.h" namespace views { // static const char TooltipManager::kGroupingPropertyKey[] = "GroupingPropertyKey"; } // namespace views
Zhao-PengFei35/chromium_src_4
ui/views/widget/tooltip_manager.cc
C++
unknown
317
// 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_WIDGET_TOOLTIP_MANAGER_H_ #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_H_ #include "ui/views/views_export.h" namespace gfx { class FontList; class Point; } // n...
Zhao-PengFei35/chromium_src_4
ui/views/widget/tooltip_manager.h
C++
unknown
1,795
// 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/widget/tooltip_manager_aura.h" #include "ui/aura/client/screen_position_client.h" #include "ui/aura/window_event_dispatcher.h" #include "ui/aura/window_tree...
Zhao-PengFei35/chromium_src_4
ui/views/widget/tooltip_manager_aura.cc
C++
unknown
5,062
// 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_WIDGET_TOOLTIP_MANAGER_AURA_H_ #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_ #include <string> #include "base/memory/raw_ptr.h" #include "ui/gfx/geometry/p...
Zhao-PengFei35/chromium_src_4
ui/views/widget/tooltip_manager_aura.h
C++
unknown
2,111
// Copyright 2020 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/unique_widget_ptr.h" #include <utility> namespace views { UniqueWidgetPtr::UniqueWidgetPtr() = default; UniqueWidgetPtr::UniqueWidgetPtr(std::uniq...
Zhao-PengFei35/chromium_src_4
ui/views/widget/unique_widget_ptr.cc
C++
unknown
1,877
// Copyright 2020 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_UNIQUE_WIDGET_PTR_H_ #define UI_VIEWS_WIDGET_UNIQUE_WIDGET_PTR_H_ #include <memory> #include "base/scoped_observation.h" #include "ui/views/views_expo...
Zhao-PengFei35/chromium_src_4
ui/views/widget/unique_widget_ptr.h
C++
unknown
2,359
// Copyright 2020 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/unique_widget_ptr.h" #include <memory> #include <utility> #include "base/memory/raw_ptr.h" #include "base/scoped_observation.h" #include "ui/views/t...
Zhao-PengFei35/chromium_src_4
ui/views/widget/unique_widget_ptr_unittest.cc
C++
unknown
4,803
// 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/widget/widget.h" #include <algorithm> #include <set> #include <utility> #include "base/auto_reset.h" #include "base/check_op.h" #include "base/containers/a...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget.cc
C++
unknown
73,037
// 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_WIDGET_WIDGET_H_ #define UI_VIEWS_WIDGET_WIDGET_H_ #include <memory> #include <set> #include <string> #include <vector> #include "base/callback_list.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget.h
C++
unknown
58,154
// 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/widget/widget_aura_utils.h" #include "base/notreached.h" namespace views { aura::client::WindowType GetAuraWindowTypeForWidgetType( Widget::InitParams...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_aura_utils.cc
C++
unknown
1,037
// 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_WIDGET_WIDGET_AURA_UTILS_H_ #define UI_VIEWS_WIDGET_WIDGET_AURA_UTILS_H_ #include "ui/aura/client/window_types.h" #include "ui/views/widget/widget.h" // Func...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_aura_utils.h
C++
unknown
578
// 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/widget/widget_delegate.h" #include <memory> #include <utility> #include "base/check.h" #include "base/strings/utf_string_conversions.h" #include "ui/access...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_delegate.cc
C++
unknown
13,780
// 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_WIDGET_WIDGET_DELEGATE_H_ #define UI_VIEWS_WIDGET_WIDGET_DELEGATE_H_ #include <memory> #include <string> #include <utility> #include <vector> #include "base/...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_delegate.h
C++
unknown
18,255
// Copyright 2020 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_delegate.h" #include <utility> #include "base/test/bind.h" #include "ui/base/models/image_model.h" #include "ui/gfx/image/image_skia.h" #incl...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_delegate_unittest.cc
C++
unknown
3,702
// 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/widget_deletion_observer.h" #include "ui/views/widget/widget.h" namespace views { WidgetDeletionObserver::WidgetDeletionObserver(Widget* widget) ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_deletion_observer.cc
C++
unknown
735
// 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_WIDGET_DELETION_OBSERVER_H_ #define UI_VIEWS_WIDGET_WIDGET_DELETION_OBSERVER_H_ #include "base/memory/raw_ptr.h" #include "ui/views/views_export.h" #in...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_deletion_observer.h
C++
unknown
1,143
// 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/widget/widget_hwnd_utils.h" #include <dwmapi.h> #include "base/command_line.h" #include "build/build_config.h" #include "ui/base/l10n/l10n_util_win.h" #inc...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_hwnd_utils.cc
C++
unknown
6,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. #ifndef UI_VIEWS_WIDGET_WIDGET_HWND_UTILS_H_ #define UI_VIEWS_WIDGET_WIDGET_HWND_UTILS_H_ #include <windows.h> #include "ui/views/widget/widget.h" // Functions shared by hwn...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_hwnd_utils.h
C++
unknown
1,277
// 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 <memory> #include <utility> #include "base/command_line.h" #include "base/functional/bind.h" #include "base/functional/callback.h" #include "base...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_interactive_uitest.cc
C++
unknown
81,846
// 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/widget/widget_interactive_uitest_utils.h" #include <utility> #include "base/functional/callback_forward.h" #include "base/run_loop.h" #include "base/time/t...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_interactive_uitest_utils.cc
C++
unknown
1,154
// 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_WIDGET_WIDGET_INTERACTIVE_UITEST_UTILS_H_ #define UI_VIEWS_WIDGET_WIDGET_INTERACTIVE_UITEST_UTILS_H_ #include "base/functional/callback_forward.h" #include "b...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_interactive_uitest_utils.h
C++
unknown
1,327
// 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_WIDGET_WIDGET_OBSERVER_H_ #define UI_VIEWS_WIDGET_WIDGET_OBSERVER_H_ #include "base/observer_list_types.h" #include "ui/views/views_export.h" namespace gfx {...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_observer.h
C++
unknown
2,323
// 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_WIDGET_WIDGET_REMOVALS_OBSERVER_H_ #define UI_VIEWS_WIDGET_WIDGET_REMOVALS_OBSERVER_H_ #include "ui/views/views_export.h" namespace views { class Widget; cl...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_removals_observer.h
C++
unknown
1,167
// 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 <memory> #include <set> #include <utility> #include <vector> #include "base/functional/bind.h" #include "base/functional/callback.h" #include "base/memory/raw_ptr.h" ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_unittest.cc
C++
unknown
206,338
// 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.h" #include <utility> #include "ui/views/widget/widget.h" #if defined(USE_AURA) #include "ui/aura/window.h" #endif namespace views { ...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_utils.cc
C++
unknown
1,138
// 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_H_ #define UI_VIEWS_WIDGET_WIDGET_UTILS_H_ #include "base/functional/callback.h" #include "base/scoped_observation.h" #include "base/time/...
Zhao-PengFei35/chromium_src_4
ui/views/widget/widget_utils.h
C++
unknown
1,570