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

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

Issue 8949035: Revert 115297 - Add overflow indicator count on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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);
198 } 197 }
199 198
200 gfx::NativeWindow Panel::GetNativeHandle() { 199 gfx::NativeWindow Panel::GetNativeHandle() {
201 return native_panel_->GetNativePanelHandle(); 200 return native_panel_->GetNativePanelHandle();
202 } 201 }
203 202
204 BrowserWindowTesting* Panel::GetBrowserWindowTesting() { 203 BrowserWindowTesting* Panel::GetBrowserWindowTesting() {
205 NOTIMPLEMENTED(); 204 NOTIMPLEMENTED();
206 return NULL; 205 return NULL;
207 } 206 }
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 native_panel_->ContentSizeFromWindowSize(max_size_)); 607 native_panel_->ContentSizeFromWindowSize(max_size_));
609 } 608 }
610 609
611 void Panel::OnWindowSizeAvailable() { 610 void Panel::OnWindowSizeAvailable() {
612 ConfigureAutoResize(browser()->GetSelectedTabContents()); 611 ConfigureAutoResize(browser()->GetSelectedTabContents());
613 } 612 }
614 613
615 void Panel::DestroyBrowser() { 614 void Panel::DestroyBrowser() {
616 native_panel_->DestroyPanelBrowser(); 615 native_panel_->DestroyPanelBrowser();
617 } 616 }
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