OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this | 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this |
2 // source code is governed by a BSD-style license that can be found in the | 2 // source code is governed by a BSD-style license that can be found in the |
3 // LICENSE file. | 3 // LICENSE file. |
4 | 4 |
5 #include "chrome/browser/views/chrome_views_delegate.h" | 5 #include "chrome/browser/views/chrome_views_delegate.h" |
6 | 6 |
7 #include "base/clipboard.h" | 7 #include "app/clipboard/clipboard.h" |
8 #include "base/gfx/rect.h" | 8 #include "base/gfx/rect.h" |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "chrome/app/chrome_dll_resource.h" | 10 #include "chrome/app/chrome_dll_resource.h" |
11 #include "chrome/browser/browser_process.h" | 11 #include "chrome/browser/browser_process.h" |
12 #include "chrome/browser/window_sizer.h" | 12 #include "chrome/browser/window_sizer.h" |
13 #include "chrome/common/pref_service.h" | 13 #include "chrome/common/pref_service.h" |
14 | 14 |
15 /////////////////////////////////////////////////////////////////////////////// | 15 /////////////////////////////////////////////////////////////////////////////// |
16 // ChromeViewsDelegate, views::ViewsDelegate implementation: | 16 // ChromeViewsDelegate, views::ViewsDelegate implementation: |
17 | 17 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 return dictionary && dictionary->GetBoolean(L"maximized", maximized) && | 73 return dictionary && dictionary->GetBoolean(L"maximized", maximized) && |
74 maximized; | 74 maximized; |
75 } | 75 } |
76 | 76 |
77 #if defined(OS_WIN) | 77 #if defined(OS_WIN) |
78 HICON ChromeViewsDelegate::GetDefaultWindowIcon() const { | 78 HICON ChromeViewsDelegate::GetDefaultWindowIcon() const { |
79 return LoadIcon(GetModuleHandle(L"chrome.dll"), | 79 return LoadIcon(GetModuleHandle(L"chrome.dll"), |
80 MAKEINTRESOURCE(IDR_MAINFRAME)); | 80 MAKEINTRESOURCE(IDR_MAINFRAME)); |
81 } | 81 } |
82 #endif | 82 #endif |
OLD | NEW |