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

Side by Side Diff: chrome/browser/ui/apps/chrome_app_delegate.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
« no previous file with comments | « chrome/browser/file_select_helper.cc ('k') | chrome/browser/ui/apps/chrome_app_delegate.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_APPS_CHROME_APP_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_
6 #define CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ 6 #define CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 content::WebContents* source, 44 content::WebContents* source,
45 const content::OpenURLParams& params) override; 45 const content::OpenURLParams& params) override;
46 void AddNewContents(content::BrowserContext* context, 46 void AddNewContents(content::BrowserContext* context,
47 content::WebContents* new_contents, 47 content::WebContents* new_contents,
48 WindowOpenDisposition disposition, 48 WindowOpenDisposition disposition,
49 const gfx::Rect& initial_rect, 49 const gfx::Rect& initial_rect,
50 bool user_gesture, 50 bool user_gesture,
51 bool* was_blocked) override; 51 bool* was_blocked) override;
52 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, 52 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
53 SkColor initial_color) override; 53 SkColor initial_color) override;
54 void RunFileChooser(content::WebContents* tab, 54 void RunFileChooser(content::RenderFrameHost* render_frame_host,
55 const content::FileChooserParams& params) override; 55 const content::FileChooserParams& params) override;
56 void RequestMediaAccessPermission( 56 void RequestMediaAccessPermission(
57 content::WebContents* web_contents, 57 content::WebContents* web_contents,
58 const content::MediaStreamRequest& request, 58 const content::MediaStreamRequest& request,
59 const content::MediaResponseCallback& callback, 59 const content::MediaResponseCallback& callback,
60 const extensions::Extension* extension) override; 60 const extensions::Extension* extension) override;
61 bool CheckMediaAccessPermission( 61 bool CheckMediaAccessPermission(
62 content::WebContents* web_contents, 62 content::WebContents* web_contents,
63 const GURL& security_origin, 63 const GURL& security_origin,
64 content::MediaStreamType type, 64 content::MediaStreamType type,
(...skipping 16 matching lines...) Expand all
81 std::unique_ptr<ScopedKeepAlive> keep_alive_; 81 std::unique_ptr<ScopedKeepAlive> keep_alive_;
82 std::unique_ptr<NewWindowContentsDelegate> new_window_contents_delegate_; 82 std::unique_ptr<NewWindowContentsDelegate> new_window_contents_delegate_;
83 base::Closure terminating_callback_; 83 base::Closure terminating_callback_;
84 content::NotificationRegistrar registrar_; 84 content::NotificationRegistrar registrar_;
85 base::WeakPtrFactory<ChromeAppDelegate> weak_factory_; 85 base::WeakPtrFactory<ChromeAppDelegate> weak_factory_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate); 87 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate);
88 }; 88 };
89 89
90 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ 90 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/file_select_helper.cc ('k') | chrome/browser/ui/apps/chrome_app_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698