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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window.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 "chrome/browser/ui/panels/panel_browser_window.h" 5 #include "chrome/browser/ui/panels/panel_browser_window.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_finder.h" 9 #include "chrome/browser/ui/browser_finder.h"
10 #include "chrome/browser/ui/panels/panel.h" 10 #include "chrome/browser/ui/panels/panel.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 bool PanelBrowserWindow::IsAlwaysOnTop() const { 111 bool PanelBrowserWindow::IsAlwaysOnTop() const {
112 return panel_->IsAlwaysOnTop(); 112 return panel_->IsAlwaysOnTop();
113 } 113 }
114 114
115 // ------------------------------------------------------------ 115 // ------------------------------------------------------------
116 // BrowserWindow interface - either does nothing, delegates to 116 // BrowserWindow interface - either does nothing, delegates to
117 // native panel, delegates to Panel (WebContents handling) 117 // native panel, delegates to Panel (WebContents handling)
118 // or invoke logic that has nothing to do with panels (GetDownloadShelf). 118 // or invoke logic that has nothing to do with panels (GetDownloadShelf).
119 // ----------------------------------------------------------- 119 // -----------------------------------------------------------
120 gfx::NativeWindow PanelBrowserWindow::GetNativeHandle() { 120 gfx::NativeWindow PanelBrowserWindow::GetNativeWindow() {
121 return native_panel_->GetNativePanelHandle(); 121 return native_panel_->GetNativePanelHandle();
122 } 122 }
123 123
124 BrowserWindowTesting* PanelBrowserWindow::GetBrowserWindowTesting() { 124 BrowserWindowTesting* PanelBrowserWindow::GetBrowserWindowTesting() {
125 NOTIMPLEMENTED(); 125 NOTIMPLEMENTED();
126 return NULL; 126 return NULL;
127 } 127 }
128 128
129 StatusBubble* PanelBrowserWindow::GetStatusBubble() { 129 StatusBubble* PanelBrowserWindow::GetStatusBubble() {
130 // TODO(jennb): Implement. http://crbug.com/102723 130 // TODO(jennb): Implement. http://crbug.com/102723
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 } 482 }
483 483
484 void PanelBrowserWindow::TabInsertedAt(TabContentsWrapper* contents, 484 void PanelBrowserWindow::TabInsertedAt(TabContentsWrapper* contents,
485 int index, 485 int index,
486 bool foreground) { 486 bool foreground) {
487 if (panel_->auto_resizable()) { 487 if (panel_->auto_resizable()) {
488 DCHECK_EQ(0, index); 488 DCHECK_EQ(0, index);
489 panel_->EnableWebContentsAutoResize(contents->web_contents()); 489 panel_->EnableWebContentsAutoResize(contents->web_contents());
490 } 490 }
491 } 491 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window.h ('k') | chrome/browser/ui/panels/panel_browser_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698