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

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

Issue 352173002: Expose public interface for composited selection bounds (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 virtual void setTouchAction(WebCore::TouchAction) OVERRIDE; 141 virtual void setTouchAction(WebCore::TouchAction) OVERRIDE;
142 142
143 virtual WebCore::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE ; 143 virtual WebCore::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(WebCore::GraphicsLayer*) OVERRIDE; 146 virtual void attachRootGraphicsLayer(WebCore::GraphicsLayer*) OVERRIDE;
147 147
148 virtual void enterFullScreenForElement(WebCore::Element*) OVERRIDE; 148 virtual void enterFullScreenForElement(WebCore::Element*) OVERRIDE;
149 virtual void exitFullScreenForElement(WebCore::Element*) OVERRIDE; 149 virtual void exitFullScreenForElement(WebCore::Element*) OVERRIDE;
150 150
151 virtual void clearCompositedSelectionBounds() OVERRIDE;
152 virtual void updateCompositedSelectionBounds(const WebCore::CompositedSelect ionBound& anchor, const WebCore::CompositedSelectionBound& focus) OVERRIDE;
153
151 // ChromeClient methods: 154 // ChromeClient methods:
152 virtual void postAccessibilityNotification(WebCore::AXObject*, WebCore::AXOb jectCache::AXNotification) OVERRIDE; 155 virtual void postAccessibilityNotification(WebCore::AXObject*, WebCore::AXOb jectCache::AXNotification) OVERRIDE;
153 virtual String acceptLanguages() OVERRIDE; 156 virtual String acceptLanguages() OVERRIDE;
154 157
155 // ChromeClientImpl: 158 // ChromeClientImpl:
156 void setCursorForPlugin(const WebCursorInfo&); 159 void setCursorForPlugin(const WebCursorInfo&);
157 void setNewWindowNavigationPolicy(WebNavigationPolicy); 160 void setNewWindowNavigationPolicy(WebNavigationPolicy);
158 161
159 virtual bool hasOpenedPopup() const OVERRIDE; 162 virtual bool hasOpenedPopup() const OVERRIDE;
160 virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::LocalFrame&, WebCore::PopupMenuClient*) const OVERRIDE; 163 virtual PassRefPtr<WebCore::PopupMenu> createPopupMenu(WebCore::LocalFrame&, WebCore::PopupMenuClient*) const OVERRIDE;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 bool m_resizable; 199 bool m_resizable;
197 200
198 WebCore::PagePopupDriver* m_pagePopupDriver; 201 WebCore::PagePopupDriver* m_pagePopupDriver;
199 }; 202 };
200 203
201 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 204 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
202 205
203 } // namespace blink 206 } // namespace blink
204 207
205 #endif 208 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698