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

Side by Side Diff: chrome/browser/ui/gtk/html_dialog_gtk.h

Issue 9569001: WebUI TaskManager: Add method to set minimum window size on HTMLDialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: prevent from failing the tests Created 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_GTK_HTML_DIALOG_GTK_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_
6 #define CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ 6 #define CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 27 matching lines...) Expand all
38 // Initializes the contents of the dialog (the DOMView and the callbacks). 38 // Initializes the contents of the dialog (the DOMView and the callbacks).
39 gfx::NativeWindow InitDialog(); 39 gfx::NativeWindow InitDialog();
40 40
41 // Overridden from HtmlDialogUIDelegate: 41 // Overridden from HtmlDialogUIDelegate:
42 virtual ui::ModalType GetDialogModalType() const OVERRIDE; 42 virtual ui::ModalType GetDialogModalType() const OVERRIDE;
43 virtual string16 GetDialogTitle() const OVERRIDE; 43 virtual string16 GetDialogTitle() const OVERRIDE;
44 virtual GURL GetDialogContentURL() const OVERRIDE; 44 virtual GURL GetDialogContentURL() const OVERRIDE;
45 virtual void GetWebUIMessageHandlers( 45 virtual void GetWebUIMessageHandlers(
46 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE; 46 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE;
47 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 47 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
48 virtual void GetMinimumDialogSize(gfx::Size* size) const OVERRIDE;
48 virtual std::string GetDialogArgs() const OVERRIDE; 49 virtual std::string GetDialogArgs() const OVERRIDE;
49 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 50 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
50 virtual void OnCloseContents(content::WebContents* source, 51 virtual void OnCloseContents(content::WebContents* source,
51 bool* out_close_dialog) OVERRIDE; 52 bool* out_close_dialog) OVERRIDE;
52 virtual bool ShouldShowDialogTitle() const OVERRIDE; 53 virtual bool ShouldShowDialogTitle() const OVERRIDE;
53 54
54 // Overridden from content::WebContentsDelegate: 55 // Overridden from content::WebContentsDelegate:
55 virtual void HandleKeyboardEvent( 56 virtual void HandleKeyboardEvent(
56 const NativeWebKeyboardEvent& event) OVERRIDE; 57 const NativeWebKeyboardEvent& event) OVERRIDE;
57 virtual void CloseContents(content::WebContents* source) OVERRIDE; 58 virtual void CloseContents(content::WebContents* source) OVERRIDE;
(...skipping 21 matching lines...) Expand all
79 GtkWidget* dialog_; 80 GtkWidget* dialog_;
80 81
81 scoped_ptr<HtmlDialogController> dialog_controller_; 82 scoped_ptr<HtmlDialogController> dialog_controller_;
82 scoped_ptr<TabContentsWrapper> tab_; 83 scoped_ptr<TabContentsWrapper> tab_;
83 scoped_ptr<TabContentsContainerGtk> tab_contents_container_; 84 scoped_ptr<TabContentsContainerGtk> tab_contents_container_;
84 85
85 DISALLOW_COPY_AND_ASSIGN(HtmlDialogGtk); 86 DISALLOW_COPY_AND_ASSIGN(HtmlDialogGtk);
86 }; 87 };
87 88
88 #endif // CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ 89 #endif // CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/html_dialog_window_controller.mm ('k') | chrome/browser/ui/gtk/html_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698