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

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

Issue 207057: Implements a couple of NOTIMPLEMENTEDs in window_gtk and comments on... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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
« no previous file with comments | « no previous file | views/window/window.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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/views/frame/browser_view.h" 5 #include "chrome/browser/views/frame/browser_view.h"
6 6
7 #include "app/drag_drop_types.h" 7 #include "app/drag_drop_types.h"
8 #include "app/gfx/canvas.h" 8 #include "app/gfx/canvas.h"
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/os_exchange_data.h" 10 #include "app/os_exchange_data.h"
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 void BrowserView::FlashFrame() { 723 void BrowserView::FlashFrame() {
724 #if defined(OS_WIN) 724 #if defined(OS_WIN)
725 FLASHWINFO fwi; 725 FLASHWINFO fwi;
726 fwi.cbSize = sizeof(fwi); 726 fwi.cbSize = sizeof(fwi);
727 fwi.hwnd = frame_->GetWindow()->GetNativeWindow(); 727 fwi.hwnd = frame_->GetWindow()->GetNativeWindow();
728 fwi.dwFlags = FLASHW_ALL; 728 fwi.dwFlags = FLASHW_ALL;
729 fwi.uCount = 4; 729 fwi.uCount = 4;
730 fwi.dwTimeout = 0; 730 fwi.dwTimeout = 0;
731 FlashWindowEx(&fwi); 731 FlashWindowEx(&fwi);
732 #else 732 #else
733 NOTIMPLEMENTED(); 733 // Doesn't matter for chrome os.
734 #endif 734 #endif
735 } 735 }
736 736
737 gfx::NativeWindow BrowserView::GetNativeHandle() { 737 gfx::NativeWindow BrowserView::GetNativeHandle() {
738 return GetWidget()->GetWindow()->GetNativeWindow(); 738 return GetWidget()->GetWindow()->GetNativeWindow();
739 } 739 }
740 740
741 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { 741 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() {
742 return this; 742 return this;
743 } 743 }
(...skipping 1419 matching lines...) Expand 10 before | Expand all | Expand 10 after
2163 2163
2164 // static 2164 // static
2165 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { 2165 FindBar* BrowserWindow::CreateFindBar(Browser* browser) {
2166 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); 2166 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window()));
2167 } 2167 }
2168 2168
2169 // static 2169 // static
2170 void BrowserList::AllBrowsersClosed() { 2170 void BrowserList::AllBrowsersClosed() {
2171 views::Window::CloseAllSecondaryWindows(); 2171 views::Window::CloseAllSecondaryWindows();
2172 } 2172 }
OLDNEW
« no previous file with comments | « no previous file | views/window/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698