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

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

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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 virtual void enumerateChosenDirectory(blink::FileChooser*) OVERRIDE; 138 virtual void enumerateChosenDirectory(blink::FileChooser*) OVERRIDE;
139 virtual void setCursor(const blink::Cursor&) OVERRIDE; 139 virtual void setCursor(const blink::Cursor&) OVERRIDE;
140 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE; 140 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE;
141 virtual void setTouchAction(blink::TouchAction) OVERRIDE; 141 virtual void setTouchAction(blink::TouchAction) OVERRIDE;
142 142
143 virtual blink::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE; 143 virtual blink::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE;
144 144
145 // Pass 0 as the GraphicsLayer to detatch the root layer. 145 // Pass 0 as the GraphicsLayer to detatch the root layer.
146 virtual void attachRootGraphicsLayer(blink::GraphicsLayer*) OVERRIDE; 146 virtual void attachRootGraphicsLayer(blink::GraphicsLayer*) OVERRIDE;
147 147
148 virtual bool fullscreenEnabled(blink::Element*) OVERRIDE;
148 virtual void enterFullScreenForElement(blink::Element*) OVERRIDE; 149 virtual void enterFullScreenForElement(blink::Element*) OVERRIDE;
149 virtual void exitFullScreenForElement(blink::Element*) OVERRIDE; 150 virtual void exitFullScreenForElement(blink::Element*) OVERRIDE;
150 151
151 virtual void clearCompositedSelectionBounds() OVERRIDE; 152 virtual void clearCompositedSelectionBounds() OVERRIDE;
152 153
153 // ChromeClient methods: 154 // ChromeClient methods:
154 virtual void postAccessibilityNotification(blink::AXObject*, blink::AXObject Cache::AXNotification) OVERRIDE; 155 virtual void postAccessibilityNotification(blink::AXObject*, blink::AXObject Cache::AXNotification) OVERRIDE;
155 virtual String acceptLanguages() OVERRIDE; 156 virtual String acceptLanguages() OVERRIDE;
156 157
157 // ChromeClientImpl: 158 // ChromeClientImpl:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 bool m_resizable; 199 bool m_resizable;
199 200
200 blink::PagePopupDriver* m_pagePopupDriver; 201 blink::PagePopupDriver* m_pagePopupDriver;
201 }; 202 };
202 203
203 DEFINE_TYPE_CASTS(ChromeClientImpl, blink::ChromeClient, client, client->isChrom eClientImpl(), client.isChromeClientImpl()); 204 DEFINE_TYPE_CASTS(ChromeClientImpl, blink::ChromeClient, client, client->isChrom eClientImpl(), client.isChromeClientImpl());
204 205
205 } // namespace blink 206 } // namespace blink
206 207
207 #endif 208 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698