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

Side by Side Diff: ui/aura_shell/desktop_background_view.cc

Issue 7890054: Adds code for a new Aura shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months 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/aura_shell/desktop_background_view.h ('k') | ui/aura_shell/desktop_layout_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
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/aura_shell/desktop_background_view.h"
6
7 #include "grit/ui_resources.h"
8 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/gfx/canvas.h"
10
11 ////////////////////////////////////////////////////////////////////////////////
12 // DesktopBackgroundView, public:
13
14 DesktopBackgroundView::DesktopBackgroundView() {
15 /*
16 wallpaper_ = *ResourceBundle::GetSharedInstance().GetBitmapNamed(
17 IDR_AURA_WALLPAPER);
18 */
19 }
20
21 DesktopBackgroundView::~DesktopBackgroundView() {
22 }
23
24 ////////////////////////////////////////////////////////////////////////////////
25 // DesktopBackgroundView, views::View overrides:
26
27 void DesktopBackgroundView::OnPaint(gfx::Canvas* canvas) {
28 canvas->TileImageInt(wallpaper_, 0, 0, width(), height());
sky 2011/09/15 20:39:36 Comment this out too.
29 }
30
31 void DesktopBackgroundView::OnBoundsChanged(const gfx::Rect& previous_bounds) {
32 LOG(WARNING) << "Here";
33 }
OLDNEW
« no previous file with comments | « ui/aura_shell/desktop_background_view.h ('k') | ui/aura_shell/desktop_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698