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

Side by Side Diff: chrome/views/view_unittest.cc

Issue 115012: Move: drag_drop_types, favicon_size, icon_util, insets, path, message_box_fla... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 7 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
« no previous file with comments | « chrome/views/view.cc ('k') | chrome/views/view_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "app/gfx/chrome_canvas.h" 5 #include "app/gfx/chrome_canvas.h"
6 #include "app/gfx/path.h"
6 #include "base/clipboard.h" 7 #include "base/clipboard.h"
7 #include "base/message_loop.h" 8 #include "base/message_loop.h"
8 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
9 #include "chrome/common/gfx/path.h"
10 #include "chrome/common/notification_service.h" 10 #include "chrome/common/notification_service.h"
11 #include "chrome/views/background.h" 11 #include "chrome/views/background.h"
12 #include "chrome/views/controls/button/checkbox.h" 12 #include "chrome/views/controls/button/checkbox.h"
13 #if defined(OS_WIN) 13 #if defined(OS_WIN)
14 #include "chrome/views/controls/button/native_button_win.h" 14 #include "chrome/views/controls/button/native_button_win.h"
15 #endif 15 #endif
16 #include "chrome/views/controls/scroll_view.h" 16 #include "chrome/views/controls/scroll_view.h"
17 #include "chrome/views/controls/text_field.h" 17 #include "chrome/views/controls/text_field.h"
18 #include "chrome/views/event.h" 18 #include "chrome/views/event.h"
19 #include "chrome/views/view.h" 19 #include "chrome/views/view.h"
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 SimularePressingEnterAndCheckDefaultButton(OK); 1002 SimularePressingEnterAndCheckDefaultButton(OK);
1003 1003
1004 // Focus the cancel button. 1004 // Focus the cancel button.
1005 client_view_->FocusWillChange(NULL, cancel_button_); 1005 client_view_->FocusWillChange(NULL, cancel_button_);
1006 EXPECT_FALSE(ok_button_->is_default()); 1006 EXPECT_FALSE(ok_button_->is_default());
1007 EXPECT_TRUE(cancel_button_->is_default()); 1007 EXPECT_TRUE(cancel_button_->is_default());
1008 EXPECT_FALSE(dialog_view_->button1_->is_default()); 1008 EXPECT_FALSE(dialog_view_->button1_->is_default());
1009 EXPECT_FALSE(dialog_view_->button2_->is_default()); 1009 EXPECT_FALSE(dialog_view_->button2_->is_default());
1010 SimularePressingEnterAndCheckDefaultButton(CANCEL); 1010 SimularePressingEnterAndCheckDefaultButton(CANCEL);
1011 } 1011 }
OLDNEW
« no previous file with comments | « chrome/views/view.cc ('k') | chrome/views/view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698