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

Unified Diff: chrome/browser/dom_ui/shown_sections_handler.h

Issue 6354016: Fix layout glitches in NTP. Also, lots of naming cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comment Created 9 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/dom_ui/shown_sections_handler.h
diff --git a/chrome/browser/dom_ui/shown_sections_handler.h b/chrome/browser/dom_ui/shown_sections_handler.h
index 41c7da831d8daca07de39b4d683001119df0a734..8d03cf3c73f79a6c2fe86be4d47f0db37c939365 100644
--- a/chrome/browser/dom_ui/shown_sections_handler.h
+++ b/chrome/browser/dom_ui/shown_sections_handler.h
@@ -24,14 +24,14 @@ enum Section {
THUMB = 1 << 0,
APPS = 1 << 6,
- // We use the low 16 bits for sections, the high 16 bits for minimized state.
+ // We use the low 16 bits for sections, the high 16 bits for menu mode.
ALL_SECTIONS_MASK = 0x0000FFFF,
- // If one of these is set, then the corresponding section is shown minimized
+ // If one of these is set, then the corresponding section is shown in a menu
// 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),
+ MENU_THUMB = 1 << (0 + 16),
+ MENU_RECENT = 1 << (2 + 16),
+ MENU_APPS = 1 << (6 + 16),
};
class ShownSectionsHandler : public DOMMessageHandler,
« no previous file with comments | « no previous file | chrome/browser/dom_ui/shown_sections_handler.cc » ('j') | chrome/browser/resources/new_new_tab.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698