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

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

Issue 197533013: CompositingReasonFinder should use a virtual function instead of a nest of branches (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add missing file Created 6 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 | Annotate | Revision Log
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 enumerateChosenDirectory(WebCore::FileChooser*) OVERRIDE; 141 virtual void enumerateChosenDirectory(WebCore::FileChooser*) OVERRIDE;
142 virtual void setCursor(const WebCore::Cursor&) OVERRIDE; 142 virtual void setCursor(const WebCore::Cursor&) OVERRIDE;
143 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE; 143 virtual void needTouchEvents(bool needTouchEvents) OVERRIDE;
144 virtual void setTouchAction(WebCore::TouchAction) OVERRIDE; 144 virtual void setTouchAction(WebCore::TouchAction) OVERRIDE;
145 145
146 virtual WebCore::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE ; 146 virtual WebCore::GraphicsLayerFactory* graphicsLayerFactory() const OVERRIDE ;
147 147
148 // Pass 0 as the GraphicsLayer to detatch the root layer. 148 // Pass 0 as the GraphicsLayer to detatch the root layer.
149 virtual void attachRootGraphicsLayer(WebCore::GraphicsLayer*) OVERRIDE; 149 virtual void attachRootGraphicsLayer(WebCore::GraphicsLayer*) OVERRIDE;
150 150
151 virtual CompositingTriggerFlags allowedCompositingTriggers() const OVERRIDE; 151 virtual WebCore::CompositingTriggerFlags allowedCompositingTriggers() const OVERRIDE;
152 152
153 virtual void enterFullScreenForElement(WebCore::Element*) OVERRIDE; 153 virtual void enterFullScreenForElement(WebCore::Element*) OVERRIDE;
154 virtual void exitFullScreenForElement(WebCore::Element*) OVERRIDE; 154 virtual void exitFullScreenForElement(WebCore::Element*) OVERRIDE;
155 155
156 // ChromeClient methods: 156 // ChromeClient methods:
157 virtual void postAccessibilityNotification(WebCore::AXObject*, WebCore::AXOb jectCache::AXNotification) OVERRIDE; 157 virtual void postAccessibilityNotification(WebCore::AXObject*, WebCore::AXOb jectCache::AXNotification) OVERRIDE;
158 virtual String acceptLanguages() OVERRIDE; 158 virtual String acceptLanguages() OVERRIDE;
159 159
160 // ChromeClientImpl: 160 // ChromeClientImpl:
161 void setCursorForPlugin(const WebCursorInfo&); 161 void setCursorForPlugin(const WebCursorInfo&);
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 explicit NavigatorContentUtilsClientImpl(WebViewImpl*); 223 explicit NavigatorContentUtilsClientImpl(WebViewImpl*);
224 224
225 WebViewImpl* m_webView; 225 WebViewImpl* m_webView;
226 }; 226 };
227 227
228 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl()); 228 DEFINE_TYPE_CASTS(ChromeClientImpl, WebCore::ChromeClient, client, client->isChr omeClientImpl(), client.isChromeClientImpl());
229 229
230 } // namespace blink 230 } // namespace blink
231 231
232 #endif 232 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/compositing/CompositingTriggers.h ('k') | Source/web/ChromeClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698