Index: chrome/browser/gtk/focus_store_gtk.h |
diff --git a/chrome/browser/gtk/focus_store_gtk.h b/chrome/browser/gtk/focus_store_gtk.h |
index ce3b68b1d7ec4908e0e3418d05969ce1d4988d60..2159f1eb73ddd30e2db6d7908eae45408e3fa18b 100644 |
--- a/chrome/browser/gtk/focus_store_gtk.h |
+++ b/chrome/browser/gtk/focus_store_gtk.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -19,9 +19,12 @@ class FocusStoreGtk { |
GtkWidget* widget() const { return widget_; } |
// Save the widget that is currently focused for |widget|'s toplevel (NOT |
- // |widget|). Call with NULL to clear |widget_|. |
+ // |widget|). |
void Store(GtkWidget* widget); |
+ // Save |widget| as the focus widget. Call with NULL to clear |widget_|. |
+ void SetWidget(GtkWidget* widget); |
+ |
private: |
// Disconnect the previous destroy handler (if any). |
void DisconnectDestroyHandler(); |