Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(423)

Side by Side Diff: Source/web/FrameLoaderClientImpl.cpp

Issue 23190034: Remove code related to title directionality, we never used it (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 if (m_webFrame->client()) 364 if (m_webFrame->client())
365 m_webFrame->client()->willClose(m_webFrame); 365 m_webFrame->client()->willClose(m_webFrame);
366 } 366 }
367 367
368 void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad() 368 void FrameLoaderClientImpl::dispatchDidStartProvisionalLoad()
369 { 369 {
370 if (m_webFrame->client()) 370 if (m_webFrame->client())
371 m_webFrame->client()->didStartProvisionalLoad(m_webFrame); 371 m_webFrame->client()->didStartProvisionalLoad(m_webFrame);
372 } 372 }
373 373
374 void FrameLoaderClientImpl::dispatchDidReceiveTitle(const StringWithDirection& t itle) 374 void FrameLoaderClientImpl::dispatchDidReceiveTitle(const String& title)
375 { 375 {
376 if (m_webFrame->client()) 376 if (m_webFrame->client())
377 m_webFrame->client()->didReceiveTitle(m_webFrame, title.string(), title. direction() == LTR ? WebTextDirectionLeftToRight : WebTextDirectionRightToLeft); 377 m_webFrame->client()->didReceiveTitle(m_webFrame, title, WebTextDirectio nLeftToRight);
378 } 378 }
379 379
380 void FrameLoaderClientImpl::dispatchDidChangeIcons(WebCore::IconType type) 380 void FrameLoaderClientImpl::dispatchDidChangeIcons(WebCore::IconType type)
381 { 381 {
382 if (m_webFrame->client()) 382 if (m_webFrame->client())
383 m_webFrame->client()->didChangeIcon(m_webFrame, static_cast<WebIconURL:: Type>(type)); 383 m_webFrame->client()->didChangeIcon(m_webFrame, static_cast<WebIconURL:: Type>(type));
384 } 384 }
385 385
386 void FrameLoaderClientImpl::dispatchDidCommitLoad() 386 void FrameLoaderClientImpl::dispatchDidCommitLoad()
387 { 387 {
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte xtLostReason); 773 m_webFrame->client()->didLoseWebGLContext(m_webFrame, arbRobustnessConte xtLostReason);
774 } 774 }
775 775
776 void FrameLoaderClientImpl::dispatchWillInsertBody() 776 void FrameLoaderClientImpl::dispatchWillInsertBody()
777 { 777 {
778 if (m_webFrame->client()) 778 if (m_webFrame->client())
779 m_webFrame->client()->willInsertBody(m_webFrame); 779 m_webFrame->client()->willInsertBody(m_webFrame);
780 } 780 }
781 781
782 } // namespace WebKit 782 } // namespace WebKit
OLDNEW
« no previous file with comments | « Source/web/FrameLoaderClientImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698