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

Side by Side Diff: sky/engine/web/WebViewImpl.h

Issue 842113005: Delete a bunch of noop paint invalidation code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix comment Created 5 years, 11 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 | « sky/engine/web/WebLocalFrameImpl.cpp ('k') | sky/engine/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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 virtual bool endActiveFlingAnimation() override; 132 virtual bool endActiveFlingAnimation() override;
133 virtual void setShowPaintRects(bool) override; 133 virtual void setShowPaintRects(bool) override;
134 void setShowDebugBorders(bool); 134 void setShowDebugBorders(bool);
135 virtual void setShowFPSCounter(bool) override; 135 virtual void setShowFPSCounter(bool) override;
136 virtual void setContinuousPaintingEnabled(bool) override; 136 virtual void setContinuousPaintingEnabled(bool) override;
137 virtual void setShowScrollBottleneckRects(bool) override; 137 virtual void setShowScrollBottleneckRects(bool) override;
138 138
139 virtual void acceptLanguagesChanged() override; 139 virtual void acceptLanguagesChanged() override;
140 140
141 // WebViewImpl 141 // WebViewImpl
142
143 HitTestResult coreHitTestResultAt(const WebPoint&); 142 HitTestResult coreHitTestResultAt(const WebPoint&);
144 void suppressInvalidations(bool enable);
145 void invalidateRect(const IntRect&);
146 143
147 void setIgnoreInputEvents(bool newValue); 144 void setIgnoreInputEvents(bool newValue);
148 void setBackgroundColorOverride(WebColor); 145 void setBackgroundColorOverride(WebColor);
149 146
150 Color baseBackgroundColor() const { return m_baseBackgroundColor; } 147 Color baseBackgroundColor() const { return m_baseBackgroundColor; }
151 148
152 LocalFrame* focusedCoreFrame() const; 149 LocalFrame* focusedCoreFrame() const;
153 150
154 // Returns the currently focused Element or null if no element has focus. 151 // Returns the currently focused Element or null if no element has focus.
155 Element* focusedElement() const; 152 Element* focusedElement() const;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
349 bool m_userGestureObserved; 346 bool m_userGestureObserved;
350 }; 347 };
351 348
352 // We have no ways to check if the specified WebView is an instance of 349 // We have no ways to check if the specified WebView is an instance of
353 // WebViewImpl because WebViewImpl is the only implementation of WebView. 350 // WebViewImpl because WebViewImpl is the only implementation of WebView.
354 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 351 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
355 352
356 } // namespace blink 353 } // namespace blink
357 354
358 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_ 355 #endif // SKY_ENGINE_WEB_WEBVIEWIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebLocalFrameImpl.cpp ('k') | sky/engine/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698