[chromeos] Limit the data samples stored by PowerDataCollector.

BUG=332217
TBR=arv@chromium.org

Review URL: https://codereview.chromium.org/134623002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244435 0039d316-1c4b-4281-b951-d872f2087c98
Reland Merge NativeTextfieldViews into views::Textfield.

Reverted in r244402 for Linux-Aura test failures.
I fixed Ctrl+Shift+Delete/Backspace behavior on Linux here.

Consolidate the split textfield code into Textfield.
No behavior changes (except STYLE_LOWERCASE GetText nit).
Use the underlying model's text and font_list storage.
Remove unused code; rename TextfieldViewsModel::text().
Revise gesture and command handling.

Skip NotifyAccessibilityEvent native behavior without widget.
(No HWND for Views not yet added to view hierarchy)

Make TouchEditable::GetNativeView const; avoids conflict.
Fix includes, forward decls, Font[List] usage, tests.

Ideas for followup cleanup and refactoring:
-Cleanup View overrides decl/def order.
-Refactor RemoveBorder, SetHorizontalMargins, etc.
-Try to use composition instead of inheritance.
-Remove textfield style ctor; refactor style code.
-Remove STYLE_LOWERCASE functionality (one user).
-Replace placeholder DrawStringRect with a Label view.
-Cleanup CreateTouchSelectionControllerAndNotifyIt, etc.
-Cleanup SetColor/SetTextColor, etc.

BUG=131660
TEST=No textfield behavior/appearance regressions.
TBR=sky@chromium.org

Review URL: https://codereview.chromium.org/135863002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244436 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 244436