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

Side by Side Diff: ui/views/desktop/desktop_views_delegate.cc

Issue 8598024: Now that we are doing a hard-cut-over to Aura, remove a bunch of *Views based classes that are ob... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | « ui/views/desktop/desktop_views_delegate.h ('k') | ui/views/desktop/desktop_window_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "ui/views/desktop/desktop_views_delegate.h"
6
7 #include "base/logging.h"
8 #include "ui/views/desktop/desktop_window_view.h"
9
10 namespace views {
11 namespace desktop {
12
13 ////////////////////////////////////////////////////////////////////////////////
14 // DesktopViewsDelegate, public:
15
16 DesktopViewsDelegate::DesktopViewsDelegate() {
17 DCHECK(!views::ViewsDelegate::views_delegate);
18 views::ViewsDelegate::views_delegate = this;
19 }
20
21 DesktopViewsDelegate::~DesktopViewsDelegate() {
22 }
23
24 ////////////////////////////////////////////////////////////////////////////////
25 // DesktopViewsDelegate, ViewsDelegate implementation:
26
27 ui::Clipboard* DesktopViewsDelegate::GetClipboard() const {
28 return NULL;
29 }
30
31 View* DesktopViewsDelegate::GetDefaultParentView() {
32 return DesktopWindowView::desktop_window_view;
33 }
34
35 void DesktopViewsDelegate::SaveWindowPlacement(const Widget* widget,
36 const std::string& window_name,
37 const gfx::Rect& bounds,
38 ui::WindowShowState show_state) {
39 }
40
41 bool DesktopViewsDelegate::GetSavedWindowPlacement(
42 const std::string& window_name,
43 gfx::Rect* bounds,
44 ui::WindowShowState* show_state) const {
45 return false;
46 }
47
48 void DesktopViewsDelegate::NotifyAccessibilityEvent(
49 views::View* view, ui::AccessibilityTypes::Event event_type) {
50 }
51
52 void DesktopViewsDelegate::NotifyMenuItemFocused(const string16& menu_name,
53 const string16& menu_item_name,
54 int item_index,
55 int item_count,
56 bool has_submenu) {
57 }
58
59 #if defined(OS_WIN)
60 HICON DesktopViewsDelegate::GetDefaultWindowIcon() const {
61 return NULL;
62 }
63 #endif
64
65 void DesktopViewsDelegate::AddRef() {
66 }
67
68 void DesktopViewsDelegate::ReleaseRef() {
69 }
70
71 int DesktopViewsDelegate::GetDispositionForEvent(int event_flags) {
72 return 0;
73 }
74
75 } // namespace desktop
76 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/desktop/desktop_views_delegate.h ('k') | ui/views/desktop/desktop_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698