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

Unified Diff: chrome/browser/chromeos/main_menu.cc

Issue 341044: Move chromeos code to namespace chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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/chromeos/main_menu.cc
===================================================================
--- chrome/browser/chromeos/main_menu.cc (revision 30488)
+++ chrome/browser/chromeos/main_menu.cc (working copy)
@@ -4,6 +4,7 @@
#include "chrome/browser/chromeos/main_menu.h"
+#include <string>
#include <vector>
#include "app/gfx/insets.h"
@@ -30,6 +31,8 @@
#include "views/widget/root_view.h"
#include "views/widget/widget_gtk.h"
+namespace chromeos {
+
// Initial size of the renderer. This is contained within a window whose size
// is set to the size of the image IDR_MAIN_MENU_BUTTON_DROP_DOWN.
static const int kRendererX = 0;
@@ -105,7 +108,7 @@
MainMenu::~MainMenu() {
// NOTE: we leak the menu_rvh_ and popup_ as by the time we get here the
// message loop and notification services have been shutdown.
- // TODO(sky); fix this.
+ // TODO(sky): fix this.
// menu_rvh_->Shutdown();
// popup_->CloseNow();
}
@@ -282,3 +285,5 @@
void MainMenu::LoadTask::Run() {
MainMenu::Get();
}
+
+} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698