Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_PUBLIC_COMMON_PAGE_IMPORTANCE_SIGNALS_H_ | |
| 6 #define CONTENT_PUBLIC_COMMON_PAGE_IMPORTANCE_SIGNALS_H_ | |
| 7 | |
| 8 namespace content { | |
| 9 | |
| 10 // PageImportanceSignals contains useful signals for judging relative importance | |
| 11 // of a tab. This information is provided from renderer to browser. | |
| 12 // This struct is a subset of Blink's WebPageImportanceSignals, containing only | |
| 13 // the signals used in Chromium side. | |
| 14 struct PageImportanceSignals { | |
| 15 bool had_form_interaction; | |
|
kinuko
2015/09/24 00:26:22
nit: are you sure this'd be a bool rather than enu
kouhei (in TOK)
2015/09/24 01:13:46
Yes.
| |
| 16 }; | |
| 17 }; | |
| 18 | |
| 19 #endif // CONTENT_PUBLIC_COMMON_PAGE_IMPORTANCE_SIGNALS_H_ | |
| OLD | NEW |