| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/chrome_views_delegate.h" | 5 #include "chrome/browser/views/chrome_views_delegate.h" |
| 6 | 6 |
| 7 #include "app/clipboard/clipboard.h" | 7 #include "app/clipboard/clipboard.h" |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "chrome/browser/browser_process.h" | 10 #include "chrome/browser/browser_process.h" |
| 11 #include "chrome/browser/prefs/pref_service.h" | 11 #include "chrome/browser/prefs/pref_service.h" |
| 12 #include "chrome/browser/views/accessibility_event_router_views.h" | 12 #include "chrome/browser/ui/views/accessibility_event_router_views.h" |
| 13 #include "chrome/browser/window_sizer.h" | 13 #include "chrome/browser/ui/window_sizer.h" |
| 14 #include "gfx/rect.h" | 14 #include "gfx/rect.h" |
| 15 | 15 |
| 16 #if defined(OS_WIN) | 16 #if defined(OS_WIN) |
| 17 #include "chrome/browser/app_icon_win.h" | 17 #include "chrome/browser/app_icon_win.h" |
| 18 #endif | 18 #endif |
| 19 | 19 |
| 20 /////////////////////////////////////////////////////////////////////////////// | 20 /////////////////////////////////////////////////////////////////////////////// |
| 21 // ChromeViewsDelegate, views::ViewsDelegate implementation: | 21 // ChromeViewsDelegate, views::ViewsDelegate implementation: |
| 22 | 22 |
| 23 Clipboard* ChromeViewsDelegate::GetClipboard() const { | 23 Clipboard* ChromeViewsDelegate::GetClipboard() const { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 } | 93 } |
| 94 #endif | 94 #endif |
| 95 | 95 |
| 96 void ChromeViewsDelegate::AddRef() { | 96 void ChromeViewsDelegate::AddRef() { |
| 97 g_browser_process->AddRefModule(); | 97 g_browser_process->AddRefModule(); |
| 98 } | 98 } |
| 99 | 99 |
| 100 void ChromeViewsDelegate::ReleaseRef() { | 100 void ChromeViewsDelegate::ReleaseRef() { |
| 101 g_browser_process->ReleaseModule(); | 101 g_browser_process->ReleaseModule(); |
| 102 } | 102 } |
| OLD | NEW |