Home
last modified time | relevance | path

Searched refs:create_params (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/extensions/browser/api/app_window/
Dapp_window_api.cc141 AppWindow::CreateParams create_params; in RunAsync() local
152 create_params.window_key = *options->id; in RunAsync()
164 extension_id(), create_params.window_key); in RunAsync()
194 if (!GetBoundsSpec(*options, &create_params, &error_)) in RunAsync()
200 create_params.window_type = AppWindow::WINDOW_TYPE_PANEL; in RunAsync()
204 if (!GetFrameOptions(*options, &create_params)) in RunAsync()
235 if (create_params.frame != AppWindow::FRAME_NONE) { in RunAsync()
240 create_params.alpha_enabled = *options->alpha_enabled; in RunAsync()
248 create_params.hidden = *options->hidden.get(); in RunAsync()
251 create_params.resizable = *options->resizable.get(); in RunAsync()
[all …]
Dapp_window_api.h37 AppWindow::CreateParams* create_params);
38 void UpdateFrameOptionsForChannel(AppWindow::CreateParams* create_params);
/external/chromium_org/chrome/browser/ui/views/apps/
Dchrome_native_app_window_views.cc208 const AppWindow::CreateParams& create_params) { in InitializeDefaultWindow() argument
216 if (create_params.alpha_enabled) in InitializeDefaultWindow()
218 init_params.keep_on_top = create_params.always_on_top; in InitializeDefaultWindow()
220 create_params.visible_on_all_workspaces; in InitializeDefaultWindow()
237 gfx::Rect window_bounds = create_params.GetInitialWindowBounds(frame_insets); in InitializeDefaultWindow()
238 SetContentSizeConstraints(create_params.GetContentMinimumSize(frame_insets), in InitializeDefaultWindow()
239 create_params.GetContentMaximumSize(frame_insets)); in InitializeDefaultWindow()
294 const AppWindow::CreateParams& create_params) { in InitializePanelWindow() argument
299 create_params.GetInitialWindowBounds(gfx::Insets()); in InitializePanelWindow()
324 widget()->set_focus_on_creation(create_params.focused); in InitializePanelWindow()
[all …]
Dchrome_native_app_window_views.h44 const extensions::AppWindow::CreateParams& create_params);
46 const extensions::AppWindow::CreateParams& create_params);
89 const extensions::AppWindow::CreateParams& create_params) OVERRIDE;
Dchrome_native_app_window_views_win.cc108 const extensions::AppWindow::CreateParams& create_params) { in InitializeDefaultWindow() argument
109 ChromeNativeAppWindowViews::InitializeDefaultWindow(create_params); in InitializeDefaultWindow()
132 if (!create_params.alpha_enabled) in InitializeDefaultWindow()
/external/chromium_org/chromecast/shell/browser/test/
Dchromecast_browser_test.cc69 content::WebContents::CreateParams create_params( in CreateBrowser() local
72 create_params.routing_id = MSG_ROUTING_NONE; in CreateBrowser()
73 create_params.initial_size = gfx::Size(1280, 720); in CreateBrowser()
74 web_contents_.reset(content::WebContents::Create(create_params)); in CreateBrowser()
/external/chromium_org/components/native_app_window/
Dnative_app_window_views.cc36 const AppWindow::CreateParams& create_params) { in Init() argument
38 frameless_ = create_params.frame == AppWindow::FRAME_NONE; in Init()
39 resizable_ = create_params.resizable; in Init()
41 create_params.GetContentMinimumSize(gfx::Insets())); in Init()
43 create_params.GetContentMaximumSize(gfx::Insets())); in Init()
47 InitializeWindow(app_window, create_params); in Init()
63 const AppWindow::CreateParams& create_params) { in InitializeWindow() argument
67 init_params.keep_on_top = create_params.always_on_top; in InitializeWindow()
70 create_params.GetInitialWindowBounds(gfx::Insets()).size()); in InitializeWindow()
/external/chromium_org/chromecast/service/
Dcast_service_simple.cc106 content::WebContents::CreateParams create_params(browser_context(), NULL); in StartInternal() local
107 create_params.routing_id = MSG_ROUTING_NONE; in StartInternal()
108 create_params.initial_size = initial_size; in StartInternal()
109 web_contents_.reset(content::WebContents::Create(create_params)); in StartInternal()
/external/chromium_org/chrome/browser/tab_contents/
Dbackground_contents.cc35 WebContents::CreateParams create_params(profile_, site_instance); in BackgroundContents() local
36 create_params.routing_id = routing_id; in BackgroundContents()
42 create_params, session_storage_namespace_map)); in BackgroundContents()
44 web_contents_.reset(WebContents::Create(create_params)); in BackgroundContents()
/external/chromium_org/chromecast/shell/browser/android/
Dcast_window_android.cc45 content::WebContents::CreateParams create_params(browser_context); in CreateNewWindow() local
46 create_params.routing_id = MSG_ROUTING_NONE; in CreateNewWindow()
48 content::WebContents::Create(create_params); in CreateNewWindow()
51 create_params.initial_size); in CreateNewWindow()
/external/chromium_org/extensions/browser/api/guest_view/
Dguest_view_internal_api.cc26 base::DictionaryValue* create_params; in RunAsync() local
27 EXTENSION_FUNCTION_VALIDATE(args_->GetDictionary(1, &create_params)); in RunAsync()
52 *create_params, in RunAsync()
/external/chromium_org/chrome/browser/ui/
Dbrowser_tabrestore.cc56 WebContents::CreateParams create_params( in CreateRestoredTab() local
59 create_params.initially_hidden = initially_hidden; in CreateRestoredTab()
63 create_params.initial_size = in CreateRestoredTab()
67 create_params, in CreateRestoredTab()
/external/chromium_org/ash/shell/
Dshell_delegate_impl.cc41 ash::shell::ToplevelWindow::CreateParams create_params; in NewWindow() local
42 create_params.can_resize = true; in NewWindow()
43 create_params.can_maximize = true; in NewWindow()
44 ash::shell::ToplevelWindow::CreateToplevelWindow(create_params); in NewWindow()
/external/chromium_org/extensions/browser/guest_view/mime_handler_view/
Dmime_handler_view_guest.cc73 const base::DictionaryValue& create_params, in CreateWebContents() argument
76 create_params.GetString(mime_handler_view::kMimeType, &orig_mime_type); in CreateWebContents()
80 create_params.GetString(mime_handler_view::kSrc, &extension_src); in CreateWebContents()
/external/chromium_org/extensions/browser/guest_view/
Dguest_view_manager.cc118 const base::DictionaryValue& create_params, in CreateGuest() argument
128 embedder_extension_id, embedder_web_contents, create_params, callback); in CreateGuest()
135 const content::WebContents::CreateParams& create_params) { in CreateGuestWithWebContentsParams() argument
141 content::WebContents::CreateParams guest_create_params(create_params); in CreateGuestWithWebContentsParams()
Dguest_view_manager.h69 const base::DictionaryValue& create_params,
76 const content::WebContents::CreateParams& create_params);
/external/chromium_org/components/dom_distiller/content/
Ddistiller_page_web_contents.cc107 content::WebContents::CreateParams create_params(browser_context_); in CreateNewWebContents() local
108 create_params.initially_hidden = true; in CreateNewWebContents()
109 web_contents_.reset(content::WebContents::Create(create_params)); in CreateNewWebContents()
/external/chromium_org/content/shell/browser/
Dshell.cc158 WebContents::CreateParams create_params(browser_context, site_instance); in CreateNewWindow() local
159 create_params.routing_id = routing_id; in CreateNewWindow()
160 create_params.initial_size = AdjustWindowSize(initial_size); in CreateNewWindow()
161 WebContents* web_contents = WebContents::Create(create_params); in CreateNewWindow()
162 Shell* shell = CreateShell(web_contents, create_params.initial_size); in CreateNewWindow()
/external/chromium_org/sandbox/win/src/
Dsync_dispatcher.cc22 static const IPCCall create_params = { in SyncDispatcher() local
32 ipc_calls_.push_back(create_params); in SyncDispatcher()
Dnamed_pipe_dispatcher.cc25 static const IPCCall create_params = { in NamedPipeDispatcher() local
31 ipc_calls_.push_back(create_params); in NamedPipeDispatcher()
/external/chromium_org/extensions/browser/
Dextension_message_filter.cc203 base::DictionaryValue create_params; in OnExtensionCreateMimeHandlerViewGuest() local
204 create_params.SetString(mime_handler_view::kMimeType, mime_type); in OnExtensionCreateMimeHandlerViewGuest()
205 create_params.SetString(mime_handler_view::kSrc, src); in OnExtensionCreateMimeHandlerViewGuest()
209 create_params, in OnExtensionCreateMimeHandlerViewGuest()
/external/chromium_org/content/browser/
Dtransition_browsertest.cc135 WebContents::CreateParams create_params( in IN_PROC_BROWSER_TEST_F() local
139 WebContents::Create(create_params)); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/extensions/browser/guest_view/app_view/
Dapp_view_guest.cc147 const base::DictionaryValue& create_params, in CreateWebContents() argument
150 if (!create_params.GetString(appview::kAppID, &app_id)) { in CreateWebContents()
156 if (!create_params.GetDictionary(appview::kData, &data)) { in CreateWebContents()
/external/chromium_org/chrome/browser/dom_distiller/
Dtab_utils.cc139 content::WebContents::CreateParams create_params( in DistillCurrentPageAndView() local
142 content::WebContents::Create(create_params); in DistillCurrentPageAndView()
/external/chromium_org/content/public/browser/
Dbrowser_plugin_guest_delegate.cc10 const WebContents::CreateParams& create_params) { in CreateNewGuestWindow() argument

123