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

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

Issue 21439: Fix for focus traversal issue in Gears dialogs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | « chrome/browser/views/frame/browser_view.h ('k') | chrome/browser/views/html_dialog_view.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) 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 "base/command_line.h" 5 #include "base/command_line.h"
6 6
7 #include "chrome/browser/views/frame/browser_view.h" 7 #include "chrome/browser/views/frame/browser_view.h"
8 8
9 #include "base/file_version_info.h" 9 #include "base/file_version_info.h"
10 #include "base/time.h" 10 #include "base/time.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 } 811 }
812 812
813 bool BrowserView::IsModal() const { 813 bool BrowserView::IsModal() const {
814 return false; 814 return false;
815 } 815 }
816 816
817 std::wstring BrowserView::GetWindowTitle() const { 817 std::wstring BrowserView::GetWindowTitle() const {
818 return browser_->GetCurrentPageTitle(); 818 return browser_->GetCurrentPageTitle();
819 } 819 }
820 820
821 views::View* BrowserView::GetInitiallyFocusedView() const { 821 views::View* BrowserView::GetInitiallyFocusedView() {
822 return toolbar_->GetLocationBarView(); 822 return toolbar_->GetLocationBarView();
823 } 823 }
824 824
825 bool BrowserView::ShouldShowWindowTitle() const { 825 bool BrowserView::ShouldShowWindowTitle() const {
826 return SupportsWindowFeature(FEATURE_TITLEBAR); 826 return SupportsWindowFeature(FEATURE_TITLEBAR);
827 } 827 }
828 828
829 SkBitmap BrowserView::GetWindowIcon() { 829 SkBitmap BrowserView::GetWindowIcon() {
830 if (browser_->type() == Browser::TYPE_APP) 830 if (browser_->type() == Browser::TYPE_APP)
831 return browser_->GetCurrentPageIcon(); 831 return browser_->GetCurrentPageIcon();
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after
1487 1487
1488 // static 1488 // static
1489 void BrowserView::InitClass() { 1489 void BrowserView::InitClass() {
1490 static bool initialized = false; 1490 static bool initialized = false;
1491 if (!initialized) { 1491 if (!initialized) {
1492 ResourceBundle& rb = ResourceBundle::GetSharedInstance(); 1492 ResourceBundle& rb = ResourceBundle::GetSharedInstance();
1493 default_favicon_ = *rb.GetBitmapNamed(IDR_DEFAULT_FAVICON); 1493 default_favicon_ = *rb.GetBitmapNamed(IDR_DEFAULT_FAVICON);
1494 initialized = true; 1494 initialized = true;
1495 } 1495 }
1496 } 1496 }
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/browser_view.h ('k') | chrome/browser/views/html_dialog_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698