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

Unified Diff: chrome/browser/ui/views/frame/browser_view.cc

Issue 10914231: Map fullscreen button to maximize (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/frame/browser_view.cc
diff --git a/chrome/browser/ui/views/frame/browser_view.cc b/chrome/browser/ui/views/frame/browser_view.cc
index b10999d50311c864d81719c0d2cc5a1a7ef23f88..083d3208859397b2756d4ee6e72fe93e8ca99279 100644
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -439,6 +439,10 @@ gfx::Point BrowserView::OffsetPointForToolbarBackgroundImage(
return window_point;
}
+void BrowserView::RemoveFullScreenExitBubble() {
+ fullscreen_bubble_.reset();
+}
+
bool BrowserView::IsTabStripVisible() const {
return browser_->SupportsWindowFeature(Browser::FEATURE_TABSTRIP);
}
@@ -2430,10 +2434,6 @@ void BrowserView::UpdateAcceleratorMetrics(
else if (key_code == ui::VKEY_F3)
content::RecordAction(UserMetricsAction("Accel_Reload_F3"));
break;
- case IDC_FULLSCREEN:
- if (key_code == ui::VKEY_F4)
- content::RecordAction(UserMetricsAction("Accel_Fullscreen_F4"));
- break;
case IDC_FOCUS_LOCATION:
if (key_code == ui::VKEY_D)
content::RecordAction(UserMetricsAction("Accel_FocusLocation_D"));

Powered by Google App Engine
This is Rietveld 408576698