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

Side by Side Diff: chrome/browser/views/constrained_window_impl.cc

Issue 7995: Move Time, TimeDelta and TimeTicks into namespace base. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 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) 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 "chrome/browser/views/constrained_window_impl.h" 5 #include "chrome/browser/views/constrained_window_impl.h"
6 6
7 #include "base/gfx/rect.h" 7 #include "base/gfx/rect.h"
8 #include "chrome/app/chrome_dll_resource.h" 8 #include "chrome/app/chrome_dll_resource.h"
9 #include "chrome/app/theme/theme_resources.h" 9 #include "chrome/app/theme/theme_resources.h"
10 #include "chrome/browser/tab_contents.h" 10 #include "chrome/browser/tab_contents.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/views/client_view.h" 31 #include "chrome/views/client_view.h"
32 #include "chrome/views/focus_manager.h" 32 #include "chrome/views/focus_manager.h"
33 #include "chrome/views/hwnd_view.h" 33 #include "chrome/views/hwnd_view.h"
34 #include "chrome/views/non_client_view.h" 34 #include "chrome/views/non_client_view.h"
35 #include "chrome/views/window_resources.h" 35 #include "chrome/views/window_resources.h"
36 #include "net/base/net_util.h" 36 #include "net/base/net_util.h"
37 37
38 #include "chromium_strings.h" 38 #include "chromium_strings.h"
39 #include "generated_resources.h" 39 #include "generated_resources.h"
40 40
41 using base::TimeDelta;
42
41 namespace views { 43 namespace views {
42 class ClientView; 44 class ClientView;
43 } 45 }
44 46
45 // An enumeration of bitmap resources used by this window. 47 // An enumeration of bitmap resources used by this window.
46 enum { 48 enum {
47 FRAME_PART_BITMAP_FIRST = 0, // Must be first. 49 FRAME_PART_BITMAP_FIRST = 0, // Must be first.
48 50
49 FRAME_BOTTOM_CENTER, 51 FRAME_BOTTOM_CENTER,
50 FRAME_BOTTOM_LEFT_CORNER, 52 FRAME_BOTTOM_LEFT_CORNER,
(...skipping 1330 matching lines...) Expand 10 before | Expand all | Expand 10 after
1381 initial_bounds, 1383 initial_bounds,
1382 parent->delegate()->ShouldDisplayURLField()); 1384 parent->delegate()->ShouldDisplayURLField());
1383 1385
1384 window->InitSizeForContents(window_bounds); 1386 window->InitSizeForContents(window_bounds);
1385 1387
1386 // This is a constrained popup window and thus we need to animate it in. 1388 // This is a constrained popup window and thus we need to animate it in.
1387 window->StartSuppressedAnimation(); 1389 window->StartSuppressedAnimation();
1388 1390
1389 return window; 1391 return window;
1390 } 1392 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698