Searched refs:window (Results 101 - 125 of 2386) sorted by relevance

1234567891011>>

/external/chromium_org/ash/wm/panels/
H A Dpanel_window_resizer_unittest.cc64 aura::Window* window = CreateTestWindowInShellWithDelegateAndType( local
66 shelf_delegate_->AddShelfItem(window);
67 return window;
70 void DragStart(aura::Window* window) { argument
72 window,
73 window->bounds().origin(),
95 void DetachReattachTest(aura::Window* window, int dx, int dy) { argument
96 wm::WindowState* window_state = wm::GetWindowState(window);
98 aura::Window* root_window = window->GetRootWindow();
99 EXPECT_EQ(kShellWindowId_PanelContainer, window
[all...]
/external/chromium_org/ash/
H A Dswitchable_windows.cc8 #include "ui/aura/window.h"
19 bool IsSwitchableContainer(const aura::Window* window) { argument
20 if (!window)
23 if (window->id() == kSwitchableWindowContainerIds[i])
/external/chromium_org/chrome/browser/resources/feedback/js/
H A Dtopbar_handlers.js11 chrome.app.window.current().minimize();
19 window.close();
27 window.addEventListener('DOMContentLoaded', initializeHandlers);
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dshaped_app_window_targeter.cc11 aura::Window* window,
13 : wm::MaskedWindowTargeter(window), app_window_(app_window) {}
18 bool ShapedAppWindowTargeter::GetHitTestMask(aura::Window* window, argument
10 ShapedAppWindowTargeter( aura::Window* window, ChromeNativeAppWindowViews* app_window) argument
/external/chromium_org/chrome/browser/ui/views/
H A Dauto_keep_alive.cc9 #include "ui/aura/window.h"
12 AutoKeepAlive::AutoKeepAlive(gfx::NativeWindow window) argument
16 // count. If there is a |window|, use its root window's kDesktopRootWindow
18 if (window) {
19 gfx::NativeWindow native_window = window->GetRootWindow();
H A Dtop_level_widget_views.cc17 BrowserWindow* window = browser->window();
18 if (!window)
/external/chromium_org/content/common/
H A Dwebplugin_geometry.cc10 : window(gfx::kNullPluginWindow),
19 return window == rhs.window &&
/external/chromium_org/content/test/data/indexeddb/
H A Dshared.js5 window.indexedDB = window.indexedDB || window.webkitIndexedDB;
H A Dbug_109187.js5 window.indexedDB = window.indexedDB || window.webkitIndexedDB;
17 window.index1 = store.createIndex('index1Name', 'prop1');
18 window.index2 = store.createIndex(
20 shouldBeFalse("window.index1.multiEntry");
21 shouldBeTrue("window.index2.multiEntry");
/external/chromium_org/ui/aura/client/
H A Dvisibility_client.h18 // Called when |window|'s visibility is changing to |visible|. The implementor
21 virtual void UpdateLayerVisibility(Window* window, bool visible) = 0;
28 AURA_EXPORT void SetVisibilityClient(Window* window, VisibilityClient* client);
30 // Gets the VisibilityClient for the window. This will crawl up |window|'s
32 AURA_EXPORT VisibilityClient* GetVisibilityClient(Window* window);
/external/chromium_org/ui/wm/core/
H A Dwindow_animations.cc19 #include "ui/aura/window.h"
52 // 2) Detaches the window's layers for hiding animation and deletes
54 // ensure that the animation continues in the event of the window being
56 // window gets restacked below other windows when focus or activation
61 HidingWindowAnimationObserverBase(aura::Window* window) : window_(window) { argument
70 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {
71 DCHECK_EQ(window, window_);
75 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {
76 DCHECK_EQ(window, window
195 GetWindowVisibilityAnimationDuration( const aura::Window& window) argument
208 GetWindowVisibilityAnimationType(aura::Window* window) argument
239 AugmentWindowSize(aura::Window* window, const gfx::Transform& end_transform) argument
272 AnimateShowWindowCommon(aura::Window* window, const gfx::Transform& start_transform, const gfx::Transform& end_transform) argument
295 AnimateHideWindowCommon(aura::Window* window, const gfx::Transform& end_transform) argument
310 GetScaleForWindow(aura::Window* window) argument
320 AnimateShowWindow_Drop(aura::Window* window) argument
324 AnimateHideWindow_Drop(aura::Window* window) argument
329 AnimateShowWindow_Vertical(aura::Window* window) argument
336 AnimateHideWindow_Vertical(aura::Window* window) argument
344 AnimateShowWindow_Fade(aura::Window* window) argument
348 AnimateHideWindow_Fade(aura::Window* window) argument
352 CreateGrowShrinkElement( aura::Window* window, bool grow) argument
375 AnimateBounce(aura::Window* window) argument
399 RotateHidingWindowAnimationObserver(aura::Window* window) argument
427 AddLayerAnimationsForRotate(aura::Window* window, bool show) argument
491 AnimateShowWindow_Rotate(aura::Window* window) argument
495 AnimateHideWindow_Rotate(aura::Window* window) argument
499 AnimateShowWindow(aura::Window* window) argument
528 AnimateHideWindow(aura::Window* window) argument
562 ImplicitHidingWindowAnimationObserver( aura::Window* window, ui::ScopedLayerAnimationSettings* settings) argument
576 ScopedHidingAnimationSettings( aura::Window* window) argument
591 SetWindowVisibilityAnimationType(aura::Window* window, int type) argument
595 GetWindowVisibilityAnimationType(aura::Window* window) argument
599 SetWindowVisibilityAnimationTransition( aura::Window* window, WindowVisibilityAnimationTransition transition) argument
605 HasWindowVisibilityAnimationTransition( aura::Window* window, WindowVisibilityAnimationTransition transition) argument
613 SetWindowVisibilityAnimationDuration(aura::Window* window, const base::TimeDelta& duration) argument
619 GetWindowVisibilityAnimationDuration( const aura::Window& window) argument
625 SetWindowVisibilityAnimationVerticalPosition(aura::Window* window, float position) argument
630 AnimateOnChildWindowVisibilityChanged(aura::Window* window, bool visible) argument
640 AnimateWindow(aura::Window* window, WindowAnimationType type) argument
651 WindowAnimationsDisabled(aura::Window* window) argument
[all...]
H A Dfocus_controller.cc22 // When a modal window is activated, we bring its entire transient parent chain
25 void StackTransientParentsBelowModalWindow(aura::Window* window) { argument
26 if (window->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_WINDOW)
29 aura::Window* transient_parent = wm::GetTransientParent(window);
67 void FocusController::ActivateWindow(aura::Window* window) { argument
68 FocusWindow(window);
71 void FocusController::DeactivateWindow(aura::Window* window) { argument
72 if (window)
73 FocusWindow(rules_->GetNextActivatableWindow(window));
80 aura::Window* FocusController::GetActivatableWindow(aura::Window* window) { argument
84 GetToplevelWindow(aura::Window* window) argument
88 OnWillFocusWindow(aura::Window* window, const ui::Event* event) argument
111 FocusWindow(aura::Window* window) argument
153 ResetFocusWithinActiveWindow(aura::Window* window) argument
193 OnWindowVisibilityChanged(aura::Window* window, bool visible) argument
199 OnWindowDestroying(aura::Window* window) argument
226 SetFocusedWindow(aura::Window* window) argument
281 SetActiveWindow(aura::Window* requested_window, aura::Window* window) argument
338 WindowLostFocusFromDispositionChange( aura::Window* window, aura::Window* next) argument
360 WindowFocusedFromInputEvent(aura::Window* window) argument
[all...]
H A Deasy_resize_window_targeter.cc7 #include "ui/aura/window.h"
29 aura::Window* window = static_cast<aura::Window*>(target); local
30 if (ShouldUseExtendedBounds(window)) {
31 // Note that |event|'s location is in |window|'s parent's coordinate system,
32 // so convert it to |window|'s coordinate system first.
34 if (window->parent())
35 aura::Window::ConvertPointToTarget(window->parent(), window, &point);
37 gfx::Rect bounds(window->bounds().size());
45 return WindowTargeter::EventLocationInsideBounds(window, even
[all...]
/external/chromium_org/ash/wm/
H A Dstacking_controller.cc15 #include "ui/aura/window.h"
23 // Find a root window that matches the |bounds|. If the virtual screen
24 // coordinates is enabled and the bounds is specified, the root window
25 // that matches the window's bound will be used. Otherwise, it'll
26 // return the active root window.
37 bool IsSystemModal(aura::Window* window) { argument
38 return window->GetProperty(aura::client::kModalKey) == ui::MODAL_TYPE_SYSTEM;
41 bool HasTransientParentWindow(const aura::Window* window) { argument
42 return ::wm::GetTransientParent(window) &&
43 ::wm::GetTransientParent(window)
65 GetDefaultParent(aura::Window* context, aura::Window* window, const gfx::Rect& bounds) argument
[all...]
H A Dash_focus_rules.cc10 #include "ui/aura/window.h"
36 bool BelongsToContainerWithEqualOrGreaterId(const aura::Window* window, argument
38 for (; window; window = window->parent()) {
39 if (window->id() >= container_id)
59 bool AshFocusRules::SupportsChildActivation(aura::Window* window) const {
60 if (window->id() == kShellWindowId_DefaultContainer)
64 if (window->id() == kWindowContainerIds[i])
71 aura::Window* window) cons
123 aura::Window* window = NULL; local
139 aura::Window* window = NULL; local
[all...]
H A Devent_client_impl.cc10 #include "ui/aura/window.h"
22 const aura::Window* window) const {
23 const aura::Window* root_window = window ? window->GetRootWindow() : NULL;
38 bool can_process_events = (window->Contains(lock_screen_containers) &&
39 window->Contains(lock_background_containers) &&
40 window->Contains(lock_screen_related_containers)) ||
41 lock_screen_containers->Contains(window) ||
42 lock_background_containers->Contains(window) ||
43 lock_screen_related_containers->Contains(window);
[all...]
H A Dcoordinate_conversion.cc34 void ConvertPointToScreen(const aura::Window* window, gfx::Point* point) { argument
35 CHECK(aura::client::GetScreenPositionClient(window->GetRootWindow()));
36 aura::client::GetScreenPositionClient(window->GetRootWindow())->
37 ConvertPointToScreen(window, point);
40 void ConvertPointFromScreen(const aura::Window* window, argument
42 aura::client::GetScreenPositionClient(window->GetRootWindow())->
43 ConvertPointFromScreen(window, point_in_screen);
/external/chromium_org/ui/views/widget/desktop_aura/
H A Ddesktop_screen_position_client.cc19 aura::Window* window = const_cast<aura::Window*>(root_window); local
20 float scale = gfx::Screen::GetScreenFor(window)->
21 GetDisplayNearestWindow(window).device_scale_factor();
25 // Returns true if bounds passed to window are treated as though they are in
27 bool PositionWindowInScreenCoordinates(aura::Window* window) { argument
28 if (window->type() == ui::wm::WINDOW_TYPE_POPUP)
31 Widget* widget = Widget::GetWidgetForNativeView(window);
48 const aura::Window* window,
50 const aura::Window* root_window = window->GetRootWindow();
51 aura::Window::ConvertPointToTarget(window, root_windo
47 ConvertPointToScreen( const aura::Window* window, gfx::Point* point) argument
56 ConvertPointFromScreen( const aura::Window* window, gfx::Point* point) argument
65 ConvertHostPointToScreen(aura::Window* window, gfx::Point* point) argument
71 SetBounds(aura::Window* window, const gfx::Rect& bounds, const gfx::Display& display) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_fullscreen_apitest.cc24 browser()->window()->EnterFullscreen(
26 bool is_fullscreen = browser()->window()->IsFullscreen();
28 ASSERT_EQ(is_fullscreen, browser()->window()->IsFullscreen());
34 browser()->window()->EnterFullscreen(
37 ASSERT_FALSE(browser()->window()->IsFullscreen());
/external/chromium_org/chrome/common/extensions/docs/examples/api/devtools/inspectedWindow/chrome-preprocessor/Panel/
H A DInspectedWindowLoadMonitor.js12 * @param {function} Called after the 'load' event on the inspected window
13 * @return {function} A function to be injected into the inspected window.
18 var expr = 'window.__inspectedWindowLoaded';
41 window.__inspectedWindowLoaded = false;
42 window.addEventListener('load', function() {
43 window.__inspectedWindowLoaded = true;
49 window.InspectedWindow = window.InspectedWindow || {};
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/email_this_page/
H A Doptions.js8 if (window.localStorage == null) {
13 window.localStorage.customMailtoUrl = gmail;
15 window.localStorage.customMailtoUrl = "";
20 if (window.localStorage == null) {
29 if (window.localStorage.customMailtoUrl == gmail)
/external/chromium_org/remoting/webapp/
H A Dwindow_frame.js37 (titleBar.querySelector('.window-controls-hover-target'));
45 (titleBar.querySelector('.window-maximize-restore'));
52 { cls: 'window-disconnect', fn: this.disconnectSession_.bind(this) },
53 { cls: 'window-maximize-restore',
55 { cls: 'window-minimize', fn: this.minimizeWindow_.bind(this) },
56 { cls: 'window-close', fn: window.close.bind(window) },
57 { cls: 'window-controls-stub', fn: this.toggleWindowControls_.bind(this) }
67 chrome.app.window
[all...]
/external/chromium_org/tools/telemetry/telemetry/page/actions/
H A Dplay.js9 var mediaElements = window.__findMediaElements(selector);
24 window.__registerHTML5ErrorEvents(element);
25 window.__registerHTML5EventCompleted(element, 'playing');
26 window.__registerHTML5EventCompleted(element, 'ended');
34 window.__playMedia = playMedia;
/external/chromium_org/chrome/browser/ui/ash/multi_user/
H A Dmulti_user_window_manager_chromeos.cc38 #include "ui/aura/window.h"
49 // The animation time in milliseconds for a single window which is fading
57 // The animation time in ms for a window which get teleported to another screen.
82 // TODO(skuhne): "Open link in new window" will come here after the menu got
88 // anymore) and the root window should therefore still have the event which
101 // Records the type of window which was transferred to another desktop.
102 void RecordUMAForTransferredWindowType(aura::Window* window) { argument
103 // We need to figure out what kind of window this is to record the transfer.
104 Browser* browser = chrome::FindBrowserWithWindow(window);
130 ->GetAppWindowForNativeWindow(window);
151 AnimationSetter(aura::Window* window, int animation_time_in_ms) argument
197 aura::Window* window = app_window->GetNativeWindow(); variable
198 DCHECK(window); variable
240 WindowToEntryMap::iterator window = window_to_entry_.begin(); local
265 SetWindowOwner( aura::Window* window, const std::string& user_id) argument
306 ShowWindowForUser( aura::Window* window, const std::string& user_id) argument
341 IsWindowOnDesktopOfUser( aura::Window* window, const std::string& user_id) const argument
410 OnWindowDestroyed(aura::Window* window) argument
426 OnWindowVisibilityChanging( aura::Window* window, bool visible) argument
450 OnWindowVisibilityChanged( aura::Window* window, bool visible) argument
466 OnTransientChildAdded( aura::Window* window, aura::Window* transient_window) argument
481 OnTransientChildRemoved( aura::Window* window, aura::Window* transient_window) argument
513 ShowWindowForUserIntern( aura::Window* window, const std::string& user_id) argument
555 SetWindowVisibility( aura::Window* window, bool visible, int animation_time_in_ms) argument
607 ShowWithTransientChildrenRecursive( aura::Window* window, int animation_time_in_ms) argument
634 AddTransientOwnerRecursive( aura::Window* window, aura::Window* owned_parent) argument
663 RemoveTransientOwnerRecursive( aura::Window* window) argument
692 SetWindowVisible( aura::Window* window, bool visible, int animation_time_in_ms) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dwindow_finder_ash.cc9 #include "ui/aura/window.h"
17 aura::Window* window) {
18 if (ignore.find(window) != ignore.end())
21 if (!window->IsVisible())
24 if (window->id() == ash::kShellWindowId_PhantomWindow ||
25 window->id() == ash::kShellWindowId_OverlayContainer ||
26 window->id() == ash::kShellWindowId_MouseCursorContainer)
29 if (window->layer()->type() == ui::LAYER_TEXTURED)
30 return window->GetBoundsInScreen().Contains(screen_point) ? window
14 GetLocalProcessWindowAtPointImpl( const gfx::Point& screen_point, const std::set<gfx::NativeView>& ignore, aura::Window* window) argument
[all...]

Completed in 623 milliseconds

1234567891011>>