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

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

Issue 929213004: Plumb selection bounds as a single unit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Refactor WebSelection to align with Frame/VisibleSelection Created 5 years, 9 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 virtual void setTouchAction(TouchAction) override; 131 virtual void setTouchAction(TouchAction) override;
132 132
133 virtual GraphicsLayerFactory* graphicsLayerFactory() const override; 133 virtual GraphicsLayerFactory* graphicsLayerFactory() const override;
134 134
135 // Pass 0 as the GraphicsLayer to detatch the root layer. 135 // Pass 0 as the GraphicsLayer to detatch the root layer.
136 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override; 136 virtual void attachRootGraphicsLayer(GraphicsLayer*, LocalFrame* localRoot) override;
137 137
138 virtual void enterFullScreenForElement(Element*) override; 138 virtual void enterFullScreenForElement(Element*) override;
139 virtual void exitFullScreenForElement(Element*) override; 139 virtual void exitFullScreenForElement(Element*) override;
140 140
141 virtual void clearCompositedSelectionBounds() override; 141 virtual void clearCompositedSelection() override;
142 virtual void updateCompositedSelectionBounds(const blink::CompositedSelectio nBound& anchor, const blink::CompositedSelectionBound& focus) override; 142 virtual void updateCompositedSelection(const blink::CompositedSelection&) ov erride;
143 143
144 // ChromeClient methods: 144 // ChromeClient methods:
145 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) override; 145 virtual void postAccessibilityNotification(AXObject*, AXObjectCache::AXNotif ication) override;
146 virtual String acceptLanguages() override; 146 virtual String acceptLanguages() override;
147 147
148 // ChromeClientImpl: 148 // ChromeClientImpl:
149 void setCursorForPlugin(const WebCursorInfo&); 149 void setCursorForPlugin(const WebCursorInfo&);
150 void setNewWindowNavigationPolicy(WebNavigationPolicy); 150 void setNewWindowNavigationPolicy(WebNavigationPolicy);
151 151
152 virtual bool hasOpenedPopup() const override; 152 virtual bool hasOpenedPopup() const override;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 WindowFeatures m_windowFeatures; 189 WindowFeatures m_windowFeatures;
190 190
191 PagePopupDriver* m_pagePopupDriver; 191 PagePopupDriver* m_pagePopupDriver;
192 }; 192 };
193 193
194 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 194 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
195 195
196 } // namespace blink 196 } // namespace blink
197 197
198 #endif 198 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698