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

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

Issue 23819019: Refactor fixed layout mode (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: git rebase Created 7 years, 2 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 return; 594 return;
595 WebTextDirection textDirection = (dir == RTL) ? 595 WebTextDirection textDirection = (dir == RTL) ?
596 WebTextDirectionRightToLeft : 596 WebTextDirectionRightToLeft :
597 WebTextDirectionLeftToRight; 597 WebTextDirectionLeftToRight;
598 m_webView->client()->setToolTipText( 598 m_webView->client()->setToolTipText(
599 tooltipText, textDirection); 599 tooltipText, textDirection);
600 } 600 }
601 601
602 void ChromeClientImpl::dispatchViewportPropertiesDidChange(const ViewportArgumen ts& arguments) const 602 void ChromeClientImpl::dispatchViewportPropertiesDidChange(const ViewportArgumen ts& arguments) const
603 { 603 {
604 m_webView->updatePageDefinedPageScaleConstraints(arguments); 604 m_webView->updatePageDefinedViewportConstraints(arguments);
605 } 605 }
606 606
607 void ChromeClientImpl::print(Frame* frame) 607 void ChromeClientImpl::print(Frame* frame)
608 { 608 {
609 if (m_webView->client()) 609 if (m_webView->client())
610 m_webView->client()->printPage(WebFrameImpl::fromFrame(frame)); 610 m_webView->client()->printPage(WebFrameImpl::fromFrame(frame));
611 } 611 }
612 612
613 PassOwnPtr<ColorChooser> ChromeClientImpl::createColorChooser(ColorChooserClient * chooserClient, const Color&) 613 PassOwnPtr<ColorChooser> ChromeClientImpl::createColorChooser(ColorChooserClient * chooserClient, const Color&)
614 { 614 {
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
1007 { 1007 {
1008 } 1008 }
1009 1009
1010 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title) 1010 void NavigatorContentUtilsClientImpl::registerProtocolHandler(const String& sche me, const String& baseURL, const String& url, const String& title)
1011 { 1011 {
1012 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title); 1012 m_webView->client()->registerProtocolHandler(scheme, baseURL, url, title);
1013 } 1013 }
1014 #endif 1014 #endif
1015 1015
1016 } // namespace WebKit 1016 } // namespace WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698