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

Side by Side Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 11369237: Add a way to fetch window frame metrics from NativeShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NOTIMPLEMENTED() Created 8 years, 1 month 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/browser_view.h" 5 #include "chrome/browser/ui/views/frame/browser_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 } 657 }
658 658
659 void BrowserView::FlashFrame(bool flash) { 659 void BrowserView::FlashFrame(bool flash) {
660 frame_->FlashFrame(flash); 660 frame_->FlashFrame(flash);
661 } 661 }
662 662
663 bool BrowserView::IsAlwaysOnTop() const { 663 bool BrowserView::IsAlwaysOnTop() const {
664 return false; 664 return false;
665 } 665 }
666 666
667 gfx::Rect BrowserView::ContentBoundsForWindowBounds(
668 const gfx::Rect& window_bounds) const {
669 NOTIMPLEMENTED()
670 return gfx::Rect();
671 }
672
673 gfx::Rect BrowserView::WindowBoundsForContentBounds(
674 const gfx::Rect& content_bounds) const {
675 NOTIMPLEMENTED()
676 return gfx::Rect();
677 }
678
667 gfx::NativeWindow BrowserView::GetNativeWindow() { 679 gfx::NativeWindow BrowserView::GetNativeWindow() {
668 return GetWidget()->GetTopLevelWidget()->GetNativeWindow(); 680 return GetWidget()->GetTopLevelWidget()->GetNativeWindow();
669 } 681 }
670 682
671 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { 683 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() {
672 return this; 684 return this;
673 } 685 }
674 686
675 StatusBubble* BrowserView::GetStatusBubble() { 687 StatusBubble* BrowserView::GetStatusBubble() {
676 return status_bubble_.get(); 688 return status_bubble_.get();
(...skipping 1911 matching lines...) Expand 10 before | Expand all | Expand 10 after
2588 modal_browser->window()->Activate(); 2600 modal_browser->window()->Activate();
2589 } 2601 }
2590 2602
2591 AppModalDialogQueue::GetInstance()->ActivateModalDialog(); 2603 AppModalDialogQueue::GetInstance()->ActivateModalDialog();
2592 } 2604 }
2593 2605
2594 void BrowserView::MaybeStackBookmarkBarAtTop() { 2606 void BrowserView::MaybeStackBookmarkBarAtTop() {
2595 if (bookmark_bar_view_.get()) 2607 if (bookmark_bar_view_.get())
2596 bookmark_bar_view_->MaybeStackAtTop(); 2608 bookmark_bar_view_->MaybeStackAtTop();
2597 } 2609 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698