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

Side by Side Diff: chrome/browser/ui/views/keyboard_overlay_delegate.h

Issue 6879006: Disable the context menu on the keyboard overlay and the print dialog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 9 years, 8 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_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 18 matching lines...) Expand all
29 virtual bool IsDialogModal() const; 29 virtual bool IsDialogModal() const;
30 virtual std::wstring GetDialogTitle() const; 30 virtual std::wstring GetDialogTitle() const;
31 virtual GURL GetDialogContentURL() const; 31 virtual GURL GetDialogContentURL() const;
32 virtual void GetWebUIMessageHandlers( 32 virtual void GetWebUIMessageHandlers(
33 std::vector<WebUIMessageHandler*>* handlers) const; 33 std::vector<WebUIMessageHandler*>* handlers) const;
34 virtual void GetDialogSize(gfx::Size* size) const; 34 virtual void GetDialogSize(gfx::Size* size) const;
35 virtual std::string GetDialogArgs() const; 35 virtual std::string GetDialogArgs() const;
36 virtual void OnDialogClosed(const std::string& json_retval); 36 virtual void OnDialogClosed(const std::string& json_retval);
37 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog); 37 virtual void OnCloseContents(TabContents* source, bool* out_close_dialog);
38 virtual bool ShouldShowDialogTitle() const; 38 virtual bool ShouldShowDialogTitle() const;
39 virtual bool HandleContextMenu(const ContextMenuParams& params);
39 40
40 // The dialog title. 41 // The dialog title.
41 std::wstring title_; 42 std::wstring title_;
42 43
43 // The view associated with this delegate. 44 // The view associated with this delegate.
44 // This class does not own the pointer. 45 // This class does not own the pointer.
45 HtmlDialogView* view_; 46 HtmlDialogView* view_;
46 47
47 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDelegate); 48 DISALLOW_COPY_AND_ASSIGN(KeyboardOverlayDelegate);
48 }; 49 };
49 50
50 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_ 51 #endif // CHROME_BROWSER_UI_VIEWS_KEYBOARD_OVERLAY_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_dialog_cloud_internal.h ('k') | chrome/browser/ui/views/keyboard_overlay_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698