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

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

Issue 114059: Refactors HWNDView, NativeViewHostGtk and NativeViewHost so that they match t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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/browser/views/constrained_window_impl.h ('k') | chrome/browser/views/dom_view.h » ('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 "chrome/browser/views/constrained_window_impl.h" 5 #include "chrome/browser/views/constrained_window_impl.h"
6 6
7 #include "app/gfx/canvas.h" 7 #include "app/gfx/canvas.h"
8 #include "app/gfx/font.h" 8 #include "app/gfx/font.h"
9 #include "app/gfx/path.h" 9 #include "app/gfx/path.h"
10 #include "app/gfx/text_elider.h" 10 #include "app/gfx/text_elider.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/common/chrome_constants.h" 24 #include "chrome/common/chrome_constants.h"
25 #include "chrome/common/notification_service.h" 25 #include "chrome/common/notification_service.h"
26 #include "chrome/common/pref_names.h" 26 #include "chrome/common/pref_names.h"
27 #include "chrome/common/pref_service.h" 27 #include "chrome/common/pref_service.h"
28 #include "grit/app_resources.h" 28 #include "grit/app_resources.h"
29 #include "grit/chromium_strings.h" 29 #include "grit/chromium_strings.h"
30 #include "grit/generated_resources.h" 30 #include "grit/generated_resources.h"
31 #include "grit/theme_resources.h" 31 #include "grit/theme_resources.h"
32 #include "net/base/net_util.h" 32 #include "net/base/net_util.h"
33 #include "views/controls/button/image_button.h" 33 #include "views/controls/button/image_button.h"
34 #include "views/controls/hwnd_view.h"
35 #include "views/focus/focus_manager.h" 34 #include "views/focus/focus_manager.h"
36 #include "views/window/client_view.h" 35 #include "views/window/client_view.h"
37 #include "views/window/non_client_view.h" 36 #include "views/window/non_client_view.h"
38 #include "views/window/window_resources.h" 37 #include "views/window/window_resources.h"
39 38
40 using base::TimeDelta; 39 using base::TimeDelta;
41 40
42 namespace views { 41 namespace views {
43 class ClientView; 42 class ClientView;
44 } 43 }
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 ConstrainedWindow* ConstrainedWindow::CreateConstrainedDialog( 735 ConstrainedWindow* ConstrainedWindow::CreateConstrainedDialog(
737 TabContents* parent, 736 TabContents* parent,
738 const gfx::Rect& initial_bounds, 737 const gfx::Rect& initial_bounds,
739 views::View* contents_view, 738 views::View* contents_view,
740 views::WindowDelegate* window_delegate) { 739 views::WindowDelegate* window_delegate) {
741 ConstrainedWindowImpl* window = new ConstrainedWindowImpl(parent, 740 ConstrainedWindowImpl* window = new ConstrainedWindowImpl(parent,
742 window_delegate); 741 window_delegate);
743 window->InitAsDialog(initial_bounds); 742 window->InitAsDialog(initial_bounds);
744 return window; 743 return window;
745 } 744 }
OLDNEW
« no previous file with comments | « chrome/browser/views/constrained_window_impl.h ('k') | chrome/browser/views/dom_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698