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

Side by Side Diff: chrome/browser/extensions/extension_view_host.h

Issue 2059533002: Change WebContentsDelegate::RunFileChooser to be frame based. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes based on reviews. Created 4 years, 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_EXTENSIONS_EXTENSION_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 bool* is_keyboard_shortcut) override; 72 bool* is_keyboard_shortcut) override;
73 void HandleKeyboardEvent( 73 void HandleKeyboardEvent(
74 content::WebContents* source, 74 content::WebContents* source,
75 const content::NativeWebKeyboardEvent& event) override; 75 const content::NativeWebKeyboardEvent& event) override;
76 bool PreHandleGestureEvent(content::WebContents* source, 76 bool PreHandleGestureEvent(content::WebContents* source,
77 const blink::WebGestureEvent& event) override; 77 const blink::WebGestureEvent& event) override;
78 content::ColorChooser* OpenColorChooser( 78 content::ColorChooser* OpenColorChooser(
79 content::WebContents* web_contents, 79 content::WebContents* web_contents,
80 SkColor color, 80 SkColor color,
81 const std::vector<content::ColorSuggestion>& suggestions) override; 81 const std::vector<content::ColorSuggestion>& suggestions) override;
82 void RunFileChooser(content::WebContents* tab, 82 void RunFileChooser(content::RenderFrameHost* render_frame_host,
83 const content::FileChooserParams& params) override; 83 const content::FileChooserParams& params) override;
84 void ResizeDueToAutoResize(content::WebContents* source, 84 void ResizeDueToAutoResize(content::WebContents* source,
85 const gfx::Size& new_size) override; 85 const gfx::Size& new_size) override;
86 86
87 // content::WebContentsObserver 87 // content::WebContentsObserver
88 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 88 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
89 89
90 // web_modal::WebContentsModalDialogManagerDelegate 90 // web_modal::WebContentsModalDialogManagerDelegate
91 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() 91 web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost()
92 override; 92 override;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 associated_web_contents_observer_; 127 associated_web_contents_observer_;
128 128
129 content::NotificationRegistrar registrar_; 129 content::NotificationRegistrar registrar_;
130 130
131 DISALLOW_COPY_AND_ASSIGN(ExtensionViewHost); 131 DISALLOW_COPY_AND_ASSIGN(ExtensionViewHost);
132 }; 132 };
133 133
134 } // namespace extensions 134 } // namespace extensions
135 135
136 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_ 136 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/devtools_window.cc ('k') | chrome/browser/extensions/extension_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698