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

Side by Side Diff: chrome/browser/chromeos/frame/layout_mode_button.cc

Issue 8539051: aura: Touch state file after first browser is ready. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update more includes Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/frame/layout_mode_button.h" 5 #include "chrome/browser/chromeos/frame/layout_mode_button.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/utf_string_conversions.h" 8 #include "base/utf_string_conversions.h"
9 #include "chrome/common/chrome_notification_types.h" 9 #include "chrome/common/chrome_notification_types.h"
10 #include "content/public/browser/notification_details.h" 10 #include "content/public/browser/notification_details.h"
11 #include "content/public/browser/notification_source.h" 11 #include "content/public/browser/notification_source.h"
12 #include "grit/generated_resources.h" 12 #include "grit/generated_resources.h"
13 #include "grit/theme_resources.h" 13 #include "grit/theme_resources.h"
14 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" 14 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"
15 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
16 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
17 #include "views/widget/widget.h" 17 #include "views/widget/widget.h"
18 18
19 #if defined(TOOLKIT_USES_GTK) 19 #if defined(TOOLKIT_USES_GTK)
20 #include "chrome/browser/chromeos/wm_ipc.h" 20 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h"
21 #endif 21 #endif
22 22
23 namespace { 23 namespace {
24 const int kHorizontalPaddingPixels = 2; 24 const int kHorizontalPaddingPixels = 2;
25 } // namespace 25 } // namespace
26 26
27 namespace chromeos { 27 namespace chromeos {
28 28
29 LayoutModeButton::LayoutModeButton() 29 LayoutModeButton::LayoutModeButton()
30 : ALLOW_THIS_IN_INITIALIZER_LIST(ImageButton(this)) { 30 : ALLOW_THIS_IN_INITIALIZER_LIST(ImageButton(this)) {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 SetTooltipText( 101 SetTooltipText(
102 l10n_util::GetStringUTF16(IDS_STATUSBAR_WINDOW_MAXIMIZE_TOOLTIP)); 102 l10n_util::GetStringUTF16(IDS_STATUSBAR_WINDOW_MAXIMIZE_TOOLTIP));
103 break; 103 break;
104 default: 104 default:
105 DLOG(WARNING) << "Unknown layout mode " << mode; 105 DLOG(WARNING) << "Unknown layout mode " << mode;
106 } 106 }
107 #endif 107 #endif
108 } 108 }
109 109
110 } // namespace chromeos 110 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/browser_view.cc ('k') | chrome/browser/chromeos/frame/panel_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698