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

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

Issue 42190: Linux accelerators cleanup (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 9 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_version_info.h" 8 #include "base/file_version_info.h"
9 #include "base/time.h" 9 #include "base/time.h"
10 #include "chrome/app/chrome_dll_resource.h" 10 #include "chrome/app/chrome_dll_resource.h"
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 void BrowserView::FlashFrame() { 525 void BrowserView::FlashFrame() {
526 FLASHWINFO fwi; 526 FLASHWINFO fwi;
527 fwi.cbSize = sizeof(fwi); 527 fwi.cbSize = sizeof(fwi);
528 fwi.hwnd = frame_->GetNativeView(); 528 fwi.hwnd = frame_->GetNativeView();
529 fwi.dwFlags = FLASHW_ALL; 529 fwi.dwFlags = FLASHW_ALL;
530 fwi.uCount = 4; 530 fwi.uCount = 4;
531 fwi.dwTimeout = 0; 531 fwi.dwTimeout = 0;
532 FlashWindowEx(&fwi); 532 FlashWindowEx(&fwi);
533 } 533 }
534 534
535 void* BrowserView::GetNativeHandle() { 535 gfx::NativeWindow BrowserView::GetNativeHandle() {
536 return GetWidget()->GetNativeView(); 536 return GetWidget()->GetNativeView();
537 } 537 }
538 538
539 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() { 539 BrowserWindowTesting* BrowserView::GetBrowserWindowTesting() {
540 return this; 540 return this;
541 } 541 }
542 542
543 StatusBubble* BrowserView::GetStatusBubble() { 543 StatusBubble* BrowserView::GetStatusBubble() {
544 return status_bubble_.get(); 544 return status_bubble_.get();
545 } 545 }
(...skipping 1083 matching lines...) Expand 10 before | Expand all | Expand 10 after
1629 initialized = true; 1629 initialized = true;
1630 } 1630 }
1631 } 1631 }
1632 1632
1633 // static 1633 // static
1634 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) { 1634 BrowserWindow* BrowserWindow::CreateBrowserWindow(Browser* browser) {
1635 BrowserView* browser_view = new BrowserView(browser); 1635 BrowserView* browser_view = new BrowserView(browser);
1636 (new BrowserFrame(browser_view))->Init(); 1636 (new BrowserFrame(browser_view))->Init();
1637 return browser_view; 1637 return browser_view;
1638 } 1638 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698