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

Side by Side Diff: chrome/browser/views/html_dialog_view.h

Issue 525112: Implement HandleKeyboardEvent() method in HtmlDialog implementations.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/browser/gtk/html_dialog_gtk.cc ('k') | chrome/browser/views/html_dialog_view.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_VIEWS_HTML_DIALOG_VIEW_H_ 5 #ifndef CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_
6 #define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_ 6 #define CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 virtual GURL GetDialogContentURL() const; 61 virtual GURL GetDialogContentURL() const;
62 virtual void GetDOMMessageHandlers( 62 virtual void GetDOMMessageHandlers(
63 std::vector<DOMMessageHandler*>* handlers) const; 63 std::vector<DOMMessageHandler*>* handlers) const;
64 virtual void GetDialogSize(gfx::Size* size) const; 64 virtual void GetDialogSize(gfx::Size* size) const;
65 virtual std::string GetDialogArgs() const; 65 virtual std::string GetDialogArgs() const;
66 virtual void OnDialogClosed(const std::string& json_retval); 66 virtual void OnDialogClosed(const std::string& json_retval);
67 67
68 // Overridden from TabContentsDelegate: 68 // Overridden from TabContentsDelegate:
69 virtual void MoveContents(TabContents* source, const gfx::Rect& pos); 69 virtual void MoveContents(TabContents* source, const gfx::Rect& pos);
70 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating); 70 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating);
71 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event);
71 72
72 private: 73 private:
73 // This view is a delegate to the HTML content since it needs to get notified 74 // This view is a delegate to the HTML content since it needs to get notified
74 // about when the dialog is closing. For all other actions (besides dialog 75 // about when the dialog is closing. For all other actions (besides dialog
75 // closing) we delegate to the creator of this view, which we keep track of 76 // closing) we delegate to the creator of this view, which we keep track of
76 // using this variable. 77 // using this variable.
77 HtmlDialogUIDelegate* delegate_; 78 HtmlDialogUIDelegate* delegate_;
78 79
79 DISALLOW_COPY_AND_ASSIGN(HtmlDialogView); 80 DISALLOW_COPY_AND_ASSIGN(HtmlDialogView);
80 }; 81 };
81 82
82 #endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_ 83 #endif // CHROME_BROWSER_VIEWS_HTML_DIALOG_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/html_dialog_gtk.cc ('k') | chrome/browser/views/html_dialog_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698