Replace instances of LINUX2 with OS_CHROMEOS and linux2 with chromeos.
Review URL: http://codereview.chromium.org/149367 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20210 0039d316-1c4b-4281-b951-d872f2087c98
Esse commit está contido em:
+3
-3
@@ -80,7 +80,7 @@
|
|||||||
# ~/.gyp/include.gypi .
|
# ~/.gyp/include.gypi .
|
||||||
'toolkit_views%': 0,
|
'toolkit_views%': 0,
|
||||||
|
|
||||||
'linux2%': 0,
|
'chromeos%': 0,
|
||||||
|
|
||||||
'chrome_personalization%': 0,
|
'chrome_personalization%': 0,
|
||||||
},
|
},
|
||||||
@@ -99,8 +99,8 @@
|
|||||||
['toolkit_views==1', {
|
['toolkit_views==1', {
|
||||||
'defines': ['TOOLKIT_VIEWS=1'],
|
'defines': ['TOOLKIT_VIEWS=1'],
|
||||||
}],
|
}],
|
||||||
['linux2==1', {
|
['chromeos==1', {
|
||||||
'defines': ['LINUX2=1'],
|
'defines': ['OS_CHROMEOS=1'],
|
||||||
}],
|
}],
|
||||||
['chrome_personalization==1', {
|
['chrome_personalization==1', {
|
||||||
'defines': ['CHROME_PERSONALIZATION=1'],
|
'defines': ['CHROME_PERSONALIZATION=1'],
|
||||||
|
|||||||
@@ -444,7 +444,7 @@ std::wstring Browser::GetCurrentPageTitle() const {
|
|||||||
if (title.empty())
|
if (title.empty())
|
||||||
title = l10n_util::GetString(IDS_TAB_UNTITLED_TITLE);
|
title = l10n_util::GetString(IDS_TAB_UNTITLED_TITLE);
|
||||||
|
|
||||||
#if defined(OS_MACOSX) || defined(LINUX2)
|
#if defined(OS_MACOSX) || defined(OS_CHROMEOS)
|
||||||
// On Mac, we don't want to suffix the page title with the application name.
|
// On Mac, we don't want to suffix the page title with the application name.
|
||||||
return title;
|
return title;
|
||||||
#elif defined(OS_WIN) || defined(OS_LINUX)
|
#elif defined(OS_WIN) || defined(OS_LINUX)
|
||||||
@@ -1162,7 +1162,7 @@ void Browser::OpenHelpTab() {
|
|||||||
false, NULL);
|
false, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
void Browser::ShowControlPanel() {
|
void Browser::ShowControlPanel() {
|
||||||
GURL url("http://localhost:8080");
|
GURL url("http://localhost:8080");
|
||||||
AddTabWithURL(url, GURL(), PageTransition::AUTO_BOOKMARK, true, -1,
|
AddTabWithURL(url, GURL(), PageTransition::AUTO_BOOKMARK, true, -1,
|
||||||
@@ -1381,7 +1381,7 @@ void Browser::ExecuteCommandWithDisposition(
|
|||||||
case IDC_IMPORT_SETTINGS: OpenImportSettingsDialog(); break;
|
case IDC_IMPORT_SETTINGS: OpenImportSettingsDialog(); break;
|
||||||
case IDC_ABOUT: OpenAboutChromeDialog(); break;
|
case IDC_ABOUT: OpenAboutChromeDialog(); break;
|
||||||
case IDC_HELP_PAGE: OpenHelpTab(); break;
|
case IDC_HELP_PAGE: OpenHelpTab(); break;
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
case IDC_CONTROL_PANEL: ShowControlPanel(); break;
|
case IDC_CONTROL_PANEL: ShowControlPanel(); break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -2133,7 +2133,7 @@ void Browser::InitCommandState() {
|
|||||||
command_updater_.UpdateCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER, true);
|
command_updater_.UpdateCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER, true);
|
||||||
command_updater_.UpdateCommandEnabled(IDC_SHOW_DOWNLOADS, true);
|
command_updater_.UpdateCommandEnabled(IDC_SHOW_DOWNLOADS, true);
|
||||||
command_updater_.UpdateCommandEnabled(IDC_HELP_PAGE, true);
|
command_updater_.UpdateCommandEnabled(IDC_HELP_PAGE, true);
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
command_updater_.UpdateCommandEnabled(IDC_CONTROL_PANEL, true);
|
command_updater_.UpdateCommandEnabled(IDC_CONTROL_PANEL, true);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -369,7 +369,7 @@ class Browser : public TabStripModelDelegate,
|
|||||||
void OpenImportSettingsDialog();
|
void OpenImportSettingsDialog();
|
||||||
void OpenAboutChromeDialog();
|
void OpenAboutChromeDialog();
|
||||||
void OpenHelpTab();
|
void OpenHelpTab();
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
void ShowControlPanel();
|
void ShowControlPanel();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
#include "base/win_util.h"
|
#include "base/win_util.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
#include "chrome/browser/views/tabs/tab_overview_message_listener.h"
|
#include "chrome/browser/views/tabs/tab_overview_message_listener.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -341,7 +341,7 @@ bool LaunchBrowser(const CommandLine& command_line, Profile* profile,
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
// Create the TabOverviewMessageListener so that it can listen for messages
|
// Create the TabOverviewMessageListener so that it can listen for messages
|
||||||
// regardless of what window has focus.
|
// regardless of what window has focus.
|
||||||
TabOverviewMessageListener::instance();
|
TabOverviewMessageListener::instance();
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
#include "grit/app_resources.h"
|
#include "grit/app_resources.h"
|
||||||
#include "grit/theme_resources.h"
|
#include "grit/theme_resources.h"
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
#include "chrome/browser/views/panel_controller.h"
|
#include "chrome/browser/views/panel_controller.h"
|
||||||
#include "chrome/browser/views/tabs/tab_overview_types.h"
|
#include "chrome/browser/views/tabs/tab_overview_types.h"
|
||||||
#endif
|
#endif
|
||||||
@@ -221,7 +221,7 @@ const struct AcceleratorMapping {
|
|||||||
{ GDK_p, IDC_PRINT, GDK_CONTROL_MASK },
|
{ GDK_p, IDC_PRINT, GDK_CONTROL_MASK },
|
||||||
{ GDK_Escape, IDC_TASK_MANAGER, GDK_SHIFT_MASK },
|
{ GDK_Escape, IDC_TASK_MANAGER, GDK_SHIFT_MASK },
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
{ GDK_f, IDC_FULLSCREEN,
|
{ GDK_f, IDC_FULLSCREEN,
|
||||||
GdkModifierType(GDK_CONTROL_MASK | GDK_MOD1_MASK) },
|
GdkModifierType(GDK_CONTROL_MASK | GDK_MOD1_MASK) },
|
||||||
{ GDK_Delete, IDC_TASK_MANAGER,
|
{ GDK_Delete, IDC_TASK_MANAGER,
|
||||||
@@ -366,7 +366,7 @@ std::map<XID, GtkWindow*> BrowserWindowGtk::xid_map_;
|
|||||||
BrowserWindowGtk::BrowserWindowGtk(Browser* browser)
|
BrowserWindowGtk::BrowserWindowGtk(Browser* browser)
|
||||||
: browser_(browser),
|
: browser_(browser),
|
||||||
full_screen_(false),
|
full_screen_(false),
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
drag_active_(false),
|
drag_active_(false),
|
||||||
panel_controller_(NULL),
|
panel_controller_(NULL),
|
||||||
#endif
|
#endif
|
||||||
@@ -474,7 +474,7 @@ void BrowserWindowGtk::Show() {
|
|||||||
// the previous browser instead if we don't explicitly set it here.
|
// the previous browser instead if we don't explicitly set it here.
|
||||||
BrowserList::SetLastActive(browser());
|
BrowserList::SetLastActive(browser());
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
if (browser_->type() == Browser::TYPE_POPUP) {
|
if (browser_->type() == Browser::TYPE_POPUP) {
|
||||||
panel_controller_ = new PanelController(this);
|
panel_controller_ = new PanelController(this);
|
||||||
} else {
|
} else {
|
||||||
@@ -514,7 +514,7 @@ void BrowserWindowGtk::Close() {
|
|||||||
window_ = NULL;
|
window_ = NULL;
|
||||||
gtk_widget_destroy(window);
|
gtk_widget_destroy(window);
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
if (panel_controller_) {
|
if (panel_controller_) {
|
||||||
panel_controller_->Close();
|
panel_controller_->Close();
|
||||||
}
|
}
|
||||||
@@ -554,7 +554,7 @@ void BrowserWindowGtk::SelectedTabToolbarSizeChanged(bool is_animating) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void BrowserWindowGtk::UpdateTitleBar() {
|
void BrowserWindowGtk::UpdateTitleBar() {
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
if (panel_controller_)
|
if (panel_controller_)
|
||||||
panel_controller_->UpdateTitleBar();
|
panel_controller_->UpdateTitleBar();
|
||||||
#endif
|
#endif
|
||||||
@@ -880,7 +880,7 @@ void BrowserWindowGtk::OnStateChanged(GdkWindowState state) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool BrowserWindowGtk::CanClose() const {
|
bool BrowserWindowGtk::CanClose() const {
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
if (drag_active_)
|
if (drag_active_)
|
||||||
return false;
|
return false;
|
||||||
#endif
|
#endif
|
||||||
@@ -1054,7 +1054,7 @@ void BrowserWindowGtk::InitWidgets() {
|
|||||||
contents_container_->AddContainerToBox(render_area_vbox_);
|
contents_container_->AddContainerToBox(render_area_vbox_);
|
||||||
gtk_widget_show_all(render_area_vbox_);
|
gtk_widget_show_all(render_area_vbox_);
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
if (browser_->type() == Browser::TYPE_POPUP) {
|
if (browser_->type() == Browser::TYPE_POPUP) {
|
||||||
toolbar_->Hide();
|
toolbar_->Hide();
|
||||||
// The window manager needs the min size for popups
|
// The window manager needs the min size for popups
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ class StatusBubbleGtk;
|
|||||||
class TabContentsContainerGtk;
|
class TabContentsContainerGtk;
|
||||||
class TabStripGtk;
|
class TabStripGtk;
|
||||||
|
|
||||||
#ifdef LINUX2
|
#ifdef OS_CHROMEOS
|
||||||
class PanelController;
|
class PanelController;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -132,7 +132,7 @@ class BrowserWindowGtk : public BrowserWindow,
|
|||||||
// Add the find bar widget to the window hierarchy.
|
// Add the find bar widget to the window hierarchy.
|
||||||
void AddFindBar(FindBarGtk* findbar);
|
void AddFindBar(FindBarGtk* findbar);
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
// Sets whether a drag is active. If a drag is active the window will not
|
// Sets whether a drag is active. If a drag is active the window will not
|
||||||
// close.
|
// close.
|
||||||
void set_drag_active(bool drag_active) { drag_active_ = drag_active; }
|
void set_drag_active(bool drag_active) { drag_active_ = drag_active; }
|
||||||
@@ -296,7 +296,7 @@ class BrowserWindowGtk : public BrowserWindow,
|
|||||||
// decorations.
|
// decorations.
|
||||||
BooleanPrefMember use_custom_frame_;
|
BooleanPrefMember use_custom_frame_;
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
// True if a drag is active. See description above setter for details.
|
// True if a drag is active. See description above setter for details.
|
||||||
bool drag_active_;
|
bool drag_active_;
|
||||||
// Controls interactions with the window manager for popup panels.
|
// Controls interactions with the window manager for popup panels.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
#include "grit/app_resources.h"
|
#include "grit/app_resources.h"
|
||||||
#include "grit/theme_resources.h"
|
#include "grit/theme_resources.h"
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
#include "chrome/browser/browser.h"
|
#include "chrome/browser/browser.h"
|
||||||
#include "chrome/browser/browser_list.h"
|
#include "chrome/browser/browser_list.h"
|
||||||
#include "chrome/browser/gtk/browser_window_gtk.h"
|
#include "chrome/browser/gtk/browser_window_gtk.h"
|
||||||
@@ -501,7 +501,7 @@ void TabStripGtk::Init() {
|
|||||||
|
|
||||||
newtab_button_.reset(MakeNewTabButton());
|
newtab_button_.reset(MakeNewTabButton());
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
tab_overview_button_.reset(MakeTabOverviewButton());
|
tab_overview_button_.reset(MakeTabOverviewButton());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@@ -543,7 +543,7 @@ void TabStripGtk::Layout() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
LayoutNewTabButton(static_cast<double>(tab_right), current_unselected_width_);
|
LayoutNewTabButton(static_cast<double>(tab_right), current_unselected_width_);
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
gtk_fixed_move(GTK_FIXED(tabstrip_.get()), tab_overview_button_->widget(),
|
gtk_fixed_move(GTK_FIXED(tabstrip_.get()), tab_overview_button_->widget(),
|
||||||
bounds_.width() - tab_overview_button_->width(), 0);
|
bounds_.width() - tab_overview_button_->width(), 0);
|
||||||
#endif
|
#endif
|
||||||
@@ -985,7 +985,7 @@ void TabStripGtk::LayoutNewTabButton(double last_tab_right,
|
|||||||
// We're shrinking tabs, so we need to anchor the New Tab button to the
|
// We're shrinking tabs, so we need to anchor the New Tab button to the
|
||||||
// right edge of the TabStrip's bounds, rather than the right edge of the
|
// right edge of the TabStrip's bounds, rather than the right edge of the
|
||||||
// right-most Tab, otherwise it'll bounce when animating.
|
// right-most Tab, otherwise it'll bounce when animating.
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
bounds.set_x(bounds_.width() - newtab_button_->width() -
|
bounds.set_x(bounds_.width() - newtab_button_->width() -
|
||||||
tab_overview_button_->width());
|
tab_overview_button_->width());
|
||||||
#else
|
#else
|
||||||
@@ -1021,7 +1021,7 @@ void TabStripGtk::GetDesiredTabWidths(int tab_count,
|
|||||||
available_width = bounds_.width();
|
available_width = bounds_.width();
|
||||||
available_width -=
|
available_width -=
|
||||||
(kNewTabButtonHOffset + newtab_button_->width());
|
(kNewTabButtonHOffset + newtab_button_->width());
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
available_width -= tab_overview_button_->width();
|
available_width -= tab_overview_button_->width();
|
||||||
#endif
|
#endif
|
||||||
} else {
|
} else {
|
||||||
@@ -1453,7 +1453,7 @@ gboolean TabStripGtk::OnExpose(GtkWidget* widget, GdkEventExpose* event,
|
|||||||
gtk_container_propagate_expose(GTK_CONTAINER(tabstrip->tabstrip_.get()),
|
gtk_container_propagate_expose(GTK_CONTAINER(tabstrip->tabstrip_.get()),
|
||||||
tabstrip->newtab_button_->widget(), event);
|
tabstrip->newtab_button_->widget(), event);
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
// Paint the tab overview button.
|
// Paint the tab overview button.
|
||||||
gtk_container_propagate_expose(GTK_CONTAINER(tabstrip->tabstrip_.get()),
|
gtk_container_propagate_expose(GTK_CONTAINER(tabstrip->tabstrip_.get()),
|
||||||
tabstrip->tab_overview_button_->widget(), event);
|
tabstrip->tab_overview_button_->widget(), event);
|
||||||
@@ -1595,7 +1595,7 @@ CustomDrawButton* TabStripGtk::MakeNewTabButton() {
|
|||||||
return button;
|
return button;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
CustomDrawButton* TabStripGtk::MakeTabOverviewButton() {
|
CustomDrawButton* TabStripGtk::MakeTabOverviewButton() {
|
||||||
CustomDrawButton* button =
|
CustomDrawButton* button =
|
||||||
new CustomDrawButton(IDR_TAB_OVERVIEW_BUTTON_ICON, 0, 0, 0, NULL);
|
new CustomDrawButton(IDR_TAB_OVERVIEW_BUTTON_ICON, 0, 0, 0, NULL);
|
||||||
|
|||||||
@@ -331,7 +331,7 @@ class TabStripGtk : public TabStripModelObserver,
|
|||||||
// Optionally a full Layout will be performed, specified by |layout|.
|
// Optionally a full Layout will be performed, specified by |layout|.
|
||||||
void FinishAnimation(TabAnimation* animation, bool layout);
|
void FinishAnimation(TabAnimation* animation, bool layout);
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
// Creates and returns the tab overview button.
|
// Creates and returns the tab overview button.
|
||||||
CustomDrawButton* MakeTabOverviewButton();
|
CustomDrawButton* MakeTabOverviewButton();
|
||||||
|
|
||||||
@@ -379,7 +379,7 @@ class TabStripGtk : public TabStripModelObserver,
|
|||||||
// The New Tab button.
|
// The New Tab button.
|
||||||
scoped_ptr<CustomDrawButton> newtab_button_;
|
scoped_ptr<CustomDrawButton> newtab_button_;
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
// The tab overview button.
|
// The tab overview button.
|
||||||
scoped_ptr<CustomDrawButton> tab_overview_button_;
|
scoped_ptr<CustomDrawButton> tab_overview_button_;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -257,7 +257,7 @@ TabContents::TabContents(Profile* profile,
|
|||||||
pending_install_.page_id = 0;
|
pending_install_.page_id = 0;
|
||||||
pending_install_.callback_functor = NULL;
|
pending_install_.callback_functor = NULL;
|
||||||
|
|
||||||
#if defined(LINUX2)
|
#if defined(OS_CHROMEOS)
|
||||||
// Make sure the thumbnailer is started before starting the render manager.
|
// Make sure the thumbnailer is started before starting the render manager.
|
||||||
// The thumbnailer will want to listen for RVH creations, one of which will
|
// The thumbnailer will want to listen for RVH creations, one of which will
|
||||||
// happen in RVHManager::Init.
|
// happen in RVHManager::Init.
|
||||||
|
|||||||
@@ -83,9 +83,11 @@ class DraggedTabView : public views::View,
|
|||||||
// Utility for scaling a size by the current scaling factor.
|
// Utility for scaling a size by the current scaling factor.
|
||||||
int ScaleValue(int value);
|
int ScaleValue(int value);
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
|
||||||
// The window that contains the DraggedTabView.
|
// The window that contains the DraggedTabView.
|
||||||
|
#if defined(OS_WIN)
|
||||||
scoped_ptr<views::WidgetWin> container_;
|
scoped_ptr<views::WidgetWin> container_;
|
||||||
|
#elif defined(OS_LINUX)
|
||||||
|
scoped_ptr<views::WidgetGtk> container_;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// The renderer that paints the Tab shape.
|
// The renderer that paints the Tab shape.
|
||||||
|
|||||||
+5
-5
@@ -230,8 +230,8 @@
|
|||||||
'-D', '<(chrome_build)'
|
'-D', '<(chrome_build)'
|
||||||
],
|
],
|
||||||
'conditions': [
|
'conditions': [
|
||||||
['linux2==1', {
|
['chromeos==1', {
|
||||||
'action': ['-D', 'linux2'],
|
'action': ['-D', 'chromeos'],
|
||||||
}],
|
}],
|
||||||
],
|
],
|
||||||
'message': 'Generating resources from <(input_path)',
|
'message': 'Generating resources from <(input_path)',
|
||||||
@@ -2080,7 +2080,7 @@
|
|||||||
['exclude', '^browser/tab_contents/render_view_context_menu_gtk.h'],
|
['exclude', '^browser/tab_contents/render_view_context_menu_gtk.h'],
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['linux2==1',{
|
['chromeos==1',{
|
||||||
'sources/': [
|
'sources/': [
|
||||||
['include', 'browser/views/new_browser_window_widget.cc'],
|
['include', 'browser/views/new_browser_window_widget.cc'],
|
||||||
['include', 'browser/views/new_browser_window_widget.h'],
|
['include', 'browser/views/new_browser_window_widget.h'],
|
||||||
@@ -2552,7 +2552,7 @@
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS=="linux" and (toolkit_views==1 or linux2==1)', {
|
['OS=="linux" and (toolkit_views==1 or chromeos==1)', {
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
'../views/views.gyp:views',
|
'../views/views.gyp:views',
|
||||||
],
|
],
|
||||||
@@ -3661,7 +3661,7 @@
|
|||||||
'../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc',
|
'../third_party/cld/bar/toolbar/cld/i18n/encodings/compact_lang_det/compact_lang_det_unittest_small.cc',
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
['OS=="linux" and (toolkit_views==1 or linux2==1)', {
|
['OS=="linux" and (toolkit_views==1 or chromeos==1)', {
|
||||||
'dependencies': [
|
'dependencies': [
|
||||||
'../views/views.gyp:views',
|
'../views/views.gyp:views',
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ void WidgetGtk::Init(GtkWidget* parent,
|
|||||||
// Force creation of the RootView if it hasn't been created yet.
|
// Force creation of the RootView if it hasn't been created yet.
|
||||||
GetRootView();
|
GetRootView();
|
||||||
|
|
||||||
#if !defined(LINUX2)
|
#if !defined(OS_CHROMEOS)
|
||||||
default_theme_provider_.reset(new DefaultThemeProvider());
|
default_theme_provider_.reset(new DefaultThemeProvider());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário