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

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

Issue 6849030: Add support for multi resolution icons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added comments Created 9 years, 8 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/constrained_window_views.h" 5 #include "chrome/browser/ui/views/constrained_window_views.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "chrome/app/chrome_command_ids.h" 9 #include "chrome/app/chrome_command_ids.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/browser/ui/toolbar/toolbar_model.h" 11 #include "chrome/browser/ui/toolbar/toolbar_model.h"
12 #include "chrome/browser/ui/views/frame/browser_view.h" 12 #include "chrome/browser/ui/views/frame/browser_view.h"
13 #include "chrome/browser/ui/window_sizer.h" 13 #include "chrome/browser/ui/window_sizer.h"
14 #include "chrome/common/chrome_constants.h" 14 #include "chrome/common/chrome_constants.h"
15 #include "content/browser/tab_contents/tab_contents.h" 15 #include "content/browser/tab_contents/tab_contents.h"
16 #include "content/browser/tab_contents/tab_contents_view.h" 16 #include "content/browser/tab_contents/tab_contents_view.h"
17 #include "content/common/notification_service.h" 17 #include "content/common/notification_service.h"
18 #include "grit/app_resources.h" 18 #include "grit/app_resources.h"
19 #include "grit/chromium_strings.h" 19 #include "grit/chromium_strings.h"
20 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
21 #include "grit/theme_resources.h" 21 #include "grit/theme_resources.h"
22 #include "grit/theme_resources_standard.h"
22 #include "net/base/net_util.h" 23 #include "net/base/net_util.h"
23 #include "ui/base/resource/resource_bundle.h" 24 #include "ui/base/resource/resource_bundle.h"
24 #include "ui/gfx/canvas.h" 25 #include "ui/gfx/canvas.h"
25 #include "ui/gfx/font.h" 26 #include "ui/gfx/font.h"
26 #include "ui/gfx/path.h" 27 #include "ui/gfx/path.h"
27 #include "ui/gfx/rect.h" 28 #include "ui/gfx/rect.h"
28 #include "views/controls/button/image_button.h" 29 #include "views/controls/button/image_button.h"
29 #include "views/focus/focus_manager.h" 30 #include "views/focus/focus_manager.h"
30 #include "views/window/client_view.h" 31 #include "views/window/client_view.h"
31 #include "views/window/native_window.h" 32 #include "views/window/native_window.h"
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 638
638 //////////////////////////////////////////////////////////////////////////////// 639 ////////////////////////////////////////////////////////////////////////////////
639 // ConstrainedWindow, public: 640 // ConstrainedWindow, public:
640 641
641 // static 642 // static
642 ConstrainedWindow* ConstrainedWindow::CreateConstrainedDialog( 643 ConstrainedWindow* ConstrainedWindow::CreateConstrainedDialog(
643 TabContents* parent, 644 TabContents* parent,
644 views::WindowDelegate* window_delegate) { 645 views::WindowDelegate* window_delegate) {
645 return new ConstrainedWindowViews(parent, window_delegate); 646 return new ConstrainedWindowViews(parent, window_delegate);
646 } 647 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/bubble/bubble_border.cc ('k') | chrome/browser/ui/views/detachable_toolbar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698