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

Side by Side Diff: chrome/browser/ui/panels/panel.cc

Issue 8953040: Add overflow indicator count on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybot Created 9 years 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 | « no previous file | chrome/browser/ui/panels/panel_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
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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/panels/panel.h" 5 #include "chrome/browser/ui/panels/panel.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/extensions/extension_prefs.h" 8 #include "chrome/browser/extensions/extension_prefs.h"
9 #include "chrome/browser/extensions/extension_service.h" 9 #include "chrome/browser/extensions/extension_service.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 void Panel::Deactivate() { 187 void Panel::Deactivate() {
188 native_panel_->DeactivatePanel(); 188 native_panel_->DeactivatePanel();
189 } 189 }
190 190
191 bool Panel::IsActive() const { 191 bool Panel::IsActive() const {
192 return native_panel_->IsPanelActive(); 192 return native_panel_->IsPanelActive();
193 } 193 }
194 194
195 void Panel::FlashFrame() { 195 void Panel::FlashFrame() {
196 native_panel_->DrawAttention(); 196 native_panel_->DrawAttention();
197 manager()->OnPanelAttentionStateChanged(this);
197 } 198 }
198 199
199 gfx::NativeWindow Panel::GetNativeHandle() { 200 gfx::NativeWindow Panel::GetNativeHandle() {
200 return native_panel_->GetNativePanelHandle(); 201 return native_panel_->GetNativePanelHandle();
201 } 202 }
202 203
203 BrowserWindowTesting* Panel::GetBrowserWindowTesting() { 204 BrowserWindowTesting* Panel::GetBrowserWindowTesting() {
204 NOTIMPLEMENTED(); 205 NOTIMPLEMENTED();
205 return NULL; 206 return NULL;
206 } 207 }
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 native_panel_->ContentSizeFromWindowSize(max_size_)); 608 native_panel_->ContentSizeFromWindowSize(max_size_));
608 } 609 }
609 610
610 void Panel::OnWindowSizeAvailable() { 611 void Panel::OnWindowSizeAvailable() {
611 ConfigureAutoResize(browser()->GetSelectedTabContents()); 612 ConfigureAutoResize(browser()->GetSelectedTabContents());
612 } 613 }
613 614
614 void Panel::DestroyBrowser() { 615 void Panel::DestroyBrowser() {
615 native_panel_->DestroyPanelBrowser(); 616 native_panel_->DestroyPanelBrowser();
616 } 617 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/panels/panel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698