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

Side by Side Diff: extensions/shell/browser/shell_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 EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
7 7
8 #include "extensions/browser/app_window/app_delegate.h" 8 #include "extensions/browser/app_window/app_delegate.h"
9 #include "content/public/browser/web_contents_observer.h" 9 #include "content/public/browser/web_contents_observer.h"
10 10
(...skipping 11 matching lines...) Expand all
22 void RenderViewCreated(content::RenderViewHost* render_view_host) override; 22 void RenderViewCreated(content::RenderViewHost* render_view_host) override;
23 void ResizeWebContents(content::WebContents* web_contents, 23 void ResizeWebContents(content::WebContents* web_contents,
24 const gfx::Size& size) override; 24 const gfx::Size& size) override;
25 content::WebContents* OpenURLFromTab( 25 content::WebContents* OpenURLFromTab(
26 content::BrowserContext* context, 26 content::BrowserContext* context,
27 content::WebContents* source, 27 content::WebContents* source,
28 const content::OpenURLParams& params) override; 28 const content::OpenURLParams& params) override;
29 void AddNewContents(content::BrowserContext* context, 29 void AddNewContents(content::BrowserContext* context,
30 content::WebContents* new_contents, 30 content::WebContents* new_contents,
31 WindowOpenDisposition disposition, 31 WindowOpenDisposition disposition,
32 const gfx::Rect& initial_pos, 32 const gfx::Rect& initial_rect,
33 bool user_gesture, 33 bool user_gesture,
34 bool* was_blocked) override; 34 bool* was_blocked) override;
35 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents, 35 content::ColorChooser* ShowColorChooser(content::WebContents* web_contents,
36 SkColor initial_color) override; 36 SkColor initial_color) override;
37 void RunFileChooser(content::WebContents* tab, 37 void RunFileChooser(content::WebContents* tab,
38 const content::FileChooserParams& params) override; 38 const content::FileChooserParams& params) override;
39 void RequestMediaAccessPermission( 39 void RequestMediaAccessPermission(
40 content::WebContents* web_contents, 40 content::WebContents* web_contents,
41 const content::MediaStreamRequest& request, 41 const content::MediaStreamRequest& request,
42 const content::MediaResponseCallback& callback, 42 const content::MediaResponseCallback& callback,
43 const Extension* extension) override; 43 const Extension* extension) override;
44 bool CheckMediaAccessPermission(content::WebContents* web_contents, 44 bool CheckMediaAccessPermission(content::WebContents* web_contents,
45 const GURL& security_origin, 45 const GURL& security_origin,
46 content::MediaStreamType type, 46 content::MediaStreamType type,
47 const Extension* extension) override; 47 const Extension* extension) override;
48 int PreferredIconSize() override; 48 int PreferredIconSize() override;
49 void SetWebContentsBlocked(content::WebContents* web_contents, 49 void SetWebContentsBlocked(content::WebContents* web_contents,
50 bool blocked) override; 50 bool blocked) override;
51 bool IsWebContentsVisible(content::WebContents* web_contents) override; 51 bool IsWebContentsVisible(content::WebContents* web_contents) override;
52 void SetTerminatingCallback(const base::Closure& callback) override; 52 void SetTerminatingCallback(const base::Closure& callback) override;
53 53
54 private: 54 private:
55 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate); 55 DISALLOW_COPY_AND_ASSIGN(ShellAppDelegate);
56 }; 56 };
57 57
58 } // namespace extensions 58 } // namespace extensions
59 59
60 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_ 60 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_APP_DELEGATE_H_
OLDNEW
« no previous file with comments | « extensions/browser/guest_view/web_view/web_view_guest.cc ('k') | extensions/shell/browser/shell_app_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698