Searched refs:window (Results 226 - 250 of 2386) sorted by relevance

1234567891011>>

/external/chromium_org/content/test/plugin/
H A Dplugin_window_size_test.cc16 if (pNPWindow->window == NULL)
19 HWND window = reinterpret_cast<HWND>(pNPWindow->window);
20 if (!::IsWindow(window)) {
33 ::GetClientRect(window, &client_rect);
35 SetError("The client rect of the plugin window is empty. Test failed");
42 ::GetWindowRect(window, &window_rect_from_os);
45 ::ScreenToClient(GetParent(window), &origin_from_os);
H A Dplugin_javascript_open_popup.h14 // instantiated in a popup window. The plugin instance needs to
15 // have a valid parent window.
22 virtual NPError SetWindow(NPWindow* window) OVERRIDE;
29 // popup window. It verifies that the plugin instance has a valid parent.
35 virtual NPError SetWindow(NPWindow* window) OVERRIDE;
38 // Do a platform-specific validation of the passed-in |window|.
39 // E.g. on Windows, verifies window->window is a reasonable HWND.
41 bool CheckWindow(NPWindow* window);
/external/chromium_org/ui/snapshot/
H A Dsnapshot_aura.cc12 #include "ui/aura/window.h"
26 bool GrabWindowSnapshot(gfx::NativeWindow window, argument
34 gfx::NativeWindow window,
40 window->layer()->RequestCopyOfOutput(request.Pass());
44 gfx::NativeWindow window,
49 MakeAsyncCopyRequest(window,
58 gfx::NativeWindow window,
62 MakeAsyncCopyRequest(window,
33 MakeAsyncCopyRequest( gfx::NativeWindow window, const gfx::Rect& source_rect, const cc::CopyOutputRequest::CopyOutputRequestCallback& callback) argument
43 GrabWindowSnapshotAndScaleAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, const gfx::Size& target_size, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncCallback& callback) argument
57 GrabWindowSnapshotAsync( gfx::NativeWindow window, const gfx::Rect& source_rect, scoped_refptr<base::TaskRunner> background_task_runner, const GrabWindowSnapshotAsyncPNGCallback& callback) argument
/external/chromium_org/ui/wm/core/
H A Dtransient_window_manager.h18 // TransientWindowManager manages the set of transient children for a window
35 // Returns the TransientWindowManager for |window|. This never returns NULL.
36 static TransientWindowManager* Get(aura::Window* window);
38 // Returns the TransientWindowManager for |window| only if it already exists.
40 static const TransientWindowManager* Get(const aura::Window* window);
55 // That is, when the stacking order of a window changes
58 // of stacking a transient as the result of window stacking changing.
62 explicit TransientWindowManager(aura::Window* window);
64 // Stacks transient descendants of this window that are its siblings just
69 virtual void OnWindowParentChanged(aura::Window* window,
[all...]
/external/deqp/framework/platform/android/
H A DtcuAndroidTestActivity.cpp27 #include <android/window.h>
61 void TestThread::onWindowCreated (ANativeWindow* window) argument
63 m_platform.getWindowRegistry().addWindow(window);
66 void TestThread::onWindowDestroyed (ANativeWindow* window) argument
68 m_platform.getWindowRegistry().destroyWindow(window);
71 void TestThread::onWindowResized (ANativeWindow* window) argument
73 DE_UNREF(window);
74 print("Warning: Native window was resized, results may be undefined");
95 // Set up window flags.
H A DtcuAndroidRenderActivity.hpp62 ANativeWindow* window; member in union:tcu::Android::Message::__anon18967
80 Message (MessageType type_, ANativeWindow* window) argument
86 DE_ASSERT(window);
87 payload.window = window;
110 WINDOWSTATE_NOT_CREATED = 0, //!< Framework hasn't signaled window creation.
138 virtual void onWindowCreated (ANativeWindow* window) = 0;
139 virtual void onWindowResized (ANativeWindow* window) = 0;
140 virtual void onWindowDestroyed (ANativeWindow* window) = 0;
175 virtual void onNativeWindowCreated (ANativeWindow* window);
[all...]
H A DtcuAndroidTestActivity.hpp48 virtual void onWindowCreated (ANativeWindow* window);
49 virtual void onWindowResized (ANativeWindow* window);
50 virtual void onWindowDestroyed (ANativeWindow* window);
/external/chromium_org/ash/wm/maximize_mode/
H A Dmaximize_mode_window_manager.h28 // A window manager which - when created - will force all windows into maximized
31 // behind the window so that no other windows are visible and/or obscured.
45 // Adds a window which needs to be maximized. This is used by other window
48 // The call gets ignored if the window was already or should not be handled.
49 void AddWindow(aura::Window* window);
51 // Called from a window state object when it gets destroyed.
52 void WindowStateDestroyed(aura::Window* window);
59 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
60 virtual void OnWindowAdded(aura::Window* window) OVERRID
[all...]
/external/chromium_org/ash/wm/
H A Dwindow_util_unittest.cc10 #include "ui/aura/window.h"
31 scoped_ptr<aura::Window> window(
34 wm::WindowState* window_state = wm::GetWindowState(window.get());
37 wm::CenterWindow(window.get());
38 // Centring window is considered as a user's action.
40 EXPECT_EQ("200,126 100x100", window->bounds().ToString());
41 EXPECT_EQ("200,126 100x100", window->GetBoundsInScreen().ToString());
42 window->SetBoundsInScreen(gfx::Rect(600, 0, 100, 100),
44 wm::CenterWindow(window.get());
45 EXPECT_EQ("250,126 100x100", window
[all...]
H A Dsystem_modal_container_layout_manager.cc18 #include "ui/aura/window.h"
37 // If this is set to true, the window will get centered.
40 // The center point of the window can diverge this much from the center point
109 aura::Window* window,
115 if (window->GetProperty(aura::client::kModalKey) != ui::MODAL_TYPE_NONE) {
116 AddModalWindow(window);
118 RemoveModalWindow(window);
119 Shell::GetInstance()->OnModalWindowRemoved(window);
124 aura::Window* window) {
125 if (modal_background_ && modal_background_->GetNativeView() == window)
108 OnWindowPropertyChanged( aura::Window* window, const void* key, intptr_t old) argument
123 OnWindowDestroying( aura::Window* window) argument
138 CanWindowReceiveEvents( aura::Window* window) argument
208 IsModalBackground( aura::Window* window) argument
224 AddModalWindow(aura::Window* window) argument
239 RemoveModalWindow( aura::Window* window) argument
273 GetCenteredAndOrFittedBounds( const aura::Window* window) argument
[all...]
H A Dwindow_cycle_list.cc12 #include "ui/aura/window.h"
16 // Returns the window immediately below |window| in the current container.
17 aura::Window* GetWindowBelow(aura::Window* window) { argument
18 aura::Window* parent = window->parent();
22 std::find(parent->children().begin(), parent->children().end(), window);
23 CHECK(*iter == window);
30 // This class restores and moves a window to the front of the stacking order for
37 // Show |window| at the top of the stacking order.
38 void Show(aura::Window* window);
43 aura::Window* window() { return window_; } function in class:ash::ScopedShowWindow
83 Show(aura::Window* window) argument
100 OnWillRemoveWindow(aura::Window* window) argument
158 OnWindowDestroyed(aura::Window* window) argument
[all...]
/external/chromium_org/athena/screen/
H A Dscreen_accelerator_handler.cc8 #include "ui/aura/window.h"
38 void PrintWindowHierarchy(aura::Window* window, argument
43 std::string name(window->name());
46 *out << indent_str << name << " (" << window << ")"
47 << " type=" << window->type()
48 << ((window == active) ? " [active] " : " ")
49 << (window->IsVisible() ? " visible " : " ")
50 << window->bounds().ToString() << '\n';
52 for (size_t i = 0; i < window->children().size(); ++i)
53 PrintWindowHierarchy(window
[all...]
/external/chromium_org/chrome/browser/ui/ash/multi_user/
H A Dmulti_user_window_manager.h28 // determining the window ownership from browser and application windows and
31 // only be presented on one desktop. If a window should get moved to another
37 // - There is no need to "unregister" a window from an owner. The class will
38 // clean automatically all references of that window upon destruction.
43 // Observer to notify of any window owner changes.
46 // Invoked when the new window is created and the manager start to track its
48 virtual void OnOwnerEntryAdded(aura::Window* window) {} argument
49 // Invoked when the owner of the window tracked by the manager is changed.
50 virtual void OnOwnerEntryChanged(aura::Window* window) {} argument
51 // Invoked when the window i
53 OnOwnerEntryRemoved(aura::Window* window) argument
[all...]
/external/chromium_org/remoting/webapp/
H A Dfullscreen_v2.js29 * full-screen mode is exited and also when the window is restored from
48 chrome.app.window.current().onFullscreened.addListener(
50 chrome.app.window.current().onMaximized.addListener(
52 chrome.app.window.current().onRestored.addListener(
73 chrome.app.window.current().fullscreen();
75 chrome.app.window.current().restore();
84 return chrome.app.window.current().isFullscreen();
96 if (sync && chrome.app.window.current().isMaximized()) {
97 chrome.app.window.current().restore();
111 chrome.app.window
[all...]
/external/chromium_org/ui/views/widget/desktop_aura/
H A Dx11_topmost_window_finder.cc10 #include "ui/aura/window.h"
53 aura::Window* window =
55 if (window) {
56 if (ShouldStopIteratingAtLocalProcessWindow(window)) {
71 aura::Window* window) {
72 if (ignore_.find(window) != ignore_.end())
75 // Currently |window|->IsVisible() always returns true.
77 if (!window->IsVisible())
82 window->GetHost()->GetAcceleratedWidget());
91 aura::client::GetScreenPositionClient(window
70 ShouldStopIteratingAtLocalProcessWindow( aura::Window* window) argument
[all...]
/external/chromium_org/ash/test/
H A Dmirror_window_test_api.cc18 aura::Window* window = Shell::GetInstance() local
22 return window ? window->GetHost() : NULL;
/external/chromium_org/chrome/renderer/resources/extensions/
H A Dweb_view_deny.js20 window.WebView =
32 window.addEventListener('readystatechange', function listener(event) {
37 window.removeEventListener(event.type, listener, useCapture);
/external/chromium_org/content/public/test/
H A Dcontent_browser_test_utils.cc36 void NavigateToURLBlockUntilNavigationsComplete(Shell* window, argument
39 WaitForLoadStop(window->web_contents());
40 TestNavigationObserver same_tab_observer(window->web_contents(),
43 window->LoadURL(url);
47 void LoadDataWithBaseURL(Shell* window, const GURL& url, argument
49 WaitForLoadStop(window->web_contents());
50 TestNavigationObserver same_tab_observer(window->web_contents(), 1);
52 window->LoadDataWithBaseURL(url, data, base_url);
56 void NavigateToURL(Shell* window, const GURL& url) { argument
57 NavigateToURLBlockUntilNavigationsComplete(window, ur
60 WaitForAppModalDialog(Shell* window) argument
[all...]
/external/chromium_org/content/shell/tools/plugin/Tests/
H A DLeakWindowScriptableObject.cpp23 // Get a new reference to the window script object.
24 NPObject* window; variable
25 if (NPN_GetValue(NPNVWindowNPObject, &window) != NPERR_NO_ERROR) {
26 log("Fail: Cannot fetch window script object");
30 // Get another reference to the same object via window.self.
33 if (!NPN_GetProperty(window, self_name, &window_self_variant)) {
34 log("Fail: Cannot query window.self");
38 log("Fail: window.self is not an object");
42 // Leak both references to the window script object.
47 static PluginTest::Register<LeakWindowScriptableObject> leakWindowScriptableObject("leak-window
[all...]
/external/chromium_org/tools/perf/page_sets/tough_animation_cases/resources/
H A Dperftesthelper.js7 if (window.PerfTestHelper) {
10 window.PerfTestHelper = {};
13 window.PerfTestHelper.random = function() {
/external/chromium_org/ui/aura/client/
H A Dcapture_client.h18 // Does a capture on the |window|.
19 virtual void SetCapture(Window* window) = 0;
21 // Releases a capture from the |window|.
22 virtual void ReleaseCapture(Window* window) = 0;
24 // Returns the current capture window. This may only return a Window if the
43 // A utility function to get the current capture window. Returns NULL
44 // if the window doesn't have a root window, or there is no capture window.
45 AURA_EXPORT Window* GetCaptureWindow(Window* window);
[all...]
/external/chromium_org/ui/views/widget/
H A Dwindow_reorderer.h27 WindowReorderer(aura::Window* window, View* root_view);
32 // window changes in the view hierarchy. This method assumes that the
35 // are no views with an associated window.
41 virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE;
42 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
44 // The window and the root view of the native widget which owns the
/external/chromium_org/ui/wm/public/
H A Dwindow_move_client.h20 MOVE_SUCCESSFUL, // Moving window was successful.
21 MOVE_CANCELED // Moving window was canceled.
30 // window moving.
33 // Starts a nested message loop for moving the window. |drag_offset| is the
34 // offset from the window origin to the cursor when the drag was started.
37 virtual WindowMoveResult RunMoveLoop(Window* window,
48 // Sets/Gets the activation client for the specified window.
49 AURA_EXPORT void SetWindowMoveClient(Window* window,
51 AURA_EXPORT WindowMoveClient* GetWindowMoveClient(Window* window);
/external/zlib/src/contrib/infback9/
H A Dinfback9.h14 * window must be provided. Also if int's are 16 bits, then a zero for
28 unsigned char FAR *window,
31 #define inflateBack9Init(strm, window) \
32 inflateBack9Init_((strm), (window), \
/external/chromium_org/ash/wm/workspace/
H A Dworkspace_event_handler_unittest.cc18 #include "ui/aura/window.h"
40 aura::Window* window = new aura::Window(delegate); local
41 window->SetType(ui::wm::WINDOW_TYPE_NORMAL);
42 window->Init(aura::WINDOW_LAYER_TEXTURED);
43 ParentWindowInPrimaryRootWindow(window);
44 window->SetBounds(bounds);
45 window->Show();
46 return window;
53 // Keeps track of the properties changed of a particular window.
56 explicit WindowPropertyObserver(aura::Window* window) argument
[all...]

Completed in 565 milliseconds

1234567891011>>