/external/chromium_org/third_party/webrtc/modules/desktop_capture/win/ |
scoped_thread_desktop.cc | 15 #include "webrtc/modules/desktop_capture/win/desktop.h" 20 : initial_(Desktop::GetThreadDesktop()) { 27 bool ScopedThreadDesktop::IsSame(const Desktop& desktop) { 29 return assigned_->IsSame(desktop); 31 return initial_->IsSame(desktop); 42 bool ScopedThreadDesktop::SetThreadDesktop(Desktop* desktop) { 45 scoped_ptr<Desktop> scoped_desktop(desktop); [all...] |
desktop.cc | 11 #include "webrtc/modules/desktop_capture/win/desktop.h" 19 Desktop::Desktop(HDESK desktop, bool own) : desktop_(desktop), own_(own) { 22 Desktop::~Desktop() { 25 LOG(LS_ERROR) << "Failed to close the owned desktop handle: " 31 bool Desktop::GetName(std::wstring* desktop_name_out) const { 44 LOG(LS_ERROR) << "Failed to query the desktop name: " << GetLastError() 79 HDESK desktop = OpenDesktop(desktop_name, 0, FALSE, desired_access); local 90 HDESK desktop = OpenInputDesktop( local 99 HDESK desktop = ::GetThreadDesktop(GetCurrentThreadId()); local [all...] |
scoped_thread_desktop.h | 21 class Desktop; 28 // Returns true if |desktop| has the same desktop name as the currently 29 // assigned desktop (if assigned) or as the initial desktop (if not assigned). 31 // uninitialized desktop handles. 32 bool IsSame(const Desktop& desktop); 34 // Reverts the calling thread to use the initial desktop. 37 // Assigns |desktop| to be the calling thread. Returns true if the thread ha [all...] |
desktop.h | 22 class Desktop { 24 ~Desktop(); 26 // Returns the name of the desktop represented by the object. Return false if 30 // Returns true if |other| has the same name as this desktop. Returns false 31 // in any other case including failing Win32 APIs and uninitialized desktop 33 bool IsSame(const Desktop& other) const; 35 // Assigns the desktop to the current thread. Returns false is the operation 39 // Returns the desktop by its name or NULL if an error occurs. 40 static Desktop* GetDesktop(const wchar_t* desktop_name); 42 // Returns the desktop currently receiving user input or NULL if an erro [all...] |
/external/chromium_org/chrome/browser/metro_utils/ |
metro_chrome_win.h | 27 Win8Environment GetWin8Environment(HostDesktopType desktop);
|
metro_chrome_win.cc | 64 Win8Environment GetWin8Environment(HostDesktopType desktop) { 66 if (desktop == chrome::HOST_DESKTOP_TYPE_ASH)
|
/external/chromium_org/remoting/host/win/ |
window_station_and_desktop.cc | 21 void WindowStationAndDesktop::SetDesktop(HDESK desktop) { 22 std::swap(desktop_, desktop); 23 if (desktop) 24 CloseDesktop(desktop);
|
window_station_and_desktop.h | 14 // Scoper for a pair of window station and desktop handles. Both handles are 21 HDESK desktop() const { return desktop_; } function in class:remoting::WindowStationAndDesktop 24 // Sets a new desktop handle closing the owned desktop handle if needed. 25 void SetDesktop(HDESK desktop);
|
/external/chromium_org/sandbox/win/src/ |
window.h | 21 // Creates a desktop. The name is a static string followed by the pid of the 22 // current process. The security descriptor on the new desktop is based on the 23 // security descriptor of the desktop associated with the current thread. 25 // the desktop. If the functions fails the switch back to the current winsta, 27 ResultCode CreateAltDesktop(HWINSTA winsta, HDESK* desktop); 29 // Returns the name of a desktop or a window station. 32 // Returns the name of the desktop referenced by |desktop|. If a window 36 base::string16 GetFullDesktopName(HWINSTA winsta, HDESK desktop);
|
window.cc | 57 ResultCode CreateAltDesktop(HWINSTA winsta, HDESK* desktop) { 60 // Append the current PID to the desktop name. 66 // Get the security attributes from the current desktop, we will use this as 67 // the base security attributes for the new desktop. 79 // desktop. 88 *desktop = ::CreateDesktop(desktop_name.c_str(), NULL, NULL, 0, GENERIC_ALL, 99 if (*desktop) { 100 // Replace the DACL on the new Desktop with a reduced privilege version. 110 AddKnownSidToObject(*desktop, SE_WINDOW_OBJECT, Sid(WinRestrictedCodeSid), 141 base::string16 GetFullDesktopName(HWINSTA winsta, HDESK desktop) { [all...] |
/external/chromium_org/ui/views/test/ |
test_views_delegate.h | 25 void set_use_desktop_native_widgets(bool desktop) { 26 use_desktop_native_widgets_ = desktop;
|
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
automation.cc | 27 "Cannot specify interactive=false if desktop=true is specified; " 30 "Cannot specify matches for Automation if desktop=true is specified; " 86 if (automation_info_->desktop) { 127 bool desktop = automation_info_->desktop && !other->automation_info_->desktop; local 134 make_scoped_ptr(new const AutomationInfo(desktop, matches, interact))); 142 bool desktop = automation_info_->desktop || other->automation_info_->desktop; local 157 bool desktop = automation_info_->desktop && other->automation_info_->desktop; local 233 bool desktop = false; local [all...] |
automation_unittest.cc | 59 EXPECT_FALSE(info->desktop); 78 EXPECT_FALSE(info->desktop); 102 EXPECT_FALSE(info->desktop); 131 EXPECT_FALSE(info->desktop); 152 EXPECT_FALSE(info->desktop); 180 EXPECT_FALSE(info->desktop); 199 EXPECT_FALSE(info->desktop); 218 EXPECT_TRUE(info->desktop); 236 EXPECT_TRUE(info->desktop); 256 EXPECT_TRUE(info->desktop); [all...] |
automation.h | 48 // true if the extension has requested 'desktop' permission. 49 const bool desktop; member in struct:extensions::AutomationInfo 61 AutomationInfo(bool desktop, URLPatternSet matches, bool interact);
|
/external/chromium_org/remoting/host/installer/linux/debian/ |
chrome-remote-desktop.init | 4 # Provides: chrome-remote-desktop 9 # Short-Description: Chrome Remote Desktop service 12 # /etc/init.d/chrome-remote-desktop: Start and stop Chrome Remote Desktop host daemon. 14 HOST_PATH=/opt/google/chrome-remote-desktop/chrome-remote-desktop 16 # Group of users for which Chrome Remote Desktop is enabled. Users are added 18 CHROME_REMOTING_GROUP=chrome-remote-desktop 73 log_begin_msg "Starting Chrome Remote Desktop host for $1..." 79 log_begin_msg "Stopping Chrome Remote Desktop host for $1... [all...] |
postinst | 14 DisplayIf: /opt/google/chrome-remote-desktop/is-remoting-session 15 Description: Chrome Remote Desktop has been updated. Please save your work and log out in order to apply this update. Your virtual desktop will be restarted automatically. 19 VAR_DIR="/var/lib/chrome-remote-desktop" 25 echo "Shutting down Chrome Remote Desktop hosts (they will restart automatically)..." 26 killall -q chrome-remote-desktop-host || true 34 echo "$LOGOUT_MSG" > "$NOTIFIER_DIR/chrome-remote-desktop-logout" 44 DEFAULTS_FILE="/etc/default/chrome-remote-desktop" 51 nohup sh /etc/cron.daily/chrome-remote-desktop > /dev/null 2>&1 &
|
preinst | 9 VAR_DIR="/var/lib/chrome-remote-desktop" 22 save_hash /opt/google/chrome-remote-desktop
|
postrm | 10 delgroup --quiet chrome-remote-desktop > /dev/null || true 25 DEFAULTS_FILE="/etc/default/chrome-remote-desktop" 37 rm -f "$APT_SOURCESDIR/chrome-remote-desktop.list"
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
select_file_dialog_impl.cc | 43 // Check to see if KDE is the desktop environment. 45 base::nix::DesktopEnvironment desktop = local 47 if (desktop == base::nix::DESKTOP_ENVIRONMENT_KDE3 || 48 desktop == base::nix::DESKTOP_ENVIRONMENT_KDE4) { 63 base::nix::DesktopEnvironment desktop = local 66 listener, policy, desktop);
|
/external/chromium_org/chrome/browser/tab_contents/ |
navigation_metrics_recorder.cc | 43 chrome::HostDesktopType desktop = local 46 chrome::GetWin8Environment(desktop),
|
/external/chromium_org/sandbox/win/tests/validation_tests/ |
commands.cc | 205 // Returns true if the current's thread desktop is the interactive desktop. 244 HDESK desktop = ::GetThreadDesktop(::GetCurrentThreadId()); local 245 if (NULL == desktop) { 248 if (::SwitchDesktop(desktop)) { 260 HDESK desktop = ::GetThreadDesktop(::GetCurrentThreadId()); local 261 if (desktop) { 263 if (::DuplicateHandle(::GetCurrentProcess(), desktop, 279 desktop = ::OpenDesktop(desktop_name, 0, FALSE, WRITE_DAC); 280 if (desktop || ::GetLastError() != ERROR_ACCESS_DENIED) [all...] |
/external/chromium_org/remoting/host/installer/linux/ |
Makefile | 11 INSTALL_DIR = $(DESTDIR)/opt/google/chrome-remote-desktop 33 "$(INSTALL_DIR)/chrome-remote-desktop" 47 "$(INSTALL_DIR)/chrome-remote-desktop-host" 68 install $(BUILD_DIR)/remoting/installer/cron/chrome-remote-desktop \ 69 "$(CRON_DIR)/chrome-remote-desktop"
|
/external/chromium_org/remoting/webapp/ |
cs_third_party_auth_trampoline.js | 5 var thirdPartyPath = '/talkgadget/oauth/chrome-remote-desktop/thirdpartyauth';
|
/external/libmtp/ |
libmtp.sh | 13 /sbin/resmgr "${ACTION}" "${DEVICE}" desktop usb
|
libmtp.sh.in | 13 /sbin/resmgr "${ACTION}" "${DEVICE}" desktop usb
|