OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "ui/base/accessibility/accessibility_types.h" | 12 #include "ui/base/accessibility/accessibility_types.h" |
13 #include "views/views_delegate.h" | 13 #include "ui/views/views_delegate.h" |
14 | 14 |
15 class ChromeViewsDelegate : public views::ViewsDelegate { | 15 class ChromeViewsDelegate : public views::ViewsDelegate { |
16 public: | 16 public: |
17 ChromeViewsDelegate() {} | 17 ChromeViewsDelegate() {} |
18 virtual ~ChromeViewsDelegate() {} | 18 virtual ~ChromeViewsDelegate() {} |
19 | 19 |
20 // Overridden from views::ViewsDelegate: | 20 // Overridden from views::ViewsDelegate: |
21 virtual ui::Clipboard* GetClipboard() const OVERRIDE; | 21 virtual ui::Clipboard* GetClipboard() const OVERRIDE; |
22 virtual void SaveWindowPlacement(const views::Widget* window, | 22 virtual void SaveWindowPlacement(const views::Widget* window, |
23 const std::string& window_name, | 23 const std::string& window_name, |
(...skipping 17 matching lines...) Expand all Loading... |
41 virtual void AddRef() OVERRIDE; | 41 virtual void AddRef() OVERRIDE; |
42 virtual void ReleaseRef() OVERRIDE; | 42 virtual void ReleaseRef() OVERRIDE; |
43 | 43 |
44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; | 44 virtual int GetDispositionForEvent(int event_flags) OVERRIDE; |
45 | 45 |
46 private: | 46 private: |
47 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); | 47 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); |
48 }; | 48 }; |
49 | 49 |
50 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ | 50 #endif // CHROME_BROWSER_UI_VIEWS_CHROME_VIEWS_DELEGATE_H_ |
OLD | NEW |