| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ |
| 6 #define CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 | 13 |
| 14 class OptionsLayoutBuilderGtk { | 14 class OptionsLayoutBuilderGtk { |
| 15 public: | 15 public: |
| 16 virtual ~OptionsLayoutBuilderGtk() {} | 16 virtual ~OptionsLayoutBuilderGtk() {} |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 // Creates a compact option layout builder, if the screen is compact. | 37 // Creates a compact option layout builder, if the screen is compact. |
| 38 // Otherwise, creates a default one. | 38 // Otherwise, creates a default one. |
| 39 static OptionsLayoutBuilderGtk* CreateOptionallyCompactLayout(); | 39 static OptionsLayoutBuilderGtk* CreateOptionallyCompactLayout(); |
| 40 | 40 |
| 41 protected: | 41 protected: |
| 42 // The parent widget | 42 // The parent widget |
| 43 GtkWidget* page_; | 43 GtkWidget* page_; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 #endif // CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ | 46 #endif // CHROME_BROWSER_UI_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_ |
| OLD | NEW |