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

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

Issue 893683003: Implement top controls show/hide functionality for main thread scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address nitp Created 5 years, 10 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 virtual void textFieldDataListChanged(HTMLInputElement&) override; 171 virtual void textFieldDataListChanged(HTMLInputElement&) override;
172 172
173 virtual void didCancelCompositionOnSelectionChange() override; 173 virtual void didCancelCompositionOnSelectionChange() override;
174 virtual void willSetInputMethodState() override; 174 virtual void willSetInputMethodState() override;
175 virtual void didUpdateTextOfFocusedElementByNonUserInput() override; 175 virtual void didUpdateTextOfFocusedElementByNonUserInput() override;
176 virtual void showImeIfNeeded() override; 176 virtual void showImeIfNeeded() override;
177 177
178 virtual void registerViewportLayers() const override; 178 virtual void registerViewportLayers() const override;
179 179
180 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override; 180 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) override;
181 virtual void didUpdateTopControls() const override;
181 182
182 private: 183 private:
183 virtual bool isChromeClientImpl() const override { return true; } 184 virtual bool isChromeClientImpl() const override { return true; }
184 185
185 WebNavigationPolicy getNavigationPolicy(const WindowFeatures&); 186 WebNavigationPolicy getNavigationPolicy(const WindowFeatures&);
186 void setCursor(const WebCursorInfo&); 187 void setCursor(const WebCursorInfo&);
187 188
188 WebViewImpl* m_webView; // weak pointer 189 WebViewImpl* m_webView; // weak pointer
189 WindowFeatures m_windowFeatures; 190 WindowFeatures m_windowFeatures;
190 191
191 PagePopupDriver* m_pagePopupDriver; 192 PagePopupDriver* m_pagePopupDriver;
192 }; 193 };
193 194
194 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl()); 195 DEFINE_TYPE_CASTS(ChromeClientImpl, ChromeClient, client, client->isChromeClient Impl(), client.isChromeClientImpl());
195 196
196 } // namespace blink 197 } // namespace blink
197 198
198 #endif 199 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698