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

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

Issue 428633004: Webkit setting for embedders that do not support fullscreen. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const 687 GraphicsLayerFactory* ChromeClientImpl::graphicsLayerFactory() const
688 { 688 {
689 return m_webView->graphicsLayerFactory(); 689 return m_webView->graphicsLayerFactory();
690 } 690 }
691 691
692 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer) 692 void ChromeClientImpl::attachRootGraphicsLayer(GraphicsLayer* rootLayer)
693 { 693 {
694 m_webView->setRootGraphicsLayer(rootLayer); 694 m_webView->setRootGraphicsLayer(rootLayer);
695 } 695 }
696 696
697 bool ChromeClientImpl::fullscreenEnabled(Element* element)
698 {
699 return m_webView->fullscreenEnabled(element);
700 }
701
697 void ChromeClientImpl::enterFullScreenForElement(Element* element) 702 void ChromeClientImpl::enterFullScreenForElement(Element* element)
698 { 703 {
699 m_webView->enterFullScreenForElement(element); 704 m_webView->enterFullScreenForElement(element);
700 } 705 }
701 706
702 void ChromeClientImpl::exitFullScreenForElement(Element* element) 707 void ChromeClientImpl::exitFullScreenForElement(Element* element)
703 { 708 {
704 m_webView->exitFullScreenForElement(element); 709 m_webView->exitFullScreenForElement(element);
705 } 710 }
706 711
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 m_webView->autofillClient()->textFieldDidEndEditing(WebInputElement(&inp utElement)); 881 m_webView->autofillClient()->textFieldDidEndEditing(WebInputElement(&inp utElement));
877 } 882 }
878 883
879 void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input) 884 void ChromeClientImpl::openTextDataListChooser(HTMLInputElement& input)
880 { 885 {
881 if (m_webView->autofillClient()) 886 if (m_webView->autofillClient())
882 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in put)); 887 m_webView->autofillClient()->openTextDataListChooser(WebInputElement(&in put));
883 } 888 }
884 889
885 } // namespace blink 890 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698