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

Side by Side Diff: chrome/browser/ui/views/bubble/bubble.cc

Issue 8598031: views: Move widget/ directory to ui/views. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland for real 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/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 "ui/base/animation/slide_animation.h" 11 #include "ui/base/animation/slide_animation.h"
12 #include "ui/base/keycodes/keyboard_codes.h" 12 #include "ui/base/keycodes/keyboard_codes.h"
13 #include "ui/gfx/color_utils.h" 13 #include "ui/gfx/color_utils.h"
14 #include "ui/views/layout/fill_layout.h" 14 #include "ui/views/layout/fill_layout.h"
15 #include "ui/views/widget/widget.h"
15 #include "ui/views/window/client_view.h" 16 #include "ui/views/window/client_view.h"
16 #include "views/widget/widget.h"
17 17
18 #if defined(OS_CHROMEOS) && defined(TOOLKIT_USES_GTK) 18 #if defined(OS_CHROMEOS) && defined(TOOLKIT_USES_GTK)
19 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h" 19 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h"
20 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h" 20 #include "third_party/cros_system_api/window_manager/chromeos_wm_ipc_enums.h"
21 #endif 21 #endif
22 22
23 #if defined(OS_WIN) && !defined(USE_AURA) 23 #if defined(OS_WIN) && !defined(USE_AURA)
24 #include "chrome/browser/ui/views/bubble/border_widget_win.h" 24 #include "chrome/browser/ui/views/bubble/border_widget_win.h"
25 #endif 25 #endif
26 26
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 animation_->Hide(); 437 animation_->Hide();
438 } 438 }
439 439
440 bool Bubble::AcceleratorPressed(const ui::Accelerator& accelerator) { 440 bool Bubble::AcceleratorPressed(const ui::Accelerator& accelerator) {
441 if (!delegate_ || delegate_->CloseOnEscape()) { 441 if (!delegate_ || delegate_->CloseOnEscape()) {
442 DoClose(true); 442 DoClose(true);
443 return true; 443 return true;
444 } 444 }
445 return false; 445 return false;
446 } 446 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bubble/bubble.h ('k') | chrome/browser/ui/views/chrome_views_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698