summaryrefslogtreecommitdiffstats
path: root/chrome/browser/dom_ui/shown_sections_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/dom_ui/shown_sections_handler.h')
-rw-r--r--chrome/browser/dom_ui/shown_sections_handler.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/chrome/browser/dom_ui/shown_sections_handler.h b/chrome/browser/dom_ui/shown_sections_handler.h
index a281346..be07735 100644
--- a/chrome/browser/dom_ui/shown_sections_handler.h
+++ b/chrome/browser/dom_ui/shown_sections_handler.h
@@ -18,8 +18,16 @@ class PrefService;
// Currently, only the THUMB and APPS sections can be toggled by the user. Other
// sections are shown automatically if they have data, and hidden otherwise.
enum Section {
- THUMB = 1,
- APPS = 64
+ // If one of these is set, the corresponding section shows large thumbnails,
+ // else it shows only a small overview list.
+ THUMB = 1 << 0,
+ APPS = 1 << 6,
+
+ // If one of these is set, then the corresponding section is shown minimized
+ // at the bottom of the NTP and no data is directly visible on the NTP.
+ MINIMIZED_THUMB = 1 << (0 + 16),
+ MINIMIZED_RECENT = 1 << (2 + 16),
+ MINIMIZED_APPS = 1 << (6 + 16),
};
class ShownSectionsHandler : public DOMMessageHandler,