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

Side by Side Diff: ash/wm/panel_frame_view.cc

Issue 10993087: Handle titlebar text updates properly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Odd - build machine failed to update patch (which I updated successfully) Re-uploading Created 8 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ash/wm/frame_painter.h" 5 #include "ash/wm/frame_painter.h"
6 #include "ash/wm/panel_frame_view.h" 6 #include "ash/wm/panel_frame_view.h"
7 #include "grit/ash_resources.h" 7 #include "grit/ash_resources.h"
8 #include "grit/ui_strings.h" // Accessibility names 8 #include "grit/ui_strings.h" // Accessibility names
9 #include "third_party/skia/include/core/SkPaint.h" 9 #include "third_party/skia/include/core/SkPaint.h"
10 #include "ui/base/animation/throb_animation.h" 10 #include "ui/base/animation/throb_animation.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 void PanelFrameView::ResetWindowControls() { 48 void PanelFrameView::ResetWindowControls() {
49 NOTIMPLEMENTED(); 49 NOTIMPLEMENTED();
50 } 50 }
51 51
52 void PanelFrameView::UpdateWindowIcon() { 52 void PanelFrameView::UpdateWindowIcon() {
53 NOTIMPLEMENTED(); 53 NOTIMPLEMENTED();
54 } 54 }
55 55
56 void PanelFrameView::UpdateWindowTitle() {
57 NOTIMPLEMENTED();
58 }
59
56 void PanelFrameView::GetWindowMask(const gfx::Size&, gfx::Path*) { 60 void PanelFrameView::GetWindowMask(const gfx::Size&, gfx::Path*) {
57 // Nothing. 61 // Nothing.
58 } 62 }
59 63
60 int PanelFrameView::NonClientHitTest(const gfx::Point& point) { 64 int PanelFrameView::NonClientHitTest(const gfx::Point& point) {
61 return frame_painter_->NonClientHitTest(this, point); 65 return frame_painter_->NonClientHitTest(this, point);
62 } 66 }
63 67
64 void PanelFrameView::OnPaint(gfx::Canvas* canvas) { 68 void PanelFrameView::OnPaint(gfx::Canvas* canvas) {
65 bool paint_as_active = ShouldPaintAsActive(); 69 bool paint_as_active = ShouldPaintAsActive();
(...skipping 20 matching lines...) Expand all
86 close_button_->bounds().bottom(), client_bounds); 90 close_button_->bounds().bottom(), client_bounds);
87 } 91 }
88 92
89 void PanelFrameView::ButtonPressed(views::Button* sender, 93 void PanelFrameView::ButtonPressed(views::Button* sender,
90 const ui::Event& event) { 94 const ui::Event& event) {
91 if (sender == close_button_) 95 if (sender == close_button_)
92 GetWidget()->Close(); 96 GetWidget()->Close();
93 } 97 }
94 98
95 } // namespace ash 99 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/panel_frame_view.h ('k') | chrome/browser/ui/views/ash/browser_non_client_frame_view_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698