| OLD | NEW |
| 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_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/webui/html_dialog_ui.h" | 8 #include "chrome/browser/ui/webui/html_dialog_ui.h" |
| 9 | 9 |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 virtual string16 GetDialogTitle() const OVERRIDE; | 30 virtual string16 GetDialogTitle() const OVERRIDE; |
| 31 virtual GURL GetDialogContentURL() const OVERRIDE; | 31 virtual GURL GetDialogContentURL() const OVERRIDE; |
| 32 virtual void GetWebUIMessageHandlers( | 32 virtual void GetWebUIMessageHandlers( |
| 33 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE; | 33 std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE; |
| 34 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; | 34 virtual void GetDialogSize(gfx::Size* size) const OVERRIDE; |
| 35 virtual std::string GetDialogArgs() const OVERRIDE; | 35 virtual std::string GetDialogArgs() const OVERRIDE; |
| 36 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; | 36 virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE; |
| 37 virtual void OnCloseContents(content::WebContents* source, | 37 virtual void OnCloseContents(content::WebContents* source, |
| 38 bool* out_close_dialog) OVERRIDE; | 38 bool* out_close_dialog) OVERRIDE; |
| 39 virtual bool ShouldShowDialogTitle() const OVERRIDE; | 39 virtual bool ShouldShowDialogTitle() const OVERRIDE; |
| 40 virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE; | 40 virtual bool HandleContextMenu( |
| 41 const content::ContextMenuParams& params) OVERRIDE; |
| 41 | 42 |
| 42 // The dialog title. | 43 // The dialog title. |
| 43 string16 title_; | 44 string16 title_; |
| 44 | 45 |
| 45 // The view associated with this delegate. | 46 // The view associated with this delegate. |
| 46 // This class does not own the pointer. | 47 // This class does not own the pointer. |
| 47 HtmlDialogView* view_; | 48 HtmlDialogView* view_; |
| 48 | 49 |
| 49 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDelegate); | 50 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDelegate); |
| 50 }; | 51 }; |
| 51 | 52 |
| 52 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ | 53 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ |
| OLD | NEW |