のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

2013-12-11から1日間の記事一覧

/frameworks/webview/chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.java

/frameworks/webview/chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.javaCross Reference: /frameworks/webview/chromium/java/com/android/webview/chromium/WebViewContentsClientAdapter.java /frameworks/webview/chromium/…

IPC_MESSAGE_HANDLER

+full:ipc_message_handler +path:"external chromium_org"

GetApplicationLocale=>GetDefaultLocale

230 std::string AwContentBrowserClient::GetApplicationLocale() { 231 return l10n_util::GetDefaultLocale(); 232 } 46 int AwBrowserMainParts::PreCreateThreads() { 47 browser_context_->InitializeBeforeThreadCreation(); 48 49 ui::ResourceBundl…

fontCache()->invalidate()

ここ、しかないな。 "fontcache - invalidate" 52 // static 53 void WebFontCache::clear() 54 { 55 fontCache()->invalidate(); 56 } 529 void FontCache::invalidate() 530 { 531 if (!gClients) { 532 ASSERT(!gFontPlatformDataCache); 533 return; 534…

SimpleFontData::create

303 PassRefPtr<SimpleFontData> FontCache::getFontResourceData(const FontPlatformData* platformData, ShouldRetain shouldRetain) 304 { 305 if (!platformData) 306 return 0; 307 308 #if !ASSERT_DISABLED 309 if (shouldRetain == DoNotRetain) 310 ASSERT(m_purgeP</simplefontdata>…

PassRefPtr

RefPtrとPassRefPtrの基礎

pruneTreeFontData

150 SimpleFontData::~SimpleFontData() 151 { 152 if (!m_fontData) 153 platformDestroy(); 154 155 if (isCustomFont()) 156 GlyphPageTreeNode::pruneTreeCustomFontData(this); 157 else 158 GlyphPageTreeNode::pruneTreeFontData(this); 159 }

4.2のとき

78 #if PLATFORM(ANDROID) 79 void GlyphPageTreeNode::resetRoots() 80 { 81 if (roots) { 82 HashMap<int, GlyphPageTreeNode*>::iterator end = roots->end(); <=endを設定 <==============================>型 83 for (HashMap<int, GlyphPageTreeNode*>::iterator it = roots->begin(); it != end; ++it)</int,></int,>…

generation

147 bool Font::operator==(const Font& other) const 148 { 149 // Our FontData don't have to be checked, since checking the font description will be fine. 150 // FIXME: This does not work if the font was made with the FontPlatformData constr…

FontCachePurgePreventer=>purgeInactiveFontDataIfNeeded

347 int Font::emphasisMarkAscent(const AtomicString& mark) const 348 { 349 FontCachePurgePreventer purgePreventer; <======= こんな感じで使われてる。 このオブジェクトが消えるとき、パージが動く。 350 351 GlyphData markGlyphData; 352 if (!get…

update

Searched font.updateアップデートでフォントデータのキャッシュから無効リストへ追加する 165 void Font::update(PassRefPtr<FontSelector> fontSelector) const 166 { 167 // FIXME: It is pretty crazy that we are willing to just poke into a RefPtr, but it ends up</fontselector>…