/external/chromium_org/chrome/common/extensions/docs/server2/ |
blob_reference_store.py | 10 class _Model(db.Model): 18 return _Model.gql('WHERE key_ = :1', self._MakeKey(namespace, key)).get() 24 _Model(key_=self._MakeKey(namespace, key), value=value).put()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
LayersPanel.js | 52 this._model = new WebInspector.LayerTreeModel(); 53 this._model.addEventListener(WebInspector.LayerTreeModel.Events.LayerTreeChanged, this._onLayerTreeUpdated, this); 57 this._layerTree = new WebInspector.LayerTree(this._model, this.sidebarTree); 64 this._layers3DView = new WebInspector.Layers3DView(this._model); 74 this._layerDetailsView = new WebInspector.LayerDetailsView(this._model); 76 this._paintProfilerView = new WebInspector.PaintProfilerView(this._model, this._layers3DView); 90 this._model.enable(); 95 this._model.disable(); 101 if (this._currentlySelectedLayer && !this._model.layerById(this._currentlySelectedLayer.id())) 103 if (this._currentlyHoveredLayer && !this._model.layerById(this._currentlyHoveredLayer.id()) [all...] |
TimelineOverviewPane.js | 45 this._model = model; 104 this._overviewCalculator.setWindow(this._model.minimumRecordTime(), this._model.maximumRecordTime()); 167 return this._windowStartTime || this._model.minimumRecordTime(); 172 return this._windowEndTime < Infinity ? this._windowEndTime : this._model.maximumRecordTime(); 211 this._overviewGrid.setResizeEnabled(this._model.records.length); 317 this._model = model; 332 var absoluteMin = this._model.minimumRecordTime(); 333 var timeSpan = this._model.maximumRecordTime() - absoluteMin; 346 var absoluteMin = this._model.minimumRecordTime() [all...] |
TimelineFrameController.js | 41 this._model = model; 44 this._model.addEventListener(WebInspector.TimelineModel.Events.RecordAdded, this._onRecordAdded, this); 45 this._model.addEventListener(WebInspector.TimelineModel.Events.RecordsCleared, this._onRecordsCleared, this); 136 frame.startTimeOffset = this._model.recordOffsetInSeconds(record); 145 this._model.removeEventListener(WebInspector.TimelineModel.Events.RecordAdded, this._onRecordAdded, this); 146 this._model.removeEventListener(WebInspector.TimelineModel.Events.RecordsCleared, this._onRecordsCleared, this);
|
LayerTree.js | 40 this._model = model; 45 this._model.addEventListener(WebInspector.LayerTreeModel.Events.LayerTreeChanged, this._update.bind(this)); 101 var parent = layer === this._model.contentRoot() ? this._treeOutline : this._treeOutline.getCachedTreeElement(layer.parent()); 116 if (this._model.contentRoot()) 117 this._model.forEachLayer(updateLayer.bind(this), this._model.contentRoot());
|
Database.js | 35 this._model = model; 186 this._model = model; 195 this._model._addDatabase(new WebInspector.Database( 196 this._model,
|
DOMStorage.js | 264 this._model = model; 274 this._model._domStorageItemsCleared(storageId); 283 this._model._domStorageItemRemoved(storageId, key); 293 this._model._domStorageItemAdded(storageId, key, value); 304 this._model._domStorageItemUpdated(storageId, key, oldValue, value);
|
Layers3DView.js | 42 this._model = model; 43 this._model.addEventListener(WebInspector.LayerTreeModel.Events.LayerTreeChanged, this._update, this); 44 this._model.addEventListener(WebInspector.LayerTreeModel.Events.LayerPainted, this._onLayerPainted, this); 157 var root = this._model.contentRoot(); 191 if (!this._model.contentRoot()) { 208 if (this._model.layerById(layerId)) 214 this._model.forEachLayer(updateLayer.bind(this), this._model.contentRoot()); 255 var isContentRoot = layer === this._model.contentRoot();
|
TimelineEventOverview.js | 67 var timeOffset = this._model.minimumRecordTime(); 68 var timeSpan = this._model.maximumRecordTime() - timeOffset; 101 WebInspector.TimelinePresentationModel.forAllRecords(this._model.records, appendRecord.bind(this));
|
TimelineMemoryOverview.js | 50 var records = this._model.records; 57 var minTime = this._model.minimumRecordTime(); 58 var maxTime = this._model.maximumRecordTime();
|
TimelineModel.js | 356 this._model = model; 392 this._model.reset(); 401 this._model.reset(); 406 this._model._addRecord(items[i]); 420 this._model = model; 438 this._model.reset(); 460 this._model.reset();
|
LayerDetailsView.js | 43 this._model = model; 44 this._model.addEventListener(WebInspector.LayerTreeModel.Events.LayerTreeChanged, this._onLayerTreeUpdated, this); 45 this._model.addEventListener(WebInspector.LayerTreeModel.Events.LayerPainted, this._onLayerPainted, this);
|
ApplicationCacheItemsView.js | 34 this._model = model; 64 var status = this._model.frameManifestStatus(frameId); 67 this.updateNetworkState(this._model.onLine); 151 this._model.requestApplicationCache(this._frameId, this._updateCallback.bind(this));
|
TimelinePanel.js | 57 this._model = new WebInspector.TimelineModel(); 58 this._calculator = new WebInspector.TimelineCalculator(this._model); 59 this._model.addEventListener(WebInspector.TimelineModel.Events.RecordAdded, this._onTimelineEventRecorded, this); 60 this._model.addEventListener(WebInspector.TimelineModel.Events.RecordsCleared, this._onRecordsCleared, this); 61 this._model.addEventListener(WebInspector.TimelineModel.Events.RecordingStarted, this._onRecordingStarted, this); 62 this._model.addEventListener(WebInspector.TimelineModel.Events.RecordingStopped, this._onRecordingStopped, this); 72 this._overviewPane = new WebInspector.TimelineOverviewPane(this._model); 137 this._memoryStatistics = new WebInspector.DOMCountersGraph(this, this._model); 369 this._model.saveToFile(); 389 this._model.loadFromFile(file, progressIndicator) [all...] |
ScriptSnippetModel.js | 609 this._model = model; 647 this._model._setScriptSnippetContent(path, newContent); 666 this._model.renameScriptSnippet(path, newName, callback); 677 var filePath = this._model.createScriptSnippet(content); 686 this._model.deleteScriptSnippet(path);
|
/external/chromium_org/tools/perf/metrics/ |
timeline.py | 28 self._model = None 31 self._model = None 43 self._model = trace_result.AsTimelineModel() 46 self._model = tab.timeline_model 50 return self._model.GetRendererProcessFromTab(tab) 52 return self._model.GetAllProcesses()[0] 64 assert self._model 134 for thread in self._model.GetAllThreads(): 160 time_as_percentage = (category_time / self._model.bounds.bounds) * 100 166 time_as_percentage = (category_time / self._model.bounds.bounds) * 10 [all...] |
/external/chromium_org/tools/telemetry/telemetry/core/timeline/ |
trace_event_importer.py | 54 self._model.metadata.append({ 84 return self._model.GetOrCreateProcess(pid) 118 self._model.import_errors.append('Expected counter ' + event['name'] + 143 self._model.import_errors.append( 157 self._model.import_errors.append( 161 self._model.import_errors.append( 170 self._model.import_errors.append( 197 self._model.import_errors.append( 247 self._model.import_errors.append('Unrecognized event phase: ' + 250 return self._model [all...] |
importer.py | 9 self._model = model
|
inspector_importer.py | 25 render_process = self._model.GetOrCreateProcess(0)
|
/external/chromium_org/third_party/WebKit/Tools/GardeningServer/scripts/ |
controllers.js | 140 this._model = model; 146 var expectedFailures = results.expectedFailuresByTest(this._model.resultsByBuilder); 164 results.expectedFailuresByTest(this._model.resultsByBuilder), 180 this._model = model; 222 this._resultsFilter(this._model.resultsByBuilder), 238 this._resultsFilter(this._model.resultsByBuilder),
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/models/ |
test_expectations.py | [all...] |
/external/chromium_org/tools/json_schema_compiler/ |
cpp_bundle_generator.py | 45 self._model = model 116 for namespace in self._model.namespaces.values(): 182 for namespace in self._bundle._model.namespaces.values(): 269 namespace = self._bundle._model.namespaces[api.get('namespace')] 284 namespace = self._bundle._model.namespaces[api.get('namespace')]
|
cpp_type_generator_test.py | 15 self._model = model 21 return self._model.namespaces[parts[0]]
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/xml/dom/ |
expatbuilder.py | 63 __slots__ = '_attr_info', '_model', 'tagName' 68 self._model = model 71 return self._attr_info, self._model, self.tagName 74 self._attr_info, self._model, self.tagName = state 90 if self._model: 91 type = self._model[0] 98 if self._model: 99 return self._model[0] == expat.model.XML_CTYPE_EMPTY 437 assert info._model is None 438 info._model = mode [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/xml/dom/ |
expatbuilder.py | 63 __slots__ = '_attr_info', '_model', 'tagName' 68 self._model = model 71 return self._attr_info, self._model, self.tagName 74 self._attr_info, self._model, self.tagName = state 90 if self._model: 91 type = self._model[0] 98 if self._model: 99 return self._model[0] == expat.model.XML_CTYPE_EMPTY 437 assert info._model is None 438 info._model = mode [all...] |