Searched refs:contents (Results 101 - 125 of 1260) sorted by relevance

1234567891011>>

/external/chromium_org/chrome/browser/ui/
H A Dbrowser_tab_strip_model_delegate.cc69 // the first web contents to be marked as active.
86 content::WebContents* contents) {
87 TabHelpers::AttachTabHelpers(contents);
105 content::WebContents* contents) {
117 contents,
118 browser_->tab_strip_model()->GetIndexOfWebContents(contents));
123 content::WebContents* contents) {
126 return chrome::FastUnloadController::RunUnloadEventsHelper(contents);
128 return chrome::UnloadController::RunUnloadEventsHelper(contents);
132 content::WebContents* contents) {
85 WillAddWebContents( content::WebContents* contents) argument
104 CreateHistoricalTab( content::WebContents* contents) argument
122 RunUnloadListenerBeforeClosing( content::WebContents* contents) argument
131 ShouldRunUnloadListenerBeforeClosing( content::WebContents* contents) argument
[all...]
H A Dunload_controller.h33 // Returns true if |contents| can be cleanly closed. When |browser_| is being
34 // closed, this function will return false to indicate |contents| should not
37 bool CanCloseContents(content::WebContents* contents);
39 // Returns true if we need to run unload events for the |contents|.
40 static bool ShouldRunUnloadEventsHelper(content::WebContents* contents);
43 // Returns true if |contents| beforeunload listeners were invoked.
44 static bool RunUnloadEventsHelper(content::WebContents* contents);
46 // Called when a BeforeUnload handler is fired for |contents|. |proceed|
53 bool BeforeUnloadFired(content::WebContents* contents, bool proceed);
94 virtual void TabInsertedAt(content::WebContents* contents,
[all...]
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
H A Dbc-reserve.c45 static void bc_reserve_destroy(void *contents);
46 static void bc_reserve_print(const void *contents, FILE *f, int indent_level);
70 bc_reserve_destroy(void *contents) argument
72 bytecode_reserve *reserve = (bytecode_reserve *)contents;
74 yasm_xfree(contents);
78 bc_reserve_print(const void *contents, FILE *f, int indent_level) argument
80 const bytecode_reserve *reserve = (const bytecode_reserve *)contents;
90 bytecode_reserve *reserve = (bytecode_reserve *)bc->contents;
103 bytecode_reserve *reserve = (bytecode_reserve *)bc->contents;
111 bytecode_reserve *reserve = (bytecode_reserve *)bc->contents;
[all...]
H A Dbc-org.c46 static void bc_org_destroy(void *contents);
47 static void bc_org_print(const void *contents, FILE *f, int indent_level);
72 bc_org_destroy(void *contents) argument
74 yasm_xfree(contents);
78 bc_org_print(const void *contents, FILE *f, int indent_level) argument
80 const bytecode_org *org = (const bytecode_org *)contents;
94 bytecode_org *org = (bytecode_org *)bc->contents;
108 bytecode_org *org = (bytecode_org *)bc->contents;
128 bytecode_org *org = (bytecode_org *)bc->contents;
/external/chromium_org/chrome/browser/ui/webui/
H A Dmojo_web_ui_controller.cc14 MojoWebUIControllerBase::MojoWebUIControllerBase(content::WebUI* contents) argument
15 : WebUIController(contents), mojo_data_source_(NULL) {
/external/chromium_org/chrome/test/ispy/common/
H A Dcloud_bucket.py16 def UploadFile(self, path, contents, content_type):
21 contents: the contents of the file to be uploaded.
33 String contents of the file downloaded.
40 def UpdateFile(self, path, contents):
45 contents: the contents of the file to be updated.
/external/chromium_org/tools/gyp/test/standalone/
H A Dgyptest-standalone.py27 contents = open(file).read() variable
28 if 'standalone.gyp' in contents:
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dxyarray.h9 char contents[]; member in struct:xyarray
17 return &xy->contents[x * xy->row_size + y * xy->entry_size];
/external/chromium_org/chrome/browser/resources/inline_login/
H A Dinline_login.css8 #contents,
33 #contents.loading #signin-frame,
34 #contents:not(.loading) #spinner-container {
/external/chromium_org/chrome/test/chromedriver/
H A Dutil_unittest.cc20 // 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/chrome/browser/extensions/api/tabs/
H A Dtabs_event_router.h44 virtual void TabInsertedAt(content::WebContents* contents, int index,
47 content::WebContents* contents,
49 virtual void TabDetachedAt(content::WebContents* contents,
58 virtual void TabMoved(content::WebContents* contents,
61 virtual void TabChangedAt(content::WebContents* contents,
68 virtual void TabPinnedStateChanged(content::WebContents* contents,
82 void TabCreatedAt(content::WebContents* contents, int index, bool active);
86 void TabUpdated(content::WebContents* contents, bool did_navigate);
89 void FaviconUrlUpdated(content::WebContents* contents);
109 // Packages |changed_properties| as a tab updated event for the tab |contents|
[all...]
/external/chromium_org/chrome/common/extensions/docs/static/js/
H A Dtabs.js40 contents = tabs.getElementsByTagName('content'),
50 if (contents.length > i)
51 contents[i].classList.remove('unselected');
54 if (contents.length > i)
55 contents[i].classList.add('unselected');
66 var contents = tab.getElementsByTagName('content');
69 if (headers.length==0 || contents.length==0)
78 contents[j].classList.remove("unselected");
82 contents[j].classList.add("unselected");
91 contents[
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/
H A Dadd-include107 my $contents = $beforeIncludes;
108 $contents .= "\n\n#include \"config.h\"\n";
109 $contents .= "\n#if $entireFileCondition\n" if $entireFileCondition ne "";
110 $contents .= "#include \"$base.h\"\n\n";
112 $contents .= "#if $condition\n" unless $condition eq "";
113 $contents .= includesParagraph($includes{$condition});
114 $contents .= "#endif\n" unless $condition eq "";
115 $contents .= "\n";
117 $contents .= $afterIncludes;
120 print OUTPUT $contents;
[all...]
/external/srec/shared/src/
H A DInt8ArrayListImpl.c48 impl->contents = MALLOC((INITIAL_SIZE + 1) * sizeof(asr_int8_t), MTAG);
49 if (impl->contents == NULL)
69 impl->contents = value;
82 asr_int8_t* temp = REALLOC(impl->contents, (impl->actualSize * 2 + 1) * sizeof(asr_int8_t));
85 impl->contents = temp;
88 impl->contents[impl->virtualSize] = element;
96 asr_int8_t* contents = impl->contents; /* cache pointer */ local
102 if (contents[i] == element)
110 contents[
136 asr_int8_t* contents = impl->contents; /* cache value */ local
[all...]
/external/chromium_org/chrome/browser/ui/search/
H A Dinstant_controller.cc41 const content::WebContents* contents) {
42 return page && (page->web_contents() == contents);
45 // Adds a transient NavigationEntry to the supplied |contents|'s
49 void EnsureSearchTermsAreSet(content::WebContents* contents, argument
51 content::NavigationController* controller = &contents->GetController();
55 if (chrome::GetSearchTerms(contents) == search_terms ||
66 contents->GetBrowserContext());
70 SearchTabHelper::FromWebContents(contents)->NavigationEntryUpdated();
111 void InstantController::TabDeactivated(content::WebContents* contents) { argument
114 if (chrome::IsInstantNTP(contents))
40 IsContentsFrom(const InstantPage* page, const content::WebContents* contents) argument
151 InstantSupportDetermined( const content::WebContents* contents, bool supports_instant) argument
165 InstantPageAboutToNavigateMainFrame( const content::WebContents* contents, const GURL& url) argument
[all...]
H A Dsearch_ipc_router_unittest.cc137 content::WebContents* contents = web_contents(); local
138 ASSERT_NE(static_cast<content::WebContents*>(NULL), contents); local
139 SearchTabHelper* search_tab_helper = GetSearchTabHelper(contents);
170 content::WebContents* contents = web_contents(); local
171 EXPECT_NE(static_cast<content::WebContents*>(NULL), contents); local
172 SearchTabHelper* search_tab_helper = GetSearchTabHelper(contents);
193 bool IsActiveTab(content::WebContents* contents) { argument
194 return GetSearchTabHelper(contents)->ipc_router().is_active_tab_;
208 content::WebContents* contents = web_contents(); local
209 bool is_active_tab = IsActiveTab(contents);
230 content::WebContents* contents = web_contents(); local
245 content::WebContents* contents = web_contents(); local
258 content::WebContents* contents = web_contents(); local
277 content::WebContents* contents = web_contents(); local
292 content::WebContents* contents = web_contents(); local
316 content::WebContents* contents = web_contents(); local
337 content::WebContents* contents = web_contents(); local
360 content::WebContents* contents = web_contents(); local
375 content::WebContents* contents = web_contents(); local
391 content::WebContents* contents = web_contents(); local
410 content::WebContents* contents = web_contents(); local
429 content::WebContents* contents = web_contents(); local
445 content::WebContents* contents = web_contents(); local
460 content::WebContents* contents = web_contents(); local
476 content::WebContents* contents = web_contents(); local
492 content::WebContents* contents = web_contents(); local
508 content::WebContents* contents = web_contents(); local
523 content::WebContents* contents = web_contents(); local
538 content::WebContents* contents = web_contents(); local
551 content::WebContents* contents = web_contents(); local
612 content::WebContents* contents = web_contents(); local
631 content::WebContents* contents = web_contents(); local
721 content::WebContents* contents = web_contents(); local
735 content::WebContents* contents = web_contents(); local
[all...]
/external/chromium_org/
H A DPRESUBMIT_test.py159 contents = ['#include "some/path/foo.h"',
161 mock_file = MockFile('some/path/foo.cc', contents)
163 mock_input_api, mock_file, range(1, len(contents) + 1))
168 contents = ['#include "some/other/path/foo.h"',
170 mock_file = MockFile('some/path/foo.cc', contents)
172 mock_input_api, mock_file, range(1, len(contents) + 1))
177 contents = ['#include "some/path/foo.h"',
179 mock_file = MockFile('some/path/foo_platform.cc', contents)
181 mock_input_api, mock_file, range(1, len(contents) + 1))
186 contents
[all...]
/external/chromium_org/cc/
H A DPRESUBMIT.py41 contents = input_api.ReadFile(f, 'rb')
43 if re.search(r"\bASSERT\(", contents):
46 if re.search(r"ASSERT_NOT_REACHED\(", contents):
71 contents = input_api.ReadFile(f, 'rb')
72 if re.search(r"using std::f?abs;", contents):
74 if re.search(r"\bfabsf?\(", contents):
86 if expression.search(contents):
122 contents = input_api.ReadFile(f, 'rb')
126 contents)
138 contents
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dlink_converter.py19 def _WriteFile(filename, contents):
21 f.write(contents)
57 contents = _ReadFile(filename)
58 contents = re.sub(regex,
60 contents)
61 contents = contents.replace('$(ref:extension.lastError)',
64 print contents
66 _WriteFile(filename, contents)
H A Dupdate_server.py44 contents = f.read() variable
45 if 'USERNAME = None' not in contents:
48 if 'PASSWORD = None' not in contents:
54 contents.replace('PASSWORD = None', 'PASSWORD = \'%s\'' % password)
59 f.write(contents)
/external/chromium_org/chrome/browser/ui/tabs/
H A Dtab_utils.h29 TAB_MEDIA_STATE_CAPTURING, // Tab contents being captured.
62 // Returns whether the given |contents| is playing audio. We might choose to
64 bool IsPlayingAudio(content::WebContents* contents);
69 TabMediaState GetTabMediaStateForContents(content::WebContents* contents);
88 // Returns the text to show in a tab's tooltip: The contents |title|, followed
97 // |contents|.
98 bool CanToggleAudioMute(content::WebContents* contents);
100 // Indicates/Sets whether all audio output from |contents| is muted.
101 bool IsTabAudioMuted(content::WebContents* contents);
102 void SetTabAudioMuted(content::WebContents* contents, boo
[all...]
/external/chromium_org/chrome/renderer/pepper/
H A Dpepper_flash_font_file_host.cc53 std::string contents; local
60 contents.resize(length);
62 reinterpret_cast<uint8_t*>(const_cast<char*>(contents.c_str()));
67 contents.clear();
73 context->reply_msg = PpapiPluginMsg_FlashFontFile_GetFontTableReply(contents);
/external/chromium_org/net/quic/
H A Dquic_packet_generator_test.cc77 // Simple struct for describing the contents of a packet.
164 void CheckPacketContains(const PacketContents& contents, argument
166 size_t num_retransmittable_frames = contents.num_connection_close_frames +
167 contents.num_goaway_frames + contents.num_rst_stream_frames +
168 contents.num_stream_frames;
169 size_t num_frames = contents.num_feedback_frames + contents.num_ack_frames +
170 contents.num_stop_waiting_frames + num_retransmittable_frames;
183 EXPECT_EQ(contents
279 PacketContents contents; local
312 PacketContents contents; local
354 PacketContents contents; local
367 PacketContents contents; local
403 PacketContents contents; local
439 PacketContents contents; local
552 PacketContents contents; local
640 PacketContents contents; local
703 PacketContents contents; local
739 PacketContents contents; local
772 PacketContents contents; local
795 PacketContents contents; local
844 PacketContents contents; local
898 PacketContents contents; local
946 PacketContents contents; local
[all...]
/external/chromium_org/styleguide/c++/chromium-cpp/
H A Dmain.py32 contents = memcache.get(url)
33 if not contents or self.request.get('bust'):
39 contents = base64.b64decode(result.content)
40 memcache.set(url, contents, time=5*60) # seconds
44 self.response.write(contents)
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/
H A Dshared_options_browsertest.cc117 content::WebContents* contents = local
121 CheckPreference(contents,
127 CheckBanner(contents, is_primary);
128 CheckSharedSections(contents, is_primary);
129 CheckAccountsOverlay(contents, is_owner);
148 void CheckPreference(content::WebContents* contents, argument
175 contents, js_expression, &success));
180 void CheckBooleanPreference(content::WebContents* contents, argument
185 CheckPreference(contents, pref_name, disabled, controlled_by);
192 contents, js_expressio
198 CheckBanner(content::WebContents* contents, bool is_primary) argument
210 CheckSharedSections(content::WebContents* contents, bool is_primary) argument
229 CheckAccountsOverlay(content::WebContents* contents, bool is_owner) argument
323 content::WebContents* contents = local
393 content::WebContents* contents = local
[all...]

Completed in 4007 milliseconds

1234567891011>>