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

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

Issue 1946403003: Add fixed raster scale use counter histograms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase+fix Created 4 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end) const override; 149 bool selectionTextDirection(WebTextDirection& start, WebTextDirection& end) const override;
150 bool isSelectionAnchorFirst() const override; 150 bool isSelectionAnchorFirst() const override;
151 bool caretOrSelectionRange(size_t* location, size_t* length) override; 151 bool caretOrSelectionRange(size_t* location, size_t* length) override;
152 void setTextDirection(WebTextDirection) override; 152 void setTextDirection(WebTextDirection) override;
153 bool isAcceleratedCompositingActive() const override; 153 bool isAcceleratedCompositingActive() const override;
154 void willCloseLayerTreeView() override; 154 void willCloseLayerTreeView() override;
155 void didAcquirePointerLock() override; 155 void didAcquirePointerLock() override;
156 void didNotAcquirePointerLock() override; 156 void didNotAcquirePointerLock() override;
157 void didLosePointerLock() override; 157 void didLosePointerLock() override;
158 void didChangeWindowResizerRect() override; 158 void didChangeWindowResizerRect() override;
159 void reportFixedRasterScaleUseCounters(bool hasBlurryContent, bool hasPotent ialPerformanceRegression) override;
159 160
160 // WebView methods: 161 // WebView methods:
161 virtual bool isWebView() const { return true; } 162 virtual bool isWebView() const { return true; }
162 void setMainFrame(WebFrame*) override; 163 void setMainFrame(WebFrame*) override;
163 void setCredentialManagerClient(WebCredentialManagerClient*) override; 164 void setCredentialManagerClient(WebCredentialManagerClient*) override;
164 void setPrerendererClient(WebPrerendererClient*) override; 165 void setPrerendererClient(WebPrerendererClient*) override;
165 void setSpellCheckClient(WebSpellCheckClient*) override; 166 void setSpellCheckClient(WebSpellCheckClient*) override;
166 WebSettings* settings() override; 167 WebSettings* settings() override;
167 WebString pageEncoding() const override; 168 WebString pageEncoding() const override;
168 void setPageEncoding(const WebString&) override; 169 void setPageEncoding(const WebString&) override;
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 double m_lastFrameTimeMonotonic; 756 double m_lastFrameTimeMonotonic;
756 }; 757 };
757 758
758 // We have no ways to check if the specified WebView is an instance of 759 // We have no ways to check if the specified WebView is an instance of
759 // WebViewImpl because WebViewImpl is the only implementation of WebView. 760 // WebViewImpl because WebViewImpl is the only implementation of WebView.
760 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 761 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
761 762
762 } // namespace blink 763 } // namespace blink
763 764
764 #endif 765 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698