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

Unified Diff: chrome/browser/views/first_run_bubble.h

Issue 48138: Bug 4688: First run bubble ignores user's keyboard attempt... (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/views/first_run_bubble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/first_run_bubble.h
===================================================================
--- chrome/browser/views/first_run_bubble.h (revision 11964)
+++ chrome/browser/views/first_run_bubble.h (working copy)
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_BUBBLE_H__
-#define CHROME_BROWSER_VIEWS_FIRST_RUN_BUBBLE_H__
+#ifndef CHROME_BROWSER_VIEWS_FIRST_RUN_BUBBLE_H_
+#define CHROME_BROWSER_VIEWS_FIRST_RUN_BUBBLE_H_
#include "base/task.h"
#include "chrome/browser/views/info_bubble.h"
+class FirstRunBubbleView;
class Profile;
class FirstRunBubble : public InfoBubble,
@@ -18,7 +19,8 @@
FirstRunBubble()
: enable_window_method_factory_(this),
- has_been_activated_(false) {
+ has_been_activated_(false),
+ view_(NULL) {
}
virtual ~FirstRunBubble() {
@@ -27,6 +29,8 @@
enable_window_method_factory_.RevokeAll();
}
+ void set_view(FirstRunBubbleView* view) { view_ = view; }
+
// Overridden from InfoBubble:
virtual void OnActivate(UINT action, BOOL minimized, HWND window);
@@ -44,7 +48,10 @@
ScopedRunnableMethodFactory<FirstRunBubble> enable_window_method_factory_;
- DISALLOW_EVIL_CONSTRUCTORS(FirstRunBubble);
+ // The view inside the FirstRunBubble.
+ FirstRunBubbleView* view_;
+
+ DISALLOW_COPY_AND_ASSIGN(FirstRunBubble);
};
-#endif // CHROME_BROWSER_VIEWS_FIRST_RUN_BUBBLE_H__
+#endif // CHROME_BROWSER_VIEWS_FIRST_RUN_BUBBLE_H_
« no previous file with comments | « no previous file | chrome/browser/views/first_run_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698