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

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

Issue 328883002: Accelerate small canvases if Ganesh is on. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE; 176 virtual void handleKeyboardEventOnTextField(WebCore::HTMLInputElement&, WebC ore::KeyboardEvent&) OVERRIDE;
177 177
178 // FIXME: Remove this method once we have input routing in the browser 178 // FIXME: Remove this method once we have input routing in the browser
179 // process. See http://crbug.com/339659. 179 // process. See http://crbug.com/339659.
180 virtual void forwardInputEvent(WebCore::Frame*, WebCore::Event*) OVERRIDE; 180 virtual void forwardInputEvent(WebCore::Frame*, WebCore::Event*) OVERRIDE;
181 181
182 virtual void didCancelCompositionOnSelectionChange() OVERRIDE; 182 virtual void didCancelCompositionOnSelectionChange() OVERRIDE;
183 virtual void willSetInputMethodState() OVERRIDE; 183 virtual void willSetInputMethodState() OVERRIDE;
184 virtual void didUpdateTextOfFocusedElementByNonUserInput() OVERRIDE; 184 virtual void didUpdateTextOfFocusedElementByNonUserInput() OVERRIDE;
185 185
186 virtual bool usesGpuRasterization() OVERRIDE;
187
186 private: 188 private:
187 virtual bool isChromeClientImpl() const OVERRIDE { return true; } 189 virtual bool isChromeClientImpl() const OVERRIDE { return true; }
188 190
189 WebNavigationPolicy getNavigationPolicy(); 191 WebNavigationPolicy getNavigationPolicy();
190 void setCursor(const WebCursorInfo&); 192 void setCursor(const WebCursorInfo&);
191 193
192 WebViewImpl* m_webView; // weak pointer 194 WebViewImpl* m_webView; // weak pointer
193 bool m_toolbarsVisible; 195 bool m_toolbarsVisible;
194 bool m_statusbarVisible; 196 bool m_statusbarVisible;
195 bool m_scrollbarsVisible; 197 bool m_scrollbarsVisible;
(...skipping 16 matching lines...) Expand all
212 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 214 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
213 215
214 WebViewImpl* m_webView; 216 WebViewImpl* m_webView;
215 }; 217 };
216 218
217 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 219 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
218 220
219 } // namespace blink 221 } // namespace blink
220 222
221 #endif 223 #endif
OLDNEW
« no previous file with comments | « Source/core/page/ChromeClient.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698