
Web page-level focus was absent, which in turn meant that blink-level focus was suppressed. The aura::Window on which focus was attempted did not have an OnWindowFocused observer; this change focuses the Window that does. This is a reland of one piece of the reverted http://crrev.com/c/2274201 Bug: b/156123509 Test: manual on device Change-Id: I0a9ec66de97f346512f9ade01f7ad4821159c527 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2348420 Reviewed-by: Daniel Nicoara <dnicoara@chromium.org> Reviewed-by: Kevin Schoedel <kpschoedel@chromium.org> Commit-Queue: Kevin Schoedel <kpschoedel@chromium.org> Cr-Commit-Position: refs/heads/master@{#805908}
Cast base
cast_features
This file contains tools for checking the feature state of all of the features which affect Cast products. Cast features build upon the Chrome feature system. Some aspects of Cast require the feature system to work differently, however, so some additional logic has been layered on top. Details are available in comments of the header file. The basics are:
- If you are adding a new feature, add it to
cast_features.cc
so it lives alongside existing features - Add your new feature to the list of
kFeatures
incast_features.cc
const base::Feature kMyFeature{"my_feature", base::FEATURE_DISABLED_BY_DEFAULT};
const base::Feature* kFeatures[] = {
// ..other features
&kMyFeature
}