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

Side by Side Diff: chrome/browser/ui/apps/chrome_app_delegate.h

Issue 889403004: Rename initial_pos to initial_rect in ShowWidget and ShowView IPCs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 10 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 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 "base/callback.h" 8 #include "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "content/public/browser/notification_observer.h" 10 #include "content/public/browser/notification_observer.h"
(...skipping 22 matching lines...) Expand all
33 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 33 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
34 void ResizeWebContents(content::WebContents* web_contents, 34 void ResizeWebContents(content::WebContents* web_contents,
35 const gfx::Size& size) override; 35 const gfx::Size& size) override;
36 content::WebContents* OpenURLFromTab( 36 content::WebContents* OpenURLFromTab(
37 content::BrowserContext* context, 37 content::BrowserContext* context,
38 content::WebContents* source, 38 content::WebContents* source,
39 const content::OpenURLParams& params) override; 39 const content::OpenURLParams& params) override;
40 void AddNewContents(content::BrowserContext* context, 40 void AddNewContents(content::BrowserContext* context,
41 content::WebContents* new_contents, 41 content::WebContents* new_contents,
42 WindowOpenDisposition disposition, 42 WindowOpenDisposition disposition,
43 const gfx::Rect& initial_pos, 43 const gfx::Rect& initial_rect,
44 bool user_gesture, 44 bool user_gesture,
45 bool* was_blocked) override; 45 bool* was_blocked) override;
46 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, 46 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
47 SkColor initial_color) override; 47 SkColor initial_color) override;
48 void RunFileChooser(content::WebContents* tab, 48 void RunFileChooser(content::WebContents* tab,
49 const content::FileChooserParams& params) override; 49 const content::FileChooserParams& params) override;
50 void RequestMediaAccessPermission( 50 void RequestMediaAccessPermission(
51 content::WebContents* web_contents, 51 content::WebContents* web_contents,
52 const content::MediaStreamRequest& request, 52 const content::MediaStreamRequest& request,
53 const content::MediaResponseCallback& callback, 53 const content::MediaResponseCallback& callback,
(...skipping 16 matching lines...) Expand all
70 70
71 scoped_ptr<ScopedKeepAlive> keep_alive_; 71 scoped_ptr<ScopedKeepAlive> keep_alive_;
72 scoped_ptr<NewWindowContentsDelegate> new_window_contents_delegate_; 72 scoped_ptr<NewWindowContentsDelegate> new_window_contents_delegate_;
73 base::Closure terminating_callback_; 73 base::Closure terminating_callback_;
74 content::NotificationRegistrar registrar_; 74 content::NotificationRegistrar registrar_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate); 76 DISALLOW_COPY_AND_ASSIGN(ChromeAppDelegate);
77 }; 77 };
78 78
79 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_ 79 #endif // CHROME_BROWSER_UI_APPS_CHROME_APP_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tab_util.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