/external/chromium/chrome/browser/importer/ |
H A D | firefox_importer_utils.cc | 365 std::string contents; local 366 if (!file_util::ReadFileToString(pref_file, &contents)) 370 Tokenize(contents, "\n", &lines);
|
/external/chromium/chrome/browser/tab_contents/ |
H A D | thumbnail_generator.cc | 312 TabContents* contents = Source<TabContents>(source).ptr(); local 314 // Attach the tab contents to the renderer. 319 renderer->property_bag(), contents); 320 VLOG(1) << "renderer " << renderer << "is created for tab " << contents; local 349 // Retrieve the tab contents rendered by the widget. 353 LOG(ERROR) << "This widget is not associated with tab contents: " 357 TabContents* contents = *property; local 358 UpdateThumbnailIfNecessary(contents); 361 void ThumbnailGenerator::TabContentsDisconnected(TabContents* contents) { argument 366 RenderWidgetHost* renderer = contents [all...] |
/external/chromium/chrome/browser/ui/gtk/tabs/ |
H A D | tab_gtk.cc | 316 void TabGtk::UpdateData(TabContents* contents, bool app, bool loading_only) { argument 317 TabRendererGtk::UpdateData(contents, app, loading_only);
|
/external/chromium/chrome/browser/ui/toolbar/ |
H A D | back_forward_menu_model.cc | 282 TabContents* contents = GetTabContents(); local 287 items = contents->controller().entry_count() - 288 contents->controller().GetCurrentEntryIndex() - 1; 290 items = contents->controller().GetCurrentEntryIndex(); 302 TabContents* contents = GetTabContents(); local 305 int current_entry = contents->controller().GetCurrentEntryIndex(); 328 TabContents* contents = GetTabContents(); local 329 NavigationController& controller = contents->controller(); 380 TabContents* contents = GetTabContents(); local 381 int entry = contents 407 TabContents* contents = GetTabContents(); local [all...] |
/external/chromium/chrome/browser/ui/views/ |
H A D | hung_renderer_view.cc | 132 void ShowForTabContents(TabContents* contents); 133 void EndForTabContents(TabContents* contents); 161 gfx::Rect GetDisplayBounds(TabContents* contents); 183 // The model that provides the contents of the table that shows a list of 203 // The distance in pixels from the top of the relevant contents to place the 229 void HungRendererDialogView::ShowForTabContents(TabContents* contents) { argument 230 DCHECK(contents && window()); 231 contents_ = contents; 236 HWND frame_hwnd = GetAncestor(contents->GetNativeView(), GA_ROOT); 244 volatile TabContents* passed_c = contents; 261 EndForTabContents(TabContents* contents) argument 420 GetDisplayBounds( TabContents* contents) argument 453 ShowHungRendererDialog(TabContents* contents) argument 461 HideHungRendererDialog(TabContents* contents) argument [all...] |
/external/chromium/chrome/browser/ui/views/tabs/ |
H A D | browser_tab_strip_controller.cc | 26 TabContents* contents) { 27 if (!contents || !contents->is_loading()) 29 if (contents->waiting_for_response()) 255 TabContentsWrapper* contents = model_->GetTabContentsAt(model_index); local 257 TabContentsNetworkState(contents->tab_contents())); 302 void BrowserTabStripController::TabInsertedAt(TabContentsWrapper* contents, argument 305 DCHECK(contents); 310 SetTabRendererDataFromModel(contents->tab_contents(), model_index, &data); 314 void BrowserTabStripController::TabDetachedAt(TabContentsWrapper* contents, argument 25 TabContentsNetworkState( TabContents* contents) argument 319 TabSelectedAt(TabContentsWrapper* old_contents, TabContentsWrapper* contents, int model_index, bool user_gesture) argument 327 TabMoved(TabContentsWrapper* contents, int from_model_index, int to_model_index) argument 338 TabChangedAt(TabContentsWrapper* contents, int model_index, TabChangeType change_type) argument 357 TabPinnedStateChanged( TabContentsWrapper* contents, int model_index) argument 363 TabMiniStateChanged( TabContentsWrapper* contents, int model_index) argument 369 TabBlockedStateChanged( TabContentsWrapper* contents, int model_index) argument 375 SetTabDataAt( TabContentsWrapper* contents, int model_index) argument 383 SetTabRendererDataFromModel( TabContents* contents, int model_index, TabRendererData* data) argument [all...] |
/external/chromium/chrome/browser/ui/webui/ |
H A D | active_downloads_ui.cc | 377 ActiveDownloadsUI::ActiveDownloadsUI(TabContents* contents) argument 378 : HtmlDialogUI(contents) { 385 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
|
/external/chromium/webkit/glue/ |
H A D | dom_serializer_unittest.cc | 142 void LoadContents(const std::string& contents, argument 148 test_shell_->webView()->mainFrame()->loadHTMLString(contents, base_url); 150 WebData data(contents.data(), contents.length()); 153 // html contents use UTF-8 encoding. 283 // If original contents have document type, the serialized contents also have 293 // Make sure original contents have document type. 300 // Load the serialized contents. 306 // Make sure serialized contents stil [all...] |
/external/dbus/dbus/ |
H A D | dbus-internals.c | 652 DBusString contents; local 656 if (!_dbus_string_init (&contents)) 664 _dbus_string_free (&contents); 669 if (!_dbus_file_get_contents (&contents, filename, error)) 672 _dbus_string_chop_white (&contents); 674 if (_dbus_string_get_length (&contents) != DBUS_UUID_LENGTH_HEX) 680 _dbus_string_get_length (&contents)); 684 if (!_dbus_string_hex_decode (&contents, 0, &end, &decoded, 0)) 711 _dbus_string_free (&contents); 719 _dbus_string_free (&contents); [all...] |
H A D | dbus-keyring.c | 400 DBusString contents; local 415 if (!_dbus_string_init (&contents)) 424 _dbus_string_free (&contents); 448 if (!_dbus_file_get_contents (&contents, 458 if (!_dbus_string_validate_ascii (&contents, 0, 459 _dbus_string_get_length (&contents))) 461 _dbus_warn ("Secret keyring file contains non-ASCII! Ignoring existing contents\n"); 462 _dbus_string_set_length (&contents, 0); 468 while (_dbus_string_pop_line (&contents, &line)) 572 _dbus_string_set_length (&contents, [all...] |
/external/elfutils/libdwfl/ |
H A D | link_map.c | 235 void *contents = data->d_buf + vaddr; 241 if (minread == 0 && unlikely (memchr (contents, '\0', avail) == NULL)) 245 *buffer = contents; 234 void *contents = data->d_buf + vaddr; local
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | ImmutableList.java | 507 * Serializes ImmutableLists as their logical contents. This ensures that 555 private final ArrayList<E> contents = Lists.newArrayList(); field in class:ImmutableList.Builder 571 contents.add(checkNotNull(element)); 586 contents.ensureCapacity(contents.size() + collection.size()); 601 contents.ensureCapacity(contents.size() + elements.length); 620 * Returns a newly-created {@code ImmutableList} based on the contents of 624 return copyOf(contents);
|
/external/oprofile/libutil++/ |
H A D | bfd_support.cpp | 90 char contents[debuglink_size]; local 95 reinterpret_cast<unsigned char *>(contents), 102 size_t filename_len = strlen(contents); 107 reinterpret_cast<bfd_byte *>(contents + crc_offset)); 108 filename = string(contents, filename_len);
|
/external/webkit/Source/WebCore/platform/image-decoders/ |
H A D | ImageDecoder.cpp | 58 bool matchesGIFSignature(char* contents) argument 60 return !memcmp(contents, "GIF8", 4); 63 bool matchesPNGSignature(char* contents) argument 65 return !memcmp(contents, "\x89\x50\x4E\x47", 4); 68 bool matchesJPEGSignature(char* contents) argument 70 return !memcmp(contents, "\xFF\xD8\xFF", 3); 74 bool matchesWebPSignature(char* contents) argument 76 return !memcmp(contents, "RIFF", 4) && !memcmp(contents + 8, "WEBPVP", 6); 80 bool matchesBMPSignature(char* contents) argument 85 matchesICOSignature(char* contents) argument 90 matchesCURSignature(char* contents) argument 104 char contents[lengthOfLongestSignature]; local [all...] |
/external/webkit/Source/WebKit/wx/ |
H A D | WebFrame.cpp | 163 const char* contents = charBuffer; local 165 WTF::PassRefPtr<WebCore::SharedBuffer> sharedBuffer = WebCore::SharedBuffer::create(contents, strlen(contents));
|
/external/chromium/chrome/browser/chromeos/ |
H A D | boot_times_loader.cc | 112 std::string contents; local 114 if (file_util::ReadFileToString(log_file, &contents)) { 115 size_t space_index = contents.find(' '); 118 std::string value_string = contents.substr(0, chars_left);
|
H A D | wm_overview_controller.cc | 67 virtual void TabInsertedAt(TabContentsWrapper* contents, 71 TabContentsWrapper* contents, 73 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 74 virtual void TabMoved(TabContentsWrapper* contents, 77 virtual void TabChangedAt(TabContentsWrapper* contents, int index, 80 virtual void TabDeselected(TabContentsWrapper* contents) {} argument 106 // are no more tab contents (after |start_from|) to configure on this 127 // Returns the tab contents from the tab model for this child at index. 136 // Configures a cell from the tab contents. 137 void ConfigureCell(WmOverviewSnapshot* cell, TabContents* contents); 70 TabClosingAt(TabStripModel* tab_strip_model, TabContentsWrapper* contents, int index) argument 206 TabInsertedAt(TabContentsWrapper* contents, int index, bool foreground) argument 214 TabDetachedAt(TabContentsWrapper* contents, int index) argument 220 TabMoved(TabContentsWrapper* contents, int from_index, int to_index) argument 234 TabChangedAt( TabContentsWrapper* contents, int index, TabStripModelObserver::TabChangeType change_type) argument 383 ConfigureCell(WmOverviewSnapshot* cell, TabContents* contents) argument [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
H A D | eula_view.cc | 516 static bool PublishTitleIfReady(const TabContents* contents, argument 519 if (contents != eula_view->tab_contents()) 525 void EulaView::NavigationStateChanged(const TabContents* contents, argument 528 if (PublishTitleIfReady(contents, google_eula_view_, google_eula_label_) || 529 PublishTitleIfReady(contents, oem_eula_view_, oem_eula_label_)) {
|
/external/chromium/chrome/browser/extensions/ |
H A D | extension_tabs_module.cc | 67 TabContentsWrapper** contents, 100 const TabContents* contents) { 104 if (ExtensionTabUtil::GetTabStripModel(contents, &tab_strip, &tab_index)) 105 return ExtensionTabUtil::CreateTabValue(contents, tab_strip, tab_index); 108 return ExtensionTabUtil::CreateTabValue(contents, NULL, -1); 123 const TabContents* contents, TabStripModel* tab_strip, int tab_index) { 125 result->SetInteger(keys::kIdKey, ExtensionTabUtil::GetTabId(contents)); 128 ExtensionTabUtil::GetWindowIdOfTab(contents)); 129 result->SetString(keys::kUrlKey, contents->GetURL().spec()); 130 result->SetString(keys::kStatusKey, GetTabStatusText(contents 99 CreateTabValue( const TabContents* contents) argument 122 CreateTabValue( const TabContents* contents, TabStripModel* tab_strip, int tab_index) argument 201 GetDefaultTab(Browser* browser, TabContentsWrapper** contents, int* tab_id) argument 218 GetTabById(int tab_id, Profile* profile, bool include_incognito, Browser** browser, TabStripModel** tab_strip, TabContentsWrapper** contents, int* tab_index) argument 325 TabContentsWrapper* contents = NULL; local 630 TabContentsWrapper* contents = tab_strip->GetSelectedTabContents(); local 774 TabContentsWrapper* contents = NULL; local 789 TabContents* contents = dispatcher()->delegate()->associated_tab_contents(); local 807 TabContentsWrapper* contents = NULL; local 958 TabContentsWrapper* contents = NULL; local 1045 TabContentsWrapper* contents = NULL; local 1237 TabContentsWrapper* contents = NULL; local 1332 GetTabById(int tab_id, Profile* profile, bool include_incognito, Browser** browser, TabStripModel** tab_strip, TabContentsWrapper** contents, int* tab_index, std::string* error_message) argument [all...] |
H A D | extensions_ui.cc | 820 ExtensionsUI::ExtensionsUI(TabContents* contents) : WebUI(contents) { argument 831 contents->profile()->GetChromeURLDataManager()->AddDataSource(html_source);
|
/external/chromium/chrome/browser/history/ |
H A D | expire_history_backend_unittest.cc | 447 std::string contents; local 448 EXPECT_TRUE(file_util::ReadFileToString(filename, &contents)); 449 return contents.find(str) != std::string::npos;
|
/external/chromium/chrome/browser/notifications/ |
H A D | desktop_notification_service.cc | 93 NotificationPermissionInfoBarDelegate(TabContents* contents, 135 TabContents* contents, 141 : ConfirmInfoBarDelegate(contents), 144 profile_(contents->profile()), 559 GURL contents; local 561 contents = params.contents_url; 564 contents = GURL( 569 origin, contents, DisplayNameForOrigin(origin), 134 NotificationPermissionInfoBarDelegate( TabContents* contents, const GURL& origin, const string16& display_name, int process_id, int route_id, int callback_context) argument
|
/external/chromium/chrome/browser/prerender/ |
H A D | prerender_manager.cc | 94 PrerenderContentsData(PrerenderContents* contents, base::Time start_time) argument 95 : contents_(contents), 284 // be showing a prerendered contents, but otherwise, don't do anything.
|
/external/chromium/chrome/browser/safe_browsing/ |
H A D | safe_browsing_blocking_page_test.cc | 262 TabContents* contents = browser()->GetSelectedTabContents(); local 270 InterstitialPage::GetInterstitialPage(contents)); 276 TabContents* contents = browser()->GetSelectedTabContents(); local 278 contents); 284 TabContents* contents = browser()->GetSelectedTabContents(); local 286 contents); 292 TabContents* contents = browser()->GetSelectedTabContents(); local 294 if (contents->showing_interstitial_page() && wait_for_delete) { 297 contents->interstitial_page())->set_wait_for_delete(); 303 ASSERT_FALSE(contents 307 TabContents* contents = browser()->GetSelectedTabContents(); local 314 TabContents* contents = browser()->GetSelectedTabContents(); local [all...] |
/external/chromium/chrome/browser/ui/gtk/ |
H A D | browser_toolbar_gtk.cc | 401 void BrowserToolbarGtk::UpdateTabContents(TabContents* contents, argument 403 location_bar_->Update(should_restore_state ? contents : NULL);
|