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

Side by Side Diff: chrome/browser/ui/views/bubble/bubble.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/ui/views/bubble/bubble.h" 5 #include "chrome/browser/ui/views/bubble/bubble.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "chrome/browser/ui/views/bubble/border_contents.h" 9 #include "chrome/browser/ui/views/bubble/border_contents.h"
10 #include "chrome/common/chrome_notification_types.h" 10 #include "chrome/common/chrome_notification_types.h"
11 #include "content/common/notification_service.h" 11 #include "content/common/notification_service.h"
12 #include "ui/base/animation/slide_animation.h" 12 #include "ui/base/animation/slide_animation.h"
13 #include "ui/base/keycodes/keyboard_codes.h" 13 #include "ui/base/keycodes/keyboard_codes.h"
14 #include "ui/gfx/color_utils.h" 14 #include "ui/gfx/color_utils.h"
15 #include "views/layout/fill_layout.h" 15 #include "views/layout/fill_layout.h"
16 #include "views/widget/widget.h" 16 #include "views/widget/widget.h"
17 #include "views/window/client_view.h" 17 #include "views/window/client_view.h"
18 18
19 #if defined(OS_CHROMEOS) 19 #if defined(OS_CHROMEOS)
20 #include "chrome/browser/chromeos/wm_ipc.h" 20 #include "chrome/browser/chromeos/wm_ipc.h"
21 #include "third_party/cros/chromeos_wm_ipc_enums.h" 21 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"
22 #endif 22 #endif
23 23
24 #if defined(OS_WIN) 24 #if defined(OS_WIN)
25 #include "chrome/browser/ui/views/bubble/border_widget_win.h" 25 #include "chrome/browser/ui/views/bubble/border_widget_win.h"
26 #endif 26 #endif
27 27
28 using std::vector; 28 using std::vector;
29 29
30 // How long the fade should last for. 30 // How long the fade should last for.
31 static const int kHideFadeDurationMS = 200; 31 static const int kHideFadeDurationMS = 200;
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 animation_->Hide(); 393 animation_->Hide();
394 } 394 }
395 395
396 bool Bubble::AcceleratorPressed(const views::Accelerator& accelerator) { 396 bool Bubble::AcceleratorPressed(const views::Accelerator& accelerator) {
397 if (!delegate_ || delegate_->CloseOnEscape()) { 397 if (!delegate_ || delegate_->CloseOnEscape()) {
398 DoClose(true); 398 DoClose(true);
399 return true; 399 return true;
400 } 400 }
401 return false; 401 return false;
402 } 402 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/browser_bubble_gtk.cc ('k') | chrome/browser/ui/views/extensions/extension_popup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698