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

Unified 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/desktop/desktop_views_delegate.cc
===================================================================
--- ui/views/desktop/desktop_views_delegate.cc (revision 110826)
+++ ui/views/desktop/desktop_views_delegate.cc (working copy)
@@ -1,76 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "ui/views/desktop/desktop_views_delegate.h"
-
-#include "base/logging.h"
-#include "ui/views/desktop/desktop_window_view.h"
-
-namespace views {
-namespace desktop {
-
-////////////////////////////////////////////////////////////////////////////////
-// DesktopViewsDelegate, public:
-
-DesktopViewsDelegate::DesktopViewsDelegate() {
- DCHECK(!views::ViewsDelegate::views_delegate);
- views::ViewsDelegate::views_delegate = this;
-}
-
-DesktopViewsDelegate::~DesktopViewsDelegate() {
-}
-
-////////////////////////////////////////////////////////////////////////////////
-// DesktopViewsDelegate, ViewsDelegate implementation:
-
-ui::Clipboard* DesktopViewsDelegate::GetClipboard() const {
- return NULL;
-}
-
-View* DesktopViewsDelegate::GetDefaultParentView() {
- return DesktopWindowView::desktop_window_view;
-}
-
-void DesktopViewsDelegate::SaveWindowPlacement(const Widget* widget,
- const std::string& window_name,
- const gfx::Rect& bounds,
- ui::WindowShowState show_state) {
-}
-
-bool DesktopViewsDelegate::GetSavedWindowPlacement(
- const std::string& window_name,
- gfx::Rect* bounds,
- ui::WindowShowState* show_state) const {
- return false;
-}
-
-void DesktopViewsDelegate::NotifyAccessibilityEvent(
- views::View* view, ui::AccessibilityTypes::Event event_type) {
-}
-
-void DesktopViewsDelegate::NotifyMenuItemFocused(const string16& menu_name,
- const string16& menu_item_name,
- int item_index,
- int item_count,
- bool has_submenu) {
-}
-
-#if defined(OS_WIN)
-HICON DesktopViewsDelegate::GetDefaultWindowIcon() const {
- return NULL;
-}
-#endif
-
-void DesktopViewsDelegate::AddRef() {
-}
-
-void DesktopViewsDelegate::ReleaseRef() {
-}
-
-int DesktopViewsDelegate::GetDispositionForEvent(int event_flags) {
- return 0;
-}
-
-} // namespace desktop
-} // namespace views
« 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