/external/chromium/chrome/browser/ui/cocoa/tabs/ |
tab_strip_model_observer_bridge.mm | 23 void TabStripModelObserverBridge::TabInsertedAt(TabContentsWrapper* contents, 28 [controller_ insertTabWithContents:contents 35 TabContentsWrapper* contents, 39 [controller_ tabClosingWithContents:contents atIndex:index]; 43 void TabStripModelObserverBridge::TabDetachedAt(TabContentsWrapper* contents, 47 [controller_ tabDetachedWithContents:contents atIndex:index]; 66 void TabStripModelObserverBridge::TabMoved(TabContentsWrapper* contents, 71 [controller_ tabMovedWithContents:contents 77 void TabStripModelObserverBridge::TabChangedAt(TabContentsWrapper* contents, 82 [controller_ tabChangedWithContents:contents [all...] |
/external/chromium_org/content/public/browser/ |
web_contents_user_data.h | 23 // explicit FooTabHelper(content::WebContents* contents); 35 static void CreateForWebContents(WebContents* contents) { 36 DCHECK(contents); 37 if (!FromWebContents(contents)) 38 contents->SetUserData(UserDataKey(), new T(contents)); 44 static T* FromWebContents(WebContents* contents) { 45 DCHECK(contents); 46 return static_cast<T*>(contents->GetUserData(UserDataKey())); 48 static const T* FromWebContents(const WebContents* contents) { [all...] |
/external/chromium_org/tools/gyp/test/rules-rebuild/ |
gyptest-default.py | 35 contents = test.read(['relocate', 'src', 'prog1.in']) variable 36 contents = contents.replace('!', ' AGAIN!') variable 37 test.write(['relocate', 'src', 'prog1.in'], contents) 53 contents = test.read(['relocate', 'src', 'prog2.in']) variable 54 contents = contents.replace('!', ' AGAIN!') variable 55 test.write(['relocate', 'src', 'prog2.in'], contents) 74 contents = test.read(['relocate', 'src', 'make-sources.py']) variable 75 contents = contents.replace('%s', 'the amazing %s' variable [all...] |
/external/chromium_org/chrome/browser/prerender/ |
prerender_handle.cc | 23 prerender_data_->contents()->RemoveObserver(this); 53 return prerender_data_->contents()->has_finished_loading(); 56 PrerenderContents* PrerenderHandle::contents() const { function in class:prerender::PrerenderHandle 58 return prerender_data_ ? prerender_data_->contents() : NULL; 67 return prerender_data_->contents()->Matches(url, session_storage_namespace); 84 other_handle->prerender_data_->contents()) { 85 other_handle->prerender_data_->contents()->RemoveObserver(other_handle); 93 prerender_data_->contents()); 94 prerender_data_->contents()->AddObserver(this); 97 OnPrerenderStart(prerender_data_->contents()); [all...] |
/external/chromium_org/chrome/browser/background/ |
background_contents_service_unittest.cc | 116 MockBackgroundContents* contents = new MockBackgroundContents(&profile); local 117 EXPECT_FALSE(service.IsTracked(contents)); 118 contents->SendOpenedNotification(&service); 119 EXPECT_TRUE(service.IsTracked(contents)); 120 delete contents; 121 EXPECT_FALSE(service.IsTracked(contents)); 133 scoped_ptr<MockBackgroundContents> contents( 136 contents->SendOpenedNotification(&service); 138 contents->Navigate(url); 140 EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())) 158 MockBackgroundContents* contents = new MockBackgroundContents(&profile); local 211 MockBackgroundContents* contents = new MockBackgroundContents(&profile, local [all...] |
/external/chromium_org/chrome/browser/ui/ |
fast_unload_controller.cc | 27 // DetachedWebContentsDelegate will delete web contents when they close. 66 bool FastUnloadController::CanCloseContents(content::WebContents* contents) { 75 content::WebContents* contents) { 76 // If |contents| is being inspected, devtools needs to intercept beforeunload 79 contents->GetRenderViewHost()) != NULL; 84 content::WebContents* contents) { 85 // If there's a devtools window attached to |contents|, 87 // and then call beforeunload handlers for |contents|. 89 if (DevToolsWindow::InterceptPageBeforeUnload(contents)) { 96 if (contents->NeedToFireBeforeUnload()) 209 content::WebContents* contents = local 234 content::WebContents* contents = local 338 content::WebContents* contents = *it; local 372 content::WebContents* contents = *current; local 429 content::WebContents* contents = *it; local [all...] |
/dalvik/dx/tests/040-dex-constructor/ |
info.txt | 2 conversion runs without failure, though the contents of the converted
|
/external/chromium/chrome/browser/tabs/ |
default_tab_handler.cc | 89 void DefaultTabHandler::CreateHistoricalTab(TabContentsWrapper* contents) { 90 delegate_->AsBrowser()->CreateHistoricalTab(contents); 94 TabContentsWrapper* contents) { 95 return delegate_->AsBrowser()->RunUnloadListenerBeforeClosing(contents); 137 void DefaultTabHandler::TabInsertedAt(TabContentsWrapper* contents, 140 delegate_->AsBrowser()->TabInsertedAt(contents, index, foreground); 144 TabContentsWrapper* contents, 146 delegate_->AsBrowser()->TabClosingAt(tab_strip_model, contents, index); 149 void DefaultTabHandler::TabDetachedAt(TabContentsWrapper* contents, int index) { 150 delegate_->AsBrowser()->TabDetachedAt(contents, index) [all...] |
default_tab_handler.h | 46 virtual void CreateHistoricalTab(TabContentsWrapper* contents); 47 virtual bool RunUnloadListenerBeforeClosing(TabContentsWrapper* contents); 59 virtual void TabInsertedAt(TabContentsWrapper* contents, 63 TabContentsWrapper* contents, 65 virtual void TabDetachedAt(TabContentsWrapper* contents, int index); 66 virtual void TabDeselected(TabContentsWrapper* contents); 71 virtual void TabMoved(TabContentsWrapper* contents, 78 virtual void TabPinnedStateChanged(TabContentsWrapper* contents, int index);
|
/external/chromium_org/chrome/browser/renderer_host/ |
DEPS | 3 # reference to the tab contents is allowed.
|
/external/chromium_org/chrome/browser/ui/search/ |
instant_tab.cc | 19 void InstantTab::Init(content::WebContents* contents) { 20 SetContents(contents); 24 void InstantTab::EmitNtpStatistics(content::WebContents* contents) { 25 NTPUserDataLogger::GetOrCreateFromWebContents(contents)->EmitNtpStatistics();
|
/external/chromium_org/third_party/WebKit/ManualTests/media-elements/ |
video-iframe.html | 3 <p>iframe contents for video-moved-from-iframe-to-main-page.html</p>
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/ |
ImageDecoder.cpp | 49 inline bool matchesGIFSignature(char* contents) 51 return !memcmp(contents, "GIF87a", 6) || !memcmp(contents, "GIF89a", 6); 54 inline bool matchesPNGSignature(char* contents) 56 return !memcmp(contents, "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A", 8); 59 inline bool matchesJPEGSignature(char* contents) 61 return !memcmp(contents, "\xFF\xD8\xFF", 3); 64 inline bool matchesWebPSignature(char* contents) 66 return !memcmp(contents, "RIFF", 4) && !memcmp(contents + 8, "WEBPVP", 6) 91 char contents[longestSignatureLength]; local [all...] |
/external/chromium_org/tools/gyp/test/variables/filelist/ |
gyptest-filelist.py | 22 contents = test.read('src/dummy_foo').replace('\r', '') variable 24 if not test.match(contents, expect): 25 print "Unexpected contents of `src/dummy_foo'" 26 test.diff(expect, contents, 'src/dummy_foo')
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
MinimalCollection.java | 33 public static <E> MinimalCollection<E> of(E... contents) { 34 return new MinimalCollection<E>(Object.class, true, contents); 39 Class<? super E> type, E... contents) { 40 return new MinimalCollection<E>(type, true, contents); 43 private final E[] contents; field in class:MinimalCollection 48 MinimalCollection(Class<? super E> type, boolean allowNulls, E... contents) { 49 // TODO: consider making it shuffle the contents to test iteration order. 50 this.contents = Platform.clone(contents); 55 for (Object element : contents) { [all...] |
/external/llvm/test/MC/ELF/ |
subsection.s | 3 // CHECK: Contents of section .text: 12 // CHECK-NOT: Contents of section .rela.text: 14 // CHECK: Contents of section .data: 30 // CHECK: Contents of section test:
|
/external/markdown/tests/misc/ |
attributes2.html | 1 <p id="TABLE.OF.CONTENTS" />
|
/external/chromium_org/chrome/browser/ |
loadtimes_extension_bindings_browsertest.cc | 21 content::WebContents* contents = local 24 contents, 33 contents, 38 contents, 51 content::WebContents* contents = local 54 contents, "window.before = window.chrome.loadTimes()")); 56 contents, "window.location.href = window.location + \"#\"")); 58 contents, "window.after = window.chrome.loadTimes()")); 68 content::WebContents* contents = local 71 contents, "window.before = window.chrome.loadTimes()")) [all...] |
/external/chromium/chrome/browser/tab_contents/ |
link_infobar_delegate.cc | 13 LinkInfoBarDelegate::LinkInfoBarDelegate(TabContents* contents) 14 : InfoBarDelegate(contents) {
|
/external/chromium/chrome/browser/ui/cocoa/tab_contents/ |
favicon_util.h | 13 // Returns an autoreleased favicon for a given TabContents. If |contents| is 16 NSImage* FaviconForTabContents(TabContents* contents);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
directory_zipper_test.py | 19 'one.txt': 'one.txt contents', 21 'three.txt': 'three.txt contents', 22 'four.txt': 'four.txt contents', 38 self.assertEqual('one.txt contents', top_zip.read('top/one.txt')) 39 self.assertEqual('three.txt contents', top_zip.read('top/two/three.txt')) 40 self.assertEqual('four.txt contents', top_zip.read('top/two/four.txt')) 46 self.assertEqual('three.txt contents', two_zip.read('two/three.txt')) 47 self.assertEqual('four.txt contents', two_zip.read('two/four.txt'))
|
/external/chromium_org/chrome/test/chromedriver/ |
util_unittest.cc | 20 // file with the contents "COW\n". 28 std::string contents; local 29 ASSERT_TRUE(base::ReadFileToString(file, &contents)); 30 ASSERT_STREQ("COW\n", contents.c_str()); 38 // file with the contents "COW\n". 47 std::string contents; local 48 ASSERT_TRUE(base::ReadFileToString(file, &contents)); 49 ASSERT_STREQ("COW\n", contents.c_str());
|
/external/chromium_org/ppapi/proxy/ |
flash_font_file_resource.cc | 45 std::string* contents = GetFontTable(table); local 46 if (!contents) { 54 contents = AddFontTable(table, out_contents); 58 if (output && *output_length < contents->size()) 61 *output_length = static_cast<uint32_t>(contents->size()); 63 memcpy(output, contents->c_str(), *output_length); 75 const std::string& contents) { 76 linked_ptr<std::string> heap_string(new std::string(contents));
|
/external/chromium_org/ppapi/tests/ |
test_flash_file.cc | 36 bool WriteFile(PP_FileHandle file_handle, const std::string& contents) { 39 BOOL result = ::WriteFile(file_handle, contents.c_str(), contents.size(), 41 return result && bytes_written == static_cast<DWORD>(contents.size()); 45 bytes_written = write(file_handle, contents.c_str(), contents.size()); 47 return bytes_written == static_cast<ssize_t>(contents.size()); 51 bool ReadFile(PP_FileHandle file_handle, std::string* contents) { 55 contents->clear(); 63 contents->append(buffer, bytes_read) 135 std::string contents = "This is file."; local 158 std::string contents = "This is file."; local 190 std::string contents = "This is file."; local 239 std::string contents = "This is file."; local 278 std::string contents = "This is file."; local 312 std::string contents = "This is a temp file."; local 329 std::vector<FileModuleLocal::DirEntry> contents; local [all...] |
/external/chromium_org/tools/gyp/test/actions/src/subdir1/ |
make-prog1.py | 9 contents = r""" 18 open(sys.argv[1], 'w').write(contents)
|