/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | vtxfmt.c | 48 install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab, argument 52 _mesa_install_arrayelt_vtxfmt(tab, vfmt); 53 SET_Color3f(tab, vfmt->Color3f); 54 SET_Color3fv(tab, vfmt->Color3fv); 55 SET_Color4f(tab, vfmt->Color4f); 56 SET_Color4fv(tab, vfmt->Color4fv); 57 SET_EdgeFlag(tab, vfmt->EdgeFlag); 61 _mesa_install_eval_vtxfmt(tab, vfmt); 65 SET_FogCoordfEXT(tab, vfmt->FogCoordfEXT); 66 SET_FogCoordfvEXT(tab, vfm [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | vtxfmt.c | 48 install_vtxfmt(struct gl_context *ctx, struct _glapi_table *tab, argument 52 _mesa_install_arrayelt_vtxfmt(tab, vfmt); 53 SET_Color3f(tab, vfmt->Color3f); 54 SET_Color3fv(tab, vfmt->Color3fv); 55 SET_Color4f(tab, vfmt->Color4f); 56 SET_Color4fv(tab, vfmt->Color4fv); 57 SET_EdgeFlag(tab, vfmt->EdgeFlag); 61 _mesa_install_eval_vtxfmt(tab, vfmt); 65 SET_FogCoordfEXT(tab, vfmt->FogCoordfEXT); 66 SET_FogCoordfvEXT(tab, vfm [all...] |
/external/chromium_org/tools/perf/metrics/ |
H A D | __init__.py | 26 def Start(self, page, tab): 30 def Stop(self, page, tab): 34 def AddResults(self, tab, results):
|
/external/chromium_org/tools/telemetry/telemetry/page/actions/ |
H A D | media_action.py | 15 def WillRunAction(self, tab): 17 self.LoadJS(tab, 'media_action.js') 19 def RunAction(self, tab): 20 super(MediaAction, self).RunAction(tab) 22 def LoadJS(self, tab, js_file_name): 23 """Loads and executes a JS file in the tab.""" 26 tab.ExecuteJavaScript(js) 28 def WaitForEvent(self, tab, selector, event_name, timeout_in_seconds): 32 tab: The tab t [all...] |
H A D | page_action.py | 20 def WillRunAction(self, tab): 25 def RunAction(self, tab): 28 def CleanUp(self, tab): 32 tab, callback_js, selector=None, text=None, element_function=None, 44 tab: A telemetry.core.Tab object. 107 tab.WaitForJavaScriptExpression(code, timeout_in_seconds) 110 return tab.EvaluateJavaScript(code) 115 def GetGestureSourceTypeFromOptions(tab): 116 gesture_source_type = tab.browser.synthetic_gesture_source_type 120 def IsGestureSourceTypeSupported(tab, gesture_source_typ [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ |
H A D | EmptyTabObserver.java | 15 public void onDestroyed(Tab tab) { } argument 18 public void onContentChanged(Tab tab) { } argument 21 public void onLoadUrl(Tab tab, String url, int loadType) { } argument 24 public void onFaviconUpdated(Tab tab) { } argument 27 public void onTitleUpdated(Tab tab) { } argument 30 public void onUrlUpdated(Tab tab) { } argument 33 public void onSSLStateUpdated(Tab tab) { } argument 36 public void onWebContentsSwapped(Tab tab, boolean didStartLoad, boolean didFinishLoad) { } argument 39 public void onContextMenuShown(Tab tab, ContextMenu menu) { } argument 45 public void onLoadStarted(Tab tab) { } argument 48 onLoadStopped(Tab tab) argument 51 onLoadProgressChanged(Tab tab, int progress) argument 54 onUpdateUrl(Tab tab, String url) argument 57 onToggleFullscreenMode(Tab tab, boolean enable) argument 60 onDidFailLoad(Tab tab, boolean isProvisionalLoad, boolean isMainFrame, int errorCode, String description, String failingUrl) argument 64 onDidStartProvisionalLoadForFrame(Tab tab, long frameId, long parentFrameId, boolean isMainFrame, String validatedUrl, boolean isErrorPage, boolean isIframeSrcdoc) argument 69 onDidNavigateMainFrame(Tab tab, String url, String baseUrl, boolean isNavigationToDifferentPage, boolean isFragmentNavigation, int statusCode) argument [all...] |
H A D | TabObserver.java | 18 * @param tab The notifying {@link Tab}. 20 void onDestroyed(Tab tab); argument 23 * Called when the tab content changes (to/from native pages or swapping native WebContents). 24 * @param tab The notifying {@link Tab}. 26 void onContentChanged(Tab tab); argument 30 * @param tab The notifying {@link Tab}. 39 void onLoadUrl(Tab tab, String url, int loadType); argument 43 * @param tab The notifying {@link Tab}. 45 void onFaviconUpdated(Tab tab); argument 49 * @param tab Th 51 onTitleUpdated(Tab tab) argument 57 onUrlUpdated(Tab tab) argument 63 onSSLStateUpdated(Tab tab) argument 72 onWebContentsSwapped(Tab tab, boolean didStartLoad, boolean didFinishLoad) argument 79 onContextMenuShown(Tab tab, ContextMenu menu) argument 92 onLoadStarted(Tab tab) argument 98 onLoadStopped(Tab tab) argument 105 onLoadProgressChanged(Tab tab, int progress) argument 112 onUpdateUrl(Tab tab, String url) argument 119 onToggleFullscreenMode(Tab tab, boolean enable) argument 132 onDidFailLoad( Tab tab, boolean isProvisionalLoad, boolean isMainFrame, int errorCode, String description, String failingUrl) argument 147 onDidStartProvisionalLoadForFrame( Tab tab, long frameId, long parentFrameId, boolean isMainFrame, String validatedUrl, boolean isErrorPage, boolean isIframeSrcdoc) argument 163 onDidNavigateMainFrame(Tab tab, String url, String baseUrl, boolean isNavigationToDifferentPage, boolean isFragmentNavigation, int statusCode) argument [all...] |
/external/chromium_org/chrome/browser/sessions/ |
H A D | session_types_unittest.cc | 43 SessionTab tab; local 44 tab.window_id.set_id(100); 45 tab.tab_id.set_id(100); 46 tab.tab_visual_index = 100; 47 tab.current_navigation_index = 1000; 48 tab.pinned = false; 49 tab.extension_app_id = "fake"; 50 tab.user_agent_override = "fake"; 51 tab.timestamp = base::Time::FromInternalValue(100); 52 tab 78 SessionTab tab; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/api/browserAction/make_page_red/ |
H A D | background.js | 6 chrome.browserAction.onClicked.addListener(function(tab) { 8 console.log('Turning ' + tab.url + ' red!');
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/browserAction/print/ |
H A D | background.js | 6 chrome.browserAction.onClicked.addListener(function(tab) { 8 chrome.tabs.update(tab.id, {url: action_url});
|
/external/chromium_org/chrome/browser/resources/options/ |
H A D | options_page.js | 25 * Shows the tab contents for the given navigation tab. 26 * @param {Node} tab The tab that the user clicked. 28 showTab: function(tab) { 29 // Search parents until we find a tab, or the nav bar itself. This allows 31 while (tab && tab.classList && 32 !tab.classList.contains('subpages-nav-tabs') && 33 !tab [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | tab_unittest.cc | 5 #include "chrome/browser/ui/views/tabs/tab.h" 33 virtual void SelectTab(Tab* tab) OVERRIDE {} 34 virtual void ExtendSelectionTo(Tab* tab) OVERRIDE {} 35 virtual void ToggleSelected(Tab* tab) OVERRIDE {} 36 virtual void AddSelectionFromAnchorTo(Tab* tab) OVERRIDE {} 37 virtual void CloseTab(Tab* tab, CloseTabSource source) OVERRIDE {} 38 virtual void ToggleTabAudioMute(Tab* tab) OVERRIDE {} 39 virtual void ShowContextMenuForTab(Tab* tab, 42 virtual bool IsActiveTab(const Tab* tab) const OVERRIDE { 45 virtual bool IsTabSelected(const Tab* tab) cons 99 CheckForExpectedLayoutAndVisibilityOfElements(const Tab& tab) argument 210 GetMediaIndicatorBounds(const Tab& tab) argument [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
H A D | pinned_tab_test_utils.cc | 9 std::string TabToString(const StartupTab& tab) { argument 10 return tab.url.spec() + ":" + (tab.is_app ? "app" : "") + ":" + 11 (tab.is_pinned ? "pinned" : "") + ":" + tab.app_id;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/processes/show_tabs/ |
H A D | popup.js | 9 var current = currentWindow.tabs.filter(function(tab) { 10 return tab.active; 14 var outputDiv = document.getElementById("tab-list"); 32 var tab = windowList[i].tabs[j]; 33 if (tab.id != selectedTab.id) { 34 tabs.push(tab); 39 // Display tab in list if it is in the same process 40 tabs.forEach(function(tab) { 41 chrome.processes.getProcessIdForTab(tab.id, 44 displayTabInfo(tab [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/printing/ |
H A D | TabPrinter.java | 25 public TabPrinter(Tab tab) { argument 26 mTab = new WeakReference<Tab>(tab); 35 Tab tab = mTab.get(); 36 return tab != null && tab.print(); 41 Tab tab = mTab.get(); 42 if (tab == null) return sDefaultTitle; 44 String title = tab.getTitle(); 47 String url = tab.getUrl();
|
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/tabmodel/ |
H A D | EmptyTabModelObserver.java | 17 public void didSelectTab(Tab tab, TabSelectionType type, int lastId) { argument 21 public void willCloseTab(Tab tab, boolean animate) { argument 25 public void didCloseTab(Tab tab) { argument 29 public void willAddTab(Tab tab, TabLaunchType type) { argument 33 public void didAddTab(Tab tab, TabLaunchType type) { argument 37 public void didMoveTab(Tab tab, int newIndex, int curIndex) { argument 41 public void tabPendingClosure(Tab tab) { argument 45 public void tabClosureUndone(Tab tab) { argument 49 public void tabClosureCommitted(Tab tab) { argument
|
H A D | TabModelObserver.java | 17 * Called when a tab is selected. 19 * @param tab The newly selected tab. 21 * @param lastId The ID of the last selected tab, or {@link Tab#INVALID_TAB_ID} if no tab was 24 void didSelectTab(Tab tab, TabSelectionType type, int lastId); argument 27 * Called when a tab starts closing. 29 * @param tab The tab to close. 32 void willCloseTab(Tab tab, boolea argument 39 didCloseTab(Tab tab) argument 47 willAddTab(Tab tab, TabLaunchType type) argument 55 didAddTab(Tab tab, TabLaunchType type) argument 64 didMoveTab(Tab tab, int newIndex, int curIndex) argument 72 tabPendingClosure(Tab tab) argument 79 tabClosureUndone(Tab tab) argument 86 tabClosureCommitted(Tab tab) argument [all...] |
/external/chromium_org/tools/perf/measurements/ |
H A D | repaint.py | 35 def WillRunActions(self, page, tab): 36 tab.WaitForDocumentReadyStateToBeComplete() 38 self._smoothness_controller.SetUp(page, tab) 39 self._smoothness_controller.Start(tab) 41 tab.ExecuteJavaScript( 52 tab.ExecuteJavaScript(""" 62 self._micro_benchmark_id = tab.EvaluateJavaScript( 68 def DidRunActions(self, page, tab): 69 tab.ExecuteJavaScript(""" 76 self._smoothness_controller.Stop(tab) [all...] |
H A D | smoothness.py | 26 def WillNavigateToPage(self, page, tab): 27 self._power_metric.Start(page, tab) 29 self._smoothness_controller.SetUp(page, tab) 31 def WillRunActions(self, page, tab): 32 self._smoothness_controller.Start(tab) 34 def DidRunActions(self, page, tab): 35 self._power_metric.Stop(page, tab) 36 self._smoothness_controller.Stop(tab) 38 def ValidateAndMeasurePage(self, page, tab, results): 39 self._power_metric.AddResults(tab, result [all...] |
H A D | media.py | 37 def DidNavigateToPage(self, page, tab): 39 self._media_metric = media.MediaMetric(tab) 40 self._media_metric.Start(page, tab) 47 self._cpu_metric = cpu.CpuMetric(tab.browser) 48 self._cpu_metric.Start(page, tab) 49 self._memory_metric = system_memory.SystemMemoryMetric(tab.browser) 50 self._memory_metric.Start(page, tab) 51 self._power_metric.Start(page, tab) 53 def ValidateAndMeasurePage(self, page, tab, results): 55 self._media_metric.Stop(page, tab) [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/howto/tab_shortcuts/ |
H A D | tab_shortcuts.js | 11 // tab (given to us in the callback function). 12 chrome.tabs.update({}, function(tab) { 13 if (command == 'toggle-pin-tab') 14 chrome.tabs.update({pinned: !tab.pinned}); 15 else if (command == 'duplicate-tab') 16 chrome.tabs.duplicate(tab.id);
|
/external/chromium_org/chrome/browser/media/ |
H A D | chrome_webrtc_webcam_browsertest.cc | 56 std::string GetUserMediaAndGetStreamSize(content::WebContents* tab, argument 58 GetUserMediaWithSpecificConstraintsAndAccept(tab, constraints); 60 StartDetectingVideo(tab, "local-view"); 61 WaitForVideoToPlay(tab); 62 std::string actual_stream_size = GetStreamSize(tab, "local-view"); 63 CloseLastLocalStream(tab); 81 content::WebContents* tab = local 84 if (!HasWebcamAvailableOnSystem(tab)) { 92 GetUserMediaAndGetStreamSize(tab, 97 GetUserMediaAndGetStreamSize(tab, kAudioVideoCallConstraintsVG [all...] |
/external/chromium_org/chrome/browser/sync/sessions/ |
H A D | sessions_util.cc | 17 bool ShouldSyncTab(const SyncedTabDelegate& tab) { argument 19 tab.GetWindowId()) == NULL) { 23 // Does the tab have a valid NavigationEntry? 24 if (tab.ProfileIsSupervised() && tab.GetBlockedNavigations()->size() > 0) 27 int entry_count = tab.GetEntryCount(); 31 int pending_index = tab.GetPendingEntryIndex(); 35 tab.GetPendingEntry() : tab.GetEntryAtIndex(i);
|
/external/chromium_org/extensions/browser/ |
H A D | view_type_utils.h | 17 // GetViewType handles a NULL |tab| for convenience by returning 19 ViewType GetViewType(content::WebContents* tab); 20 void SetViewType(content::WebContents* tab, ViewType type);
|
H A D | view_type_utils.cc | 30 ViewType GetViewType(WebContents* tab) { argument 31 if (!tab) 35 tab->GetUserData(&kViewTypeUserDataKey)); 40 void SetViewType(WebContents* tab, ViewType type) { argument 41 tab->SetUserData(&kViewTypeUserDataKey, new ViewTypeUserData(type));
|