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

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

Issue 10538039: Renamed BrowserWindow::GetNativeHandle() to GetNativeWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update copyrights Created 8 years, 6 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 "base/i18n/time_formatting.h" 5 #include "base/i18n/time_formatting.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "chrome/browser/extensions/extension_service.h" 7 #include "chrome/browser/extensions/extension_service.h"
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/browser/ui/panels/base_panel_browser_test.h" 10 #include "chrome/browser/ui/panels/base_panel_browser_test.h"
(...skipping 30 matching lines...) Expand all
41 41
42 gfx::Rect GetViewBounds(Panel* panel) const { 42 gfx::Rect GetViewBounds(Panel* panel) const {
43 return GetBrowserView(panel)->GetBounds(); 43 return GetBrowserView(panel)->GetBounds();
44 } 44 }
45 45
46 void SetViewBounds(Panel* panel, const gfx::Rect& rect) const { 46 void SetViewBounds(Panel* panel, const gfx::Rect& rect) const {
47 return GetBrowserView(panel)->SetPanelBounds(rect); 47 return GetBrowserView(panel)->SetPanelBounds(rect);
48 } 48 }
49 49
50 gfx::NativeWindow GetNativeWindow(Panel* panel) const { 50 gfx::NativeWindow GetNativeWindow(Panel* panel) const {
51 return GetBrowserView(panel)->GetNativeHandle(); 51 return GetBrowserView(panel)->GetNativeWindow();
52 } 52 }
53 53
54 PanelBoundsAnimation* GetBoundsAnimator(Panel* panel) const { 54 PanelBoundsAnimation* GetBoundsAnimator(Panel* panel) const {
55 return GetBrowserView(panel)->bounds_animator_.get(); 55 return GetBrowserView(panel)->bounds_animator_.get();
56 } 56 }
57 57
58 int GetTitlebarHeight(Panel* panel) const { 58 int GetTitlebarHeight(Panel* panel) const {
59 PanelBrowserFrameView* frame_view = GetBrowserView(panel)->GetFrameView(); 59 PanelBrowserFrameView* frame_view = GetBrowserView(panel)->GetFrameView();
60 return frame_view->NonClientTopBorderHeight() - 60 return frame_view->NonClientTopBorderHeight() -
61 frame_view->NonClientBorderThickness(); 61 frame_view->NonClientBorderThickness();
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, 478 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest,
479 MinimizeAndRestoreOnAutoHideTaskBar) { 479 MinimizeAndRestoreOnAutoHideTaskBar) {
480 TestMinimizeAndRestore(true); 480 TestMinimizeAndRestore(true);
481 } 481 }
482 482
483 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest, 483 IN_PROC_BROWSER_TEST_F(PanelBrowserViewTest,
484 ChangeAutoHideTaskBarThickness) { 484 ChangeAutoHideTaskBarThickness) {
485 TestChangeAutoHideTaskBarThickness(); 485 TestChangeAutoHideTaskBarThickness();
486 } 486 }
487 #endif 487 #endif
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_view.cc ('k') | chrome/browser/ui/panels/panel_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698