Home
last modified time | relevance | path

Searched refs:new_contents (Results 1 – 25 of 155) sorted by relevance

1234567

/external/chromium_org/chrome/browser/ui/ash/launcher/
Dbrowser_status_monitor.cc256 content::WebContents* new_contents, in ActiveTabChanged() argument
261 DCHECK(new_contents); in ActiveTabChanged()
262 browser = chrome::FindBrowserWithWebContents(new_contents); in ActiveTabChanged()
276 if (new_contents) { in ActiveTabChanged()
280 UpdateAppItemState(new_contents, state); in ActiveTabChanged()
282 SetShelfIDForBrowserWindowContents(browser, new_contents); in ActiveTabChanged()
288 content::WebContents* new_contents, in TabReplacedAt() argument
290 DCHECK(old_contents && new_contents); in TabReplacedAt()
291 Browser* browser = chrome::FindBrowserWithWebContents(new_contents); in TabReplacedAt()
303 (tab_strip_model->GetActiveWebContents() == new_contents)) in TabReplacedAt()
[all …]
/external/chromium_org/tools/gn/
Dfunction_write_file.cc75 const std::string& new_contents = contents.str(); in RunWriteFile() local
82 existing_contents == new_contents) in RunWriteFile()
92 int int_size = static_cast<int>(new_contents.size()); in RunWriteFile()
93 if (base::WriteFile(file_path, new_contents.c_str(), int_size) in RunWriteFile()
/external/chromium_org/ui/views/examples/
Dmultiline_example.cc87 void SetText(const base::string16& new_contents) { in SetText() argument
89 const size_t range_max = new_contents.length(); in SetText()
94 render_text_->SetText(new_contents); in SetText()
174 const base::string16& new_contents) { in ContentsChanged() argument
175 render_text_view_->SetText(new_contents); in ContentsChanged()
177 label_->SetText(new_contents); in ContentsChanged()
Dtextfield_example.cc84 const base::string16& new_contents) { in ContentsChanged() argument
86 PrintStatus("Name [%s]", UTF16ToUTF8(new_contents).c_str()); in ContentsChanged()
88 PrintStatus("Password [%s]", UTF16ToUTF8(new_contents).c_str()); in ContentsChanged()
90 PrintStatus("Read Only [%s]", UTF16ToUTF8(new_contents).c_str()); in ContentsChanged()
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_strip_model_observer_bridge.mm59 WebContents* new_contents,
64 [controller_ activateTabWithContents:new_contents
103 WebContents* new_contents,
107 [controller_ tabReplacedWithContents:new_contents
111 TabChangedAt(new_contents, index, ALL);
/external/chromium_org/ui/views/controls/webview/
Dweb_dialog_view.cc298 content::WebContents* new_contents = NULL; in OpenURLFromTab() local
300 delegate_->HandleOpenURLFromTab(source, params, &new_contents)) { in OpenURLFromTab()
301 return new_contents; in OpenURLFromTab()
307 content::WebContents* new_contents, in AddNewContents() argument
313 source, new_contents, disposition, initial_pos, user_gesture)) { in AddNewContents()
317 source, new_contents, disposition, initial_pos, user_gesture, in AddNewContents()
/external/chromium_org/android_webview/native/
Daw_web_contents_delegate.cc126 WebContents* new_contents, in AddNewContents() argument
149 make_scoped_ptr(new_contents)); in AddNewContents()
152 new_contents->WasHidden(); in AddNewContents()
158 base::MessageLoop::current()->DeleteSoon(FROM_HERE, new_contents); in AddNewContents()
173 content::WebContents* new_contents) { in WebContentsCreated() argument
174 AwContentsIoThreadClientImpl::RegisterPendingContents(new_contents); in WebContentsCreated()
/external/chromium_org/chrome/app/nibs/
DPRESUBMIT.py42 new_contents = xib.NewContents()
43 if not new_contents:
47 for line in new_contents:
/external/chromium_org/ash/system/tray/
Dtray_notification_view.cc93 void TrayNotificationView::UpdateView(views::View* new_contents) { in UpdateView() argument
95 InitView(new_contents); in UpdateView()
101 void TrayNotificationView::UpdateViewAndImage(views::View* new_contents, in UpdateViewAndImage() argument
104 InitView(new_contents); in UpdateViewAndImage()
Dtray_notification_view.h46 void UpdateView(views::View* new_contents);
49 void UpdateViewAndImage(views::View* new_contents,
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/tools/
Dupload_chromevox_to_webstore.py55 new_contents = json.loads(old_file.read())
56 new_contents.pop('key', '')
57 new_file.file.write(json.dumps(new_contents))
/external/chromium_org/tools/strict_enum_value_checker/
Dstrict_enum_value_checker_test.py59 def __init__(self, local_path, old_contents, new_contents): argument
61 self._new_contents = new_contents
146 new_contents = []
148 new_contents = self._ReadTextFileContents(new_file_path)
152 new_contents)
/external/chromium_org/chrome/browser/android/
Dchrome_web_contents_delegate_android.cc308 WebContents* new_contents, in AddNewContents() argument
318 TabHelpers::AttachTabHelpers(new_contents); in AddNewContents()
328 reinterpret_cast<intptr_t>(new_contents), in AddNewContents()
337 delete new_contents; in AddNewContents()
343 content::WebContents* new_contents) { in WebContentsCreated() argument
352 reinterpret_cast<intptr_t>(new_contents)); in WebContentsCreated()
/external/chromium_org/chrome/browser/prerender/
Dprerender_contents.cc250 PrerenderContents* new_contents = prerender_manager_->CreatePrerenderContents( in CreateMatchCompleteReplacement() local
253 new_contents->load_start_time_ = load_start_time_; in CreateMatchCompleteReplacement()
254 new_contents->session_storage_namespace_id_ = session_storage_namespace_id_; in CreateMatchCompleteReplacement()
255 new_contents->set_match_complete_status( in CreateMatchCompleteReplacement()
258 const bool did_init = new_contents->Init(); in CreateMatchCompleteReplacement()
260 DCHECK_EQ(alias_urls_.front(), new_contents->alias_urls_.front()); in CreateMatchCompleteReplacement()
261 DCHECK_EQ(1u, new_contents->alias_urls_.size()); in CreateMatchCompleteReplacement()
262 new_contents->alias_urls_ = alias_urls_; in CreateMatchCompleteReplacement()
266 new_contents->set_match_complete_status( in CreateMatchCompleteReplacement()
268 NotifyPrerenderCreatedMatchCompleteReplacement(new_contents); in CreateMatchCompleteReplacement()
[all …]
/external/chromium_org/chrome/browser/ui/tabs/
Dtab_strip_model_order_controller.cc97 content::WebContents* new_contents, in ActiveTabChanged() argument
117 ((new_contents == NULL && old_opener == NULL) || in ActiveTabChanged()
118 old_opener != new_contents)) { in ActiveTabChanged()
Dtab_strip_model_observer.cc27 WebContents* new_contents, in ActiveTabChanged() argument
49 WebContents* new_contents, in TabReplacedAt() argument
/external/chromium_org/tools/git/
Dmove_source_file.py141 new_contents = contents.replace(old_guard, new_guard)
144 if new_contents.count(new_guard) != 3:
150 f.write(new_contents)
/external/chromium_org/ui/web_dialogs/
Dweb_dialog_web_contents_delegate.cc44 WebContents* source, WebContents* new_contents, in AddNewContents() argument
48 handler_->AddNewContents(browser_context_, source, new_contents, disposition, in AddNewContents()
Dweb_dialog_web_contents_delegate.h32 content::WebContents* new_contents,
60 content::WebContents* new_contents,
/external/chromium_org/media/
DPRESUBMIT_test.py57 def __init__(self, local_path, new_contents): argument
59 self._new_contents = new_contents
60 self._changed_contents = [(i + 1, l) for i, l in enumerate(new_contents)]
/external/chromium_org/apps/
Dcustom_launcher_page_contents.cc72 content::WebContents* new_contents, in AddNewContents() argument
77 app_delegate_->AddNewContents(new_contents->GetBrowserContext(), in AddNewContents()
78 new_contents, in AddNewContents()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_event_router.cc290 WebContents* new_contents, in ActiveTabChanged() argument
294 int tab_id = ExtensionTabUtil::GetTabId(new_contents); in ActiveTabChanged()
300 ExtensionTabUtil::GetWindowIdOfTab(new_contents))); in ActiveTabChanged()
306 Profile::FromBrowserContext(new_contents->GetBrowserContext()); in ActiveTabChanged()
520 WebContents* new_contents, in TabReplacedAt() argument
524 const int new_tab_id = ExtensionTabUtil::GetTabId(new_contents); in TabReplacedAt()
530 DispatchEvent(Profile::FromBrowserContext(new_contents->GetBrowserContext()), in TabReplacedAt()
540 if (!GetTabEntry(new_contents)) { in TabReplacedAt()
542 RegisterForTabNotifications(new_contents); in TabReplacedAt()
/external/chromium_org/cloud_print/service/win/
Dcloud_print_service.cc347 std::string new_contents = in SetupServiceState() local
350 if (new_contents.empty()) { in SetupServiceState()
354 if (new_contents != contents) { in SetupServiceState()
355 size_t written = base::WriteFile(file, new_contents.c_str(), in SetupServiceState()
356 new_contents.size()); in SetupServiceState()
357 if (written != new_contents.size()) { in SetupServiceState()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl.cc263 WebContentsImpl* new_contents = new WebContentsImpl( in CreateWithSessionStorage() local
270 new_contents->GetController() in CreateWithSessionStorage()
274 new_contents->Init(params); in CreateWithSessionStorage()
275 return new_contents; in CreateWithSessionStorage()
466 WebContentsImpl* new_contents = new WebContentsImpl( in CreateWithOpener() local
472 BrowserPluginGuest::Create(new_contents, params.guest_delegate); in CreateWithOpener()
475 new_contents->is_subframe_ = true; in CreateWithOpener()
477 new_contents->Init(params); in CreateWithOpener()
478 return new_contents; in CreateWithOpener()
1562 WebContentsImpl* new_contents = NULL; in CreateNewWindow() local
[all …]
/external/chromium_org/chrome/browser/ui/views/autofill/
Dexpanding_textfield.cc112 const base::string16& new_contents) { in ContentsChanged() argument
114 !new_contents.empty()) { in ContentsChanged()
123 controller_->ContentsChanged(sender, new_contents); in ContentsChanged()

1234567