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

Unified Diff: chrome/browser/gtk/options/options_layout_gtk.h

Issue 6099014: Move chrome/browser/gtk to chrome/browser/ui/gtk (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Move browser/gtk/ to browser/ui/gtk/, leave header stubs, update new header guards 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/gtk/options/options_layout_gtk.h
diff --git a/chrome/browser/gtk/options/options_layout_gtk.h b/chrome/browser/gtk/options/options_layout_gtk.h
index 5bf2d3eb9fd08da8674a841e621965457db817a7..d7e8196546acf1df20f07c7303d978d13e8332e1 100644
--- a/chrome/browser/gtk/options/options_layout_gtk.h
+++ b/chrome/browser/gtk/options/options_layout_gtk.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -6,41 +6,7 @@
#define CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_
#pragma once
-#include <gtk/gtk.h>
-#include <string>
-
-#include "base/basictypes.h"
-
-class OptionsLayoutBuilderGtk {
- public:
- virtual ~OptionsLayoutBuilderGtk() {}
-
- GtkWidget* get_page_widget() {
- return page_;
- }
-
- // Adds an option group to the table. Handles layout and the placing of
- // separators between groups. If expandable is true, the content widget will
- // be allowed to expand and fill any extra space when the dialog is resized.
- virtual void AddOptionGroup(const std::string& title, GtkWidget* content,
- bool expandable) = 0;
-
- // Adds a widget without title or special layout. If expandable is true, the
- // content widget will be allowed to expand and fill any extra space when the
- // dialog is resized.
- virtual void AddWidget(GtkWidget* content, bool expandable) = 0;
-
- // Creates a default option layout builder. The default layout builder
- // follows the GNOME HIG.
- static OptionsLayoutBuilderGtk* Create();
-
- // Creates a compact option layout builder, if the screen is compact.
- // Otherwise, creates a default one.
- static OptionsLayoutBuilderGtk* CreateOptionallyCompactLayout();
-
- protected:
- // The parent widget
- GtkWidget* page_;
-};
+#include "chrome/browser/ui/gtk/options/options_layout_gtk.h"
+// TODO(msw): remove this file once all includes have been updated.
#endif // CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_
« no previous file with comments | « chrome/browser/gtk/options/managed_prefs_banner_gtk.h ('k') | chrome/browser/gtk/options/passwords_exceptions_page_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698