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

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

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 8 years, 11 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) 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_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 21 matching lines...) Expand all
32 virtual ~HtmlDialogGtk(); 32 virtual ~HtmlDialogGtk();
33 33
34 // Initializes the contents of the dialog (the DOMView and the callbacks). 34 // Initializes the contents of the dialog (the DOMView and the callbacks).
35 gfx::NativeWindow InitDialog(); 35 gfx::NativeWindow InitDialog();
36 36
37 // Overridden from HtmlDialogUIDelegate: 37 // Overridden from HtmlDialogUIDelegate:
38 virtual bool IsDialogModal() const OVERRIDE; 38 virtual bool IsDialogModal() const OVERRIDE;
39 virtual string16 GetDialogTitle() const OVERRIDE; 39 virtual string16 GetDialogTitle() const OVERRIDE;
40 virtual GURL GetDialogContentURL() const OVERRIDE; 40 virtual GURL GetDialogContentURL() const OVERRIDE;
41 virtual void GetWebUIMessageHandlers( 41 virtual void GetWebUIMessageHandlers(
42 std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE; 42 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE;
43 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; 43 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
44 virtual std::string GetDialogArgs() const OVERRIDE; 44 virtual std::string GetDialogArgs() const OVERRIDE;
45 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; 45 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
46 virtual void OnCloseContents(content::WebContents* source, 46 virtual void OnCloseContents(content::WebContents* source,
47 bool* out_close_dialog) OVERRIDE; 47 bool* out_close_dialog) OVERRIDE;
48 virtual bool ShouldShowDialogTitle() const OVERRIDE; 48 virtual bool ShouldShowDialogTitle() const OVERRIDE;
49 49
50 // Overridden from content::WebContentsDelegate: 50 // Overridden from content::WebContentsDelegate:
51 virtual void HandleKeyboardEvent( 51 virtual void HandleKeyboardEvent(
52 const NativeWebKeyboardEvent& event) OVERRIDE; 52 const NativeWebKeyboardEvent& event) OVERRIDE;
(...skipping 12 matching lines...) Expand all
65 65
66 GtkWidget* dialog_; 66 GtkWidget* dialog_;
67 67
68 scoped_ptr<TabContentsWrapper> tab_; 68 scoped_ptr<TabContentsWrapper> tab_;
69 scoped_ptr<TabContentsContainerGtk> tab_contents_container_; 69 scoped_ptr<TabContentsContainerGtk> tab_contents_container_;
70 70
71 DISALLOW_COPY_AND_ASSIGN(HtmlDialogGtk); 71 DISALLOW_COPY_AND_ASSIGN(HtmlDialogGtk);
72 }; 72 };
73 73
74 #endif // CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_ 74 #endif // CHROME_BROWSER_UI_GTK_HTML_DIALOG_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/html_dialog_window_controller_unittest.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