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

Side by Side Diff: chrome/browser/ui/views/frame/app_non_client_frame_view_aura.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 "chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h" 5 #include "chrome/browser/ui/views/frame/app_non_client_frame_view_aura.h"
6 6
7 #include "base/debug/stack_trace.h" 7 #include "base/debug/stack_trace.h"
8 #include "chrome/browser/ui/views/frame/browser_frame.h" 8 #include "chrome/browser/ui/views/frame/browser_frame.h"
9 #include "chrome/browser/ui/views/frame/browser_view.h" 9 #include "chrome/browser/ui/views/frame/browser_view.h"
10 #include "grit/ash_resources.h" 10 #include "grit/ash_resources.h"
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void AppNonClientFrameViewAura::GetWindowMask(const gfx::Size& size, 216 void AppNonClientFrameViewAura::GetWindowMask(const gfx::Size& size,
217 gfx::Path* window_mask) { 217 gfx::Path* window_mask) {
218 } 218 }
219 219
220 void AppNonClientFrameViewAura::ResetWindowControls() { 220 void AppNonClientFrameViewAura::ResetWindowControls() {
221 } 221 }
222 222
223 void AppNonClientFrameViewAura::UpdateWindowIcon() { 223 void AppNonClientFrameViewAura::UpdateWindowIcon() {
224 } 224 }
225 225
226 void AppNonClientFrameViewAura::UpdateWindowTitle() {
227 }
228
226 gfx::Rect AppNonClientFrameViewAura::GetBoundsForTabStrip( 229 gfx::Rect AppNonClientFrameViewAura::GetBoundsForTabStrip(
227 views::View* tabstrip) const { 230 views::View* tabstrip) const {
228 return gfx::Rect(); 231 return gfx::Rect();
229 } 232 }
230 233
231 BrowserNonClientFrameView::TabStripInsets 234 BrowserNonClientFrameView::TabStripInsets
232 AppNonClientFrameViewAura::GetTabStripInsets(bool restored) const { 235 AppNonClientFrameViewAura::GetTabStripInsets(bool restored) const {
233 return TabStripInsets(); 236 return TabStripInsets();
234 } 237 }
235 238
(...skipping 18 matching lines...) Expand all
254 width() - preferred.width(), 0, 257 width() - preferred.width(), 0,
255 preferred.width(), preferred.height()); 258 preferred.width(), preferred.height());
256 } 259 }
257 260
258 void AppNonClientFrameViewAura::CloseControlWidget() { 261 void AppNonClientFrameViewAura::CloseControlWidget() {
259 if (control_widget_) { 262 if (control_widget_) {
260 control_widget_->Close(); 263 control_widget_->Close();
261 control_widget_ = NULL; 264 control_widget_ = NULL;
262 } 265 }
263 } 266 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698