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

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

Issue 294163013: Add method in WebView to notify about accept languages change. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « no previous file | Source/web/WebViewImpl.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) 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE; 253 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */) OVERRIDE;
254 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE; 254 virtual void removePageOverlay(WebPageOverlay*) OVERRIDE;
255 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE; 255 virtual void transferActiveWheelFlingAnimation(const WebActiveWheelFlingPara meters&) OVERRIDE;
256 virtual bool endActiveFlingAnimation() OVERRIDE; 256 virtual bool endActiveFlingAnimation() OVERRIDE;
257 virtual void setShowPaintRects(bool) OVERRIDE; 257 virtual void setShowPaintRects(bool) OVERRIDE;
258 void setShowDebugBorders(bool); 258 void setShowDebugBorders(bool);
259 virtual void setShowFPSCounter(bool) OVERRIDE; 259 virtual void setShowFPSCounter(bool) OVERRIDE;
260 virtual void setContinuousPaintingEnabled(bool) OVERRIDE; 260 virtual void setContinuousPaintingEnabled(bool) OVERRIDE;
261 virtual void setShowScrollBottleneckRects(bool) OVERRIDE; 261 virtual void setShowScrollBottleneckRects(bool) OVERRIDE;
262 virtual void getSelectionRootBounds(WebRect& bounds) const OVERRIDE; 262 virtual void getSelectionRootBounds(WebRect& bounds) const OVERRIDE;
263 virtual void acceptLanguagesChanged() OVERRIDE;
263 264
264 // WebViewImpl 265 // WebViewImpl
265 266
266 void suppressInvalidations(bool enable); 267 void suppressInvalidations(bool enable);
267 void invalidateRect(const WebCore::IntRect&); 268 void invalidateRect(const WebCore::IntRect&);
268 269
269 void setIgnoreInputEvents(bool newValue); 270 void setIgnoreInputEvents(bool newValue);
270 void setBackgroundColorOverride(WebColor); 271 void setBackgroundColorOverride(WebColor);
271 void setZoomFactorOverride(float); 272 void setZoomFactorOverride(float);
272 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); } 273 WebDevToolsAgentPrivate* devToolsAgentPrivate() { return m_devToolsAgent.get (); }
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 bool m_userGestureObserved; 724 bool m_userGestureObserved;
724 }; 725 };
725 726
726 // We have no ways to check if the specified WebView is an instance of 727 // We have no ways to check if the specified WebView is an instance of
727 // WebViewImpl because WebViewImpl is the only implementation of WebView. 728 // WebViewImpl because WebViewImpl is the only implementation of WebView.
728 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 729 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
729 730
730 } // namespace blink 731 } // namespace blink
731 732
732 #endif 733 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698