/external/chromium/chrome/browser/ui/cocoa/ |
background_gradient_view.mm | 36 BOOL isKey = [[self window] isKeyWindow]; 37 ui::ThemeProvider* themeProvider = [[self window] themeProvider]; 45 CGFloat winHeight = NSHeight([[self window] frame]); 74 BOOL isKey = [[self window] isKeyWindow]; 75 ui::ThemeProvider* themeProvider = [[self window] themeProvider];
|
chrome_event_processing_window.h | 32 // Checks if |event| is a window keyboard shortcut. If so, dispatches it to the 33 // window controller's |executeCommand:| and returns |YES|. 36 // Checks if |event| is a delayed window keyboard shortcut. If so, dispatches 37 // it to the window controller's |executeCommand:| and returns |YES|. 41 // window controller's |executeCommand:| and returns |YES|.
|
chrome_event_processing_window.mm | 17 // Duplicate the given key event, but changing the associated window. 18 - (NSEvent*)keyEventForWindow:(NSWindow*)window fromKeyEvent:(NSEvent*)event; 78 // Handle per-window shortcuts like cmd-1, but do not handle browser-level 87 // Handle per-window shortcuts like Esc after giving everybody else a chance 102 // Ordinarily, the event's window should be this window. However, when 103 // switching between normal and fullscreen mode, we switch out the window, and 104 // the event's window might be the previous window (or even an earlier one if 106 // rare case, we synthesize a new key event so that its associate window [all...] |
browser_frame_view.mm | 44 // others. If they all fail, we will lose window frame theming and 121 // If this isn't the window class we expect, then pass it on to the 123 if (![[self window] isKindOfClass:[FramedBrowserWindow class]]) { 132 // after a clipping path is set, the rounded corners at the top of the window 135 // Only paint the top of the window. 136 NSWindow* window = [self window]; 137 NSRect windowRect = [self convertRect:[window frame] fromView:nil]; 162 // If the window needs a title and we painted over the title as drawn by the 163 // default window paint, paint it ourselves [all...] |
confirm_quit_panel_controller.mm | 25 // Duration of the window fade out animation. 44 // The content view of the window that draws a custom frame. 101 NSRect frame = [[self window] frame]; 109 [[self window] setFrame:frame display:YES]; 142 for (NSWindow* window in [application_ windows]) { 143 [window setAlphaValue:1.0 - progress]; 179 scoped_nsobject<NSWindow> window( 184 if ((self = [super initWithWindow:window])) { 185 [window setDelegate:self]; 186 [window setBackgroundColor:[NSColor clearColor]] [all...] |
browser_window_cocoa.mm | 48 NSWindow* window) 63 // The Browser associated with this browser window must become the active 71 [window() makeKeyAndOrderFront:controller_]; 75 [window() orderFront:controller_]; 87 [window() setFrame:cocoa_bounds display:YES]; 91 // The controller implementing the window delegate methods called from 94 // If there is an overlay window, we contain a tab being dragged between 95 // windows. Don't hide the window as it makes the UI extra confused. We can 96 // still close the window, as that will happen when the drag completes. 100 // Make sure we hide the window immediately. Even though performClose [all...] |
task_manager_mac.h | 21 // This class is responsible for loading the task manager window and for 48 // Creates and shows the task manager's window. 82 // Called by the cocoa window controller when its window closes and the 91 // existing task manager window. Highlights background resources if 113 // Controller of our window, destroys itself when the task manager window 123 // An open task manager window. There can only be one open at a time. This 124 // is reset to NULL when the window is closed.
|
/external/chromium/chrome/browser/ui/cocoa/download/ |
download_shelf_view.mm | 16 BOOL isKey = [[self window] isKeyWindow]; 17 ui::ThemeProvider* themeProvider = [[self window] themeProvider]; 25 BOOL isKey = [[self window] isKeyWindow]; 26 ui::ThemeProvider* themeProvider = [[self window] themeProvider]; 62 // window around.
|
/external/chromium/chrome/browser/ui/views/ |
restart_message_box.cc | 13 #include "views/window/window.h" 20 // When the window closes, it will delete itself. 55 // Also deleted when the window closes. 63 views::Window::CreateChromeWindow(parent_window, gfx::Rect(), this)->Show();
|
browser_bubble_win.cc | 12 #include "views/window/window.h" 55 void OnActivate(UINT action, BOOL minimized, HWND window) { 56 WidgetWin::OnActivate(action, minimized, window); 72 // Are we a parent of this window? 73 gfx::NativeView parent = window; 75 if (window == GetNativeView()) { 81 // Do we own this window? 83 ::GetWindow(window, GW_OWNER) == GetNativeView()) {
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/email_this_page/ |
options.html | 20 if (window.localStorage == null) { 27 window.localStorage.customMailtoUrl = gmail; 29 window.localStorage.customMailtoUrl = ""; 34 if (window.localStorage == null) { 43 if (window.localStorage.customMailtoUrl == gmail)
|
/external/webkit/LayoutTests/fast/dom/Geolocation/script-tests/ |
maximum-age.js | 28 if (window.layoutTestController) { 45 if (window.layoutTestController) 59 if (window.layoutTestController) 82 window.jsTestIsAsync = true; 83 window.successfullyParsed = true;
|
/external/webkit/LayoutTests/storage/indexeddb/ |
queued-commands.html | 14 if (window.layoutTestController) 36 window.trans = evalAndLog("trans = event.target.result"); 42 window.store = evalAndLog("db.createObjectStore('storeName')"); 43 window.indexObject = evalAndLog("store.createIndex('indexName', 'x')"); 57 window.addCount = 0;
|
/system/core/include/system/ |
window.h | 135 * to the window compositor. The query sets the returned 'value' argument 136 * to 1 if the ANativeWindow DOES send queued buffers directly to the window 137 * compositor and 0 if the buffers do not go directly to the window 160 * of the window irrespective of the NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS 272 /* the window content is not updated (frozen) until a buffer of 273 * the window size is received (enqueued) 276 /* the buffer is scaled in both dimensions to match the window size */ 290 * by the native window when queueBuffer is called. This is equal to INT64_MIN, 339 int (*setSwapInterval)(struct ANativeWindow* window, 349 int (*dequeueBuffer)(struct ANativeWindow* window, [all...] |
/development/tools/emulator/system/camera/ |
PreviewWindow.h | 22 * of a preview window set via set_preview_window camera HAL API. 29 /* Encapsulates functionality of a preview window set via set_preview_window 52 * window - Preview window to set. This parameter might be NULL, which 53 * indicates preview window reset. 56 * the preview window. If 'window' parameter passed to this method is 61 status_t setPreviewWindow(struct preview_stream_ops* window, 111 /* Adjusts cached dimensions of the preview window frame according to the 119 * properly adjust frame dimensions, used by the preview window [all...] |
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
extension_install_dialog_controller.mm | 60 - (id)initWithParentWindow:(NSWindow*)window 82 parentWindow_ = window; 114 [NSApp beginSheet:[self window] 123 [NSApp endSheet:[self window]]; 128 [NSApp endSheet:[self window]]; 139 // Make sure we're the window's delegate as set in the nib. 141 [[self window] delegate])); 152 // finally resize the window. 173 // Finally, adjust the window size. 174 NSRect currentRect = [[self window] frame] [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
native_view_photobooth_win.cc | 27 // Since the capture window must be visible to be painted, it must be opened 68 // We need to hide the window too, so it doesn't show up in the TaskBar or 76 // Insert the TabContents into the capture window. 79 // Show the window (it may not be visible). This is the only safe way of 91 // Our contained window may have been re-parented. Make sure it belongs to 102 // Transfer the contents of the layered capture window to the screen-shot 129 // The approach turns out to be to create a second layered window in 130 // hyperspace the to act as a "photo booth." The window is created with the 136 // The capture window must be layered so that Windows generates a backing 137 // store for it, so that blitting from a child window's DC produces data. I [all...] |
/external/webkit/Source/WebKit2/UIProcess/mac/ |
WebInspectorProxyMac.mm | 101 NSWindow *window = [[NSWindow alloc] initWithContentRect:NSMakeRect(0, 0, initialWindowWidth, initialWindowHeight) styleMask:styleMask backing:NSBackingStoreBuffered defer:NO]; 102 [window setAutorecalculatesContentBorderThickness:NO forEdge:NSMaxYEdge]; 103 [window setContentBorderThickness:windowContentBorderThickness forEdge:NSMaxYEdge]; 104 [window setDelegate:m_inspectorProxyObjCAdapter.get()]; 105 [window setMinSize:NSMakeSize(minimumWindowWidth, minimumWindowHeight)]; 106 [window setReleasedWhenClosed:NO]; 108 // Center the window initially before setting the frame autosave name so that the window will be in a good 110 [window center]; 111 [window setFrameAutosaveName:@"Web Inspector 2"] [all...] |
/external/chromium/chrome/browser/ui/tests/ |
browser_uitest.cc | 80 // tab, set its window.opener to null, and redirect it to a cross-site URL. 83 // set window.opener to null properly. 95 scoped_refptr<BrowserProxy> window(automation()->GetBrowserWindow(0)); 96 ASSERT_TRUE(window.get()); 97 scoped_refptr<TabProxy> tab(window->GetActiveTab()); 104 ASSERT_TRUE(window->GetTabCount(&orig_tab_count)); 111 std::wstring url_prefix(L"javascript:(function(){w=window.open();"); 123 ASSERT_TRUE(window->GetTabCount(&new_tab_count)); 137 // Tests that non-Gmail-like script redirects (i.e., non-null window.opener) or 149 scoped_refptr<BrowserProxy> window(automation()->GetBrowserWindow(0)) [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
InputMonitor.java | 33 // Current window with input focus for keys and other non-touch events. May be null. 45 // Array of window handles to provide to the input dispatcher. 58 /* Notifies the window manager about a broken input channel. 70 Slog.i(WindowManagerService.TAG, "WINDOW DIED " + windowState); 76 /* Notifies the window manager about an application that is not responding. 141 /* Updates the cached window information provided to the input dispatcher. */ 150 // Populate the input window list with information about all of the windows that 153 // out to be difficult because only the native code knows for sure which window 161 Log.d(WindowManagerService.TAG, "Inserting drag window"); 168 + "drag window handle.") [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
WindowTest.java | 51 import android.view.Window; 56 @TestTargetClass(Window.class) 58 private Window mWindow; 90 method = "Window", 108 * 2. setFlags: _1. set the flags of the window. 109 * _2. test invocation of Window.Callback#onWindowAttributesChanged. 172 * getAttributes: Retrieve the current window attributes associated with this panel. 173 * Return is 1.the existing window attributes object. 175 * setAttributes: Specify custom window attributes. 176 * Here we just set some parameters to test if it can set, and the window is jus 481 MockWindow window = new MockWindow(mContext); local 847 MockWindow window = new MockWindow(mContext); local [all...] |
/external/qemu/slirp/ |
tcp_var.h | 58 #define TF_REQ_SCALE 0x0020 /* have/will request window scaling */ 77 tcp_seq snd_wl1; /* window update seg seq number */ 78 tcp_seq snd_wl2; /* window update seg ack number */ 80 u_int32_t snd_wnd; /* send window */ 82 u_int32_t rcv_wnd; /* receive window */ 90 tcp_seq rcv_adv; /* advertised window */ 96 u_int32_t snd_cwnd; /* congestion-controlled window */ 111 u_int32_t max_sndwnd; /* largest window peer has offered */ 121 u_char snd_scale; /* window scaling for send window */ [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebFullScreenController.mm | 129 // Do not defer window creation, to make sure -windowNumber is created (needed by WebWindowScaleAnimation). 130 NSWindow *window = [[WebFullscreenWindow alloc] initWithContentRect:NSZeroRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:NO]; 131 self = [super initWithWindow:window]; 132 [window release]; 191 // listeners on that Element's window, listening for changes in media play states. 194 // the events on the old element's window, if necessary, as well. 199 DOMWindow* window = _element->document()->domWindow(); 200 if (window) { 201 window->removeEventListener(eventNames.playEvent, _mediaEventListener.get(), true); 202 window->removeEventListener(eventNames.pauseEvent, _mediaEventListener.get(), true) [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
gtk_util.h | 55 // (See http://library.gnome.org/devel/hig-book/stable/design-window.html.en) 122 void SetWindowSizeFromResources(GtkWindow* window, 125 // Places |window| approximately over center of |parent|, it also moves window 127 // options window and content settings window; otherwise you should be using 129 void CenterOverWindow(GtkWindow* window, GtkWindow* parent); 131 // Puts all browser windows in one window group; this will make any dialog 136 // dismissed. Returns each browser window to its own window group [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
ScriptCachedFrameData.cpp | 56 JSDOMWindow* window = iter->second->window(); local 57 m_windows.add(iter->first.get(), Strong<JSDOMWindow>(window->globalData(), window)); 58 m_domWindow = window->impl(); 86 if (JSDOMWindow* window = m_windows.get(world).get()) 87 windowShell->setWindow(window->globalData(), window); 93 windowShell->window()->setProfileGroup(page->group().identifier());
|