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

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

Issue 7648043: Include chromeos_wm_ipc_enums.h from third_party/cros_system_api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix check_deps failure Created 9 years, 4 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 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/panel_browser_view.h" 5 #include "chrome/browser/chromeos/frame/panel_browser_view.h"
6 6
7 #include "chrome/browser/chromeos/frame/browser_view.h" 7 #include "chrome/browser/chromeos/frame/browser_view.h"
8 #include "chrome/browser/chromeos/frame/panel_controller.h" 8 #include "chrome/browser/chromeos/frame/panel_controller.h"
9 #include "third_party/cros/chromeos_wm_ipc_enums.h" 9 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"
10 #include "views/widget/widget.h" 10 #include "views/widget/widget.h"
11 11
12 namespace { 12 namespace {
13 13
14 const int kPanelMinWidthPixels = 100; 14 const int kPanelMinWidthPixels = 100;
15 const int kPanelMinHeightPixels = 100; 15 const int kPanelMinHeightPixels = 100;
16 const int kPanelDefaultWidthPixels = 250; 16 const int kPanelDefaultWidthPixels = 250;
17 const int kPanelDefaultHeightPixels = 300; 17 const int kPanelDefaultHeightPixels = 300;
18 const float kPanelMaxWidthFactor = 0.80; 18 const float kPanelMaxWidthFactor = 0.80;
19 const float kPanelMaxHeightFactor = 0.80; 19 const float kPanelMaxHeightFactor = 0.80;
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 163
164 void PanelBrowserView::ClosePanel() { 164 void PanelBrowserView::ClosePanel() {
165 Close(); 165 Close();
166 } 166 }
167 167
168 void PanelBrowserView::ActivatePanel() { 168 void PanelBrowserView::ActivatePanel() {
169 Activate(); 169 Activate();
170 } 170 }
171 171
172 } // namespace chromeos 172 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/frame/layout_mode_button.cc ('k') | chrome/browser/chromeos/frame/panel_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698