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

Side by Side Diff: chrome/browser/ui/views/extensions/extension_dialog.h

Issue 8692006: Fix for cant reopen file dialog after close it by x button or alt+f4 (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Remove redundant comment. Created 9 years 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 | « no previous file | chrome/browser/ui/views/extensions/extension_dialog.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_
6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // Sets the window title. 52 // Sets the window title.
53 void set_title(const string16& title) { window_title_ = title; } 53 void set_title(const string16& title) { window_title_ = title; }
54 54
55 ExtensionHost* host() const { return extension_host_.get(); } 55 ExtensionHost* host() const { return extension_host_.get(); }
56 56
57 // views::WidgetDelegate overrides. 57 // views::WidgetDelegate overrides.
58 virtual bool CanResize() const OVERRIDE; 58 virtual bool CanResize() const OVERRIDE;
59 virtual bool IsModal() const OVERRIDE; 59 virtual bool IsModal() const OVERRIDE;
60 virtual bool ShouldShowWindowTitle() const OVERRIDE; 60 virtual bool ShouldShowWindowTitle() const OVERRIDE;
61 virtual string16 GetWindowTitle() const OVERRIDE; 61 virtual string16 GetWindowTitle() const OVERRIDE;
62 virtual void WindowClosing() OVERRIDE;
62 virtual void DeleteDelegate() OVERRIDE; 63 virtual void DeleteDelegate() OVERRIDE;
63 virtual views::Widget* GetWidget() OVERRIDE; 64 virtual views::Widget* GetWidget() OVERRIDE;
64 virtual const views::Widget* GetWidget() const OVERRIDE; 65 virtual const views::Widget* GetWidget() const OVERRIDE;
65 virtual views::View* GetContentsView() OVERRIDE; 66 virtual views::View* GetContentsView() OVERRIDE;
66 67
67 // content::NotificationObserver overrides. 68 // content::NotificationObserver overrides.
68 virtual void Observe(int type, 69 virtual void Observe(int type,
69 const content::NotificationSource& source, 70 const content::NotificationSource& source,
70 const content::NotificationDetails& details) OVERRIDE; 71 const content::NotificationDetails& details) OVERRIDE;
71 72
(...skipping 17 matching lines...) Expand all
89 90
90 content::NotificationRegistrar registrar_; 91 content::NotificationRegistrar registrar_;
91 92
92 // The observer of this popup. 93 // The observer of this popup.
93 ExtensionDialogObserver* observer_; 94 ExtensionDialogObserver* observer_;
94 95
95 DISALLOW_COPY_AND_ASSIGN(ExtensionDialog); 96 DISALLOW_COPY_AND_ASSIGN(ExtensionDialog);
96 }; 97 };
97 98
98 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_ 99 #endif // CHROME_BROWSER_UI_VIEWS_EXTENSIONS_EXTENSION_DIALOG_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/views/extensions/extension_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698