Searched refs:window (Results 51 - 75 of 2386) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/
H A Dscreensaver_window_finder_x11.cc22 bool ScreensaverWindowFinder::ShouldStopIterating(XID window) { argument
23 if (!ui::IsWindowVisible(window) || !IsScreensaverWindow(window))
29 bool ScreensaverWindowFinder::IsScreensaverWindow(XID window) const {
31 if (!ui::IsX11WindowFullScreen(window))
34 // For xscreensaver, the window should have _SCREENSAVER_VERSION property.
35 if (ui::PropertyExists(window, "_SCREENSAVER_VERSION"))
38 // For all others, like gnome-screensaver, the window's WM_CLASS property
41 if (!ui::GetStringProperty(window, "WM_CLASS", &value))
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/many_images/
H A Dbench.js15 rafFunc = window.requestAnimationFrame ||
16 window.webkitRequestAnimationFrame ||
17 window.mozRequestAnimationFrame ||
18 window.oRequestAnimationFrame ||
19 window.msRequestAnimationFrame;
/external/chromium_org/chrome/common/extensions/docs/examples/apps/background-simple/
H A Dindex.js6 if (window.chrome && window.chrome.app && window.chrome.app.isInstalled) {
15 window.open(bgWinUrl, bgWinName, "background");
19 var w = window.open(bgWinUrl, bgWinName, "background");
/external/chromium_org/ui/aura/
H A Dscoped_window_targeter.cc7 #include "ui/aura/window.h"
12 Window* window,
14 : window_(window),
15 old_targeter_(window->SetEventTargeter(new_targeter.Pass())) {
23 void ScopedWindowTargeter::OnWindowDestroyed(Window* window) { argument
24 CHECK_EQ(window_, window);
11 ScopedWindowTargeter( Window* window, scoped_ptr<ui::EventTargeter> new_targeter) argument
/external/chromium_org/ash/shelf/
H A Dshelf_util.cc17 // ShelfItemDetails for kShelfItemDetaildKey is owned by the window
23 void SetShelfIDForWindow(ShelfID id, aura::Window* window) { argument
24 if (!window)
27 window->SetProperty(kShelfID, id);
30 ShelfID GetShelfIDForWindow(const aura::Window* window) { argument
31 DCHECK(window);
32 return window->GetProperty(kShelfID);
35 void SetShelfItemDetailsForWindow(aura::Window* window, argument
37 // |item_details| is owned by |window|.
39 window
42 SetShelfItemDetailsForDialogWindow(aura::Window* window, int image_resource_id) argument
52 ClearShelfItemDetailsForWindow(aura::Window* window) argument
56 GetShelfItemDetailsForWindow( aura::Window* window) argument
[all...]
H A Dshelf_util.h10 #include "ui/aura/window.h"
18 // A property key to store the id of the ShelfItem associated with the window.
22 // shelf for this window.
26 // Associates ShelfItem of |id| with specified |window|.
27 ASH_EXPORT void SetShelfIDForWindow(ShelfID id, aura::Window* window);
29 // Returns the id of the ShelfItem associated with the specified |window|,
33 ASH_EXPORT ShelfID GetShelfIDForWindow(const aura::Window* window);
36 // |window|.
37 ASH_EXPORT void SetShelfItemDetailsForWindow(aura::Window* window,
41 // |image_resource_id| and sets it for |window|
[all...]
H A Dshelf_window_watcher.cc18 #include "ui/aura/window.h"
36 // Returns true if |window| has a ShelfItem added by ShelfWindowWatcher.
37 bool HasShelfItemForWindow(aura::Window* window) { argument
38 if (ash::GetShelfItemDetailsForWindow(window) != NULL &&
39 ash::GetShelfIDForWindow(window) != ash::kInvalidShelfID)
44 // Returns true if |window| is in the process of being dragged.
45 bool IsDragging(aura::Window* window) { argument
46 return ash::wm::GetWindowState(window)->is_dragged();
62 aura::Window* window) {
63 window_watcher_->OnRootWindowRemoved(window);
61 OnWindowDestroying( aura::Window* window) argument
74 OnWindowParentChanged( aura::Window* window, aura::Window* parent) argument
97 OnWindowDestroyed( aura::Window* window) argument
128 AddShelfItem(aura::Window* window) argument
143 RemoveShelfItem(aura::Window* window) argument
169 UpdateShelfItemStatus(aura::Window* window, bool is_active) argument
184 StartObservingRemovedWindow(aura::Window* window) argument
188 FinishObservingRemovedWindow(aura::Window* window) argument
201 OnWindowAdded(aura::Window* window) argument
220 OnWillRemoveWindow(aura::Window* window) argument
232 OnWindowDestroying(aura::Window* window) argument
238 OnWindowPropertyChanged(aura::Window* window, const void* key, intptr_t old) argument
[all...]
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_focus_rules.cc7 #include "ui/aura/window.h"
17 bool DesktopFocusRules::CanActivateWindow(aura::Window* window) const {
18 if (!BaseFocusRules::CanActivateWindow(window))
20 // Never activate a window that is not a child of the root window. Transients
22 return !window || content_window_->GetRootWindow()->Contains(window);
25 bool DesktopFocusRules::SupportsChildActivation(aura::Window* window) const {
28 return window == content_window_->parent() ||
29 window
[all...]
/external/flac/libFLAC/include/private/
H A Dwindow.h47 * Calculates window coefficients according to different apodization
50 * OUT window[0,L-1]
51 * IN L (number of points in window)
53 void FLAC__window_bartlett(FLAC__real *window, const FLAC__int32 L);
54 void FLAC__window_bartlett_hann(FLAC__real *window, const FLAC__int32 L);
55 void FLAC__window_blackman(FLAC__real *window, const FLAC__int32 L);
56 void FLAC__window_blackman_harris_4term_92db_sidelobe(FLAC__real *window, const FLAC__int32 L);
57 void FLAC__window_connes(FLAC__real *window, const FLAC__int32 L);
58 void FLAC__window_flattop(FLAC__real *window, const FLAC__int32 L);
59 void FLAC__window_gauss(FLAC__real *window, cons
[all...]
/external/chromium_org/chrome/browser/ui/ash/multi_user/
H A Dmulti_user_window_manager_chromeos_unittest.cc59 // Return the window with the given index.
60 aura::Window* window(size_t index) { function in class:ash::test::MultiUserWindowManagerChromeOSTest
65 // Delete the window at the given index, and set the referefence to NULL.
78 // Like: "S[B], .." would mean that window#0 is shown and belongs to user B.
79 // or "S[B,A], .." would mean that window#0 is shown, belongs to B but is
80 // shown by A, and "D,..." would mean that window#0 is deleted.
90 // Make a window system modal.
91 void MakeWindowSystemModal(aura::Window* window) {
93 window->GetRootWindow()->GetChildById(
95 system_modal_container->AddChild(window);
98 ShowWindowForUserNoUserTransition(aura::Window* window, const std::string& user_id) argument
130 CoversScreen(aura::Window* window) argument
[all...]
H A Dmulti_user_context_menu.cc9 scoped_ptr<ui::MenuModel> CreateMultiUserContextMenu(aura::Window* window) { argument
14 void ExecuteVisitDesktopCommand(int command_id, aura::Window* window) {} argument
/external/chromium_org/ui/aura/client/
H A Dwindow_tree_client.cc19 void SetWindowTreeClient(Window* window, WindowTreeClient* window_tree_client) { argument
20 DCHECK(window);
22 Window* root_window = window->GetRootWindow();
27 WindowTreeClient* GetWindowTreeClient(Window* window) { argument
28 DCHECK(window);
29 Window* root_window = window->GetRootWindow();
37 void ParentWindowWithContext(Window* window, argument
46 client->GetDefaultParent(context, window, screen_bounds);
47 default_parent->AddChild(window);
/external/chromium_org/ui/wm/core/
H A Dmasked_window_targeter.cc7 #include "ui/aura/window.h"
21 aura::Window* window = static_cast<aura::Window*>(target); local
22 if (window == masked_window_) {
24 if (!GetHitTestMask(window, &mask))
25 return WindowTargeter::EventLocationInsideBounds(window, event);
27 gfx::Size size = window->bounds().size();
32 if (window->parent())
33 aura::Window::ConvertPointToTarget(window->parent(), window, &point);
40 return WindowTargeter::EventLocationInsideBounds(window, even
[all...]
H A Dbase_focus_rules.cc8 #include "ui/aura/window.h"
35 aura::Window* window) const {
36 return window->IsVisible();
42 bool BaseFocusRules::IsToplevelWindow(aura::Window* window) const {
43 // The window must in a valid hierarchy.
44 if (!window->GetRootWindow())
47 // The window must exist within a container that supports activation.
48 // The window cannot be blocked by a modal transient.
49 return SupportsChildActivation(window->parent());
52 bool BaseFocusRules::CanActivateWindow(aura::Window* window) cons
[all...]
H A Dwindow_util.cc7 #include "ui/aura/window.h"
40 void ActivateWindow(aura::Window* window) { argument
41 DCHECK(window);
42 DCHECK(window->GetRootWindow());
43 aura::client::GetActivationClient(window->GetRootWindow())->ActivateWindow(
44 window);
47 void DeactivateWindow(aura::Window* window) { argument
48 DCHECK(window);
49 DCHECK(window->GetRootWindow());
50 aura::client::GetActivationClient(window
54 IsActiveWindow(aura::Window* window) argument
63 CanActivateWindow(aura::Window* window) argument
72 GetActivatableWindow(aura::Window* window) argument
78 GetToplevelWindow(aura::Window* window) argument
92 GetTransientParent(aura::Window* window) argument
97 GetTransientParent(const aura::Window* window) argument
102 GetTransientChildren( const aura::Window* window) argument
120 HasTransientAncestor(const aura::Window* window, const aura::Window* ancestor) argument
[all...]
H A Dvisibility_controller_unittest.cc10 #include "ui/aura/window.h"
34 scoped_ptr<aura::Window> window(aura::test::CreateTestWindowWithDelegate(
36 ui::ScopedLayerAnimationSettings settings(window->layer()->GetAnimator());
39 EXPECT_TRUE(window->layer()->visible());
40 EXPECT_TRUE(window->IsVisible());
42 window->layer()->SetOpacity(0.0);
43 EXPECT_TRUE(window->layer()->visible());
44 EXPECT_TRUE(window->IsVisible());
45 EXPECT_TRUE(window->layer()->GetAnimator()->
47 EXPECT_EQ(0.0f, window
[all...]
/external/chromium_org/ui/base/win/
H A Dmouse_wheel_util.cc20 static bool WindowSupportsRerouteMouseWheel(HWND window) { argument
21 while (GetWindowLong(window, GWL_STYLE) & WS_CHILD) {
22 if (!IsWindow(window))
25 if (ViewProp::GetValue(window, kHWNDSupportMouseWheelRerouting) != NULL) {
28 window = GetParent(window);
33 static bool IsCompatibleWithMouseWheelRedirection(HWND window) { argument
34 std::wstring class_name = gfx::GetClassName(window);
41 static bool CanRedirectMouseWheelFrom(HWND window) { argument
42 std::wstring class_name = gfx::GetClassName(window);
60 RerouteMouseWheel(HWND window, WPARAM w_param, LPARAM l_param) argument
[all...]
/external/chromium_org/ash/wm/
H A Dwindow_animations_unittest.cc13 #include "ui/aura/window.h"
68 scoped_ptr<aura::Window> window(CreateTestWindowInShellWithId(0));
69 window->Show();
70 EXPECT_TRUE(window->layer()->visible());
74 window.get(),
76 AnimateOnChildWindowVisibilityChanged(window.get(), false);
77 EXPECT_EQ(0.0f, window->layer()->GetTargetOpacity());
78 EXPECT_FALSE(window->layer()->GetTargetVisibility());
79 EXPECT_FALSE(window->layer()->visible());
83 window
[all...]
/external/chromium_org/chrome/browser/ui/translate/
H A Dtranslate_bubble_factory.cc12 void ShowDefault(BrowserWindow* window, argument
16 // |window| might be null when testing.
17 if (!window)
19 window->ShowTranslateBubble(web_contents, step, error_type);
28 void TranslateBubbleFactory::Show(BrowserWindow* window, argument
34 window, web_contents, step, error_type);
38 ShowDefault(window, web_contents, step, error_type);
/external/chromium_org/ui/file_manager/file_manager/common/js/
H A Derror_util.js11 window.JSErrorCount = 0;
16 window.onerror = function() { window.JSErrorCount++; };
25 window.JSErrorCount++;
39 window.JSErrorCount++;
65 window.JSErrorCount++;
/external/chromium_org/third_party/hwcplus/include/system/
H A Dwindow.h147 * to the window compositor. The query sets the returned 'value' argument
148 * to 1 if the ANativeWindow DOES send queued buffers directly to the window
149 * compositor and 0 if the buffers do not go directly to the window
172 * dimensions of the window buffers irrespective of the
173 * NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS call and match the native window
311 /* the window content is not updated (frozen) until a buffer of
312 * the window size is received (enqueued)
315 /* the buffer is scaled in both dimensions to match the window size */
318 * of the buffer matches the window size (cropping in the process)
321 /* the window i
598 native_window_set_usage( struct ANativeWindow* window, int usage) argument
605 native_window_connect( struct ANativeWindow* window, int api) argument
611 native_window_disconnect( struct ANativeWindow* window, int api) argument
630 native_window_set_crop( struct ANativeWindow* window, android_native_rect_t const * crop) argument
651 native_window_set_post_transform_crop( struct ANativeWindow* window, android_native_rect_t const * crop) argument
665 native_window_set_active_rect( struct ANativeWindow* window, android_native_rect_t const * active_rect) argument
676 native_window_set_buffer_count( struct ANativeWindow* window, size_t bufferCount) argument
692 native_window_set_buffers_geometry( struct ANativeWindow* window, int w, int h, int format) argument
713 native_window_set_buffers_dimensions( struct ANativeWindow* window, int w, int h) argument
738 native_window_set_buffers_user_dimensions( struct ANativeWindow* window, int w, int h) argument
752 native_window_set_buffers_format( struct ANativeWindow* window, int format) argument
764 native_window_set_buffers_transform( struct ANativeWindow* window, int transform) argument
782 native_window_set_buffers_timestamp( struct ANativeWindow* window, int64_t timestamp) argument
795 native_window_set_scaling_mode( struct ANativeWindow* window, int mode) argument
809 native_window_api_connect( struct ANativeWindow* window, int api) argument
821 native_window_api_disconnect( struct ANativeWindow* window, int api) argument
[all...]
/external/chromium_org/ash/wm/overview/
H A Dwindow_selector_window.cc12 #include "ui/aura/window.h"
22 WindowSelectorWindow::WindowSelectorWindow(aura::Window* window) argument
23 : transform_window_(window) {
30 return transform_window_.window()->GetRootWindow();
33 bool WindowSelectorWindow::HasSelectableWindow(const aura::Window* window) { argument
34 return transform_window_.window() == window;
41 void WindowSelectorWindow::RestoreWindowOnExit(aura::Window* window) { argument
46 return transform_window_.window();
49 void WindowSelectorWindow::RemoveWindow(const aura::Window* window) { argument
[all...]
/external/chromium_org/chrome/browser/resources/
H A Dset_as_default_browser.js15 window.addEventListener('DOMContentLoaded', wireUpWindow);
/external/chromium_org/chrome/browser/resources/settings_app/
H A Dsettings_app.js6 chrome.app.window.create(
/external/chromium_org/components/dom_distiller/core/javascript/
H A Ddomdistiller.js9 // The generated domdistiller.js accesses the window object only explicitly
10 // via the window name. So, we create a new object with the normal window
12 // context so that it doesn't change the real window object.
13 function initialize(window) {
17 context = Object.create(window);
25 window.console.error("Error during distillation: " + e);
26 if (e.stack != undefined) window.console.error(e.stack);

Completed in 7261 milliseconds

1234567891011>>