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

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

Issue 284793003: Implement languagechange event, fired when accept languages changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fix tests Created 6 years, 7 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE; 255 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE;
256 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE; 256 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE;
257 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE; 257 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE;
258 virtual bool endActiveFlingAnimation() OVERRIDE; 258 virtual bool endActiveFlingAnimation() OVERRIDE;
259 virtual void setShowPaintRects(bool) OVERRIDE; 259 virtual void setShowPaintRects(bool) OVERRIDE;
260 void setShowDebugBorders(bool); 260 void setShowDebugBorders(bool);
261 virtual void setShowFPSCounter(bool) OVERRIDE; 261 virtual void setShowFPSCounter(bool) OVERRIDE;
262 virtual void setContinuousPaintingEnabled(bool) OVERRIDE; 262 virtual void setContinuousPaintingEnabled(bool) OVERRIDE;
263 virtual void setShowScrollBottleneckRects(bool) OVERRIDE; 263 virtual void setShowScrollBottleneckRects(bool) OVERRIDE;
264 virtual void getSelectionRootBounds(WebRect& bounds) const OVERRIDE; 264 virtual void getSelectionRootBounds(WebRect& bounds) const OVERRIDE;
265 virtual void acceptLanguagesChanged() OVERRIDE;
265 266
266 // WebViewImpl 267 // WebViewImpl
267 268
268 void suppressInvalidations(bool enable); 269 void suppressInvalidations(bool enable);
269 void invalidateRect(const WebCore::IntRect&); 270 void invalidateRect(const WebCore::IntRect&);
270 271
271 void setIgnoreInputEvents(bool newValue); 272 void setIgnoreInputEvents(bool newValue);
272 void setBackgroundColorOverride(WebColor); 273 void setBackgroundColorOverride(WebColor);
273 void setZoomFactorOverride(float); 274 void setZoomFactorOverride(float);
274 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); } 275 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); }
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 bool m_userGestureObserved; 731 bool m_userGestureObserved;
731 }; 732 };
732 733
733 // We have no ways to check if the specified WebView is an instance of 734 // We have no ways to check if the specified WebView is an instance of
734 // WebViewImpl because WebViewImpl is the only implementation of WebView. 735 // WebViewImpl because WebViewImpl is the only implementation of WebView.
735 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 736 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
736 737
737 } // namespace blink 738 } // namespace blink
738 739
739 #endif 740 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698