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

Side by Side Diff: extensions/browser/app_window/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
« no previous file with comments | « content/test/test_web_contents.cc ('k') | extensions/browser/app_window/app_window.h » ('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 EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "content/public/common/media_stream_request.h" 9 #include "content/public/common/media_stream_request.h"
10 #include "third_party/skia/include/core/SkColor.h" 10 #include "third_party/skia/include/core/SkColor.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 const gfx::Size& size) = 0; 43 const gfx::Size& size) = 0;
44 44
45 // Link handling. 45 // Link handling.
46 virtual content::WebContents* OpenURLFromTab( 46 virtual content::WebContents* OpenURLFromTab(
47 content::BrowserContext* context, 47 content::BrowserContext* context,
48 content::WebContents* source, 48 content::WebContents* source,
49 const content::OpenURLParams& params) = 0; 49 const content::OpenURLParams& params) = 0;
50 virtual void AddNewContents(content::BrowserContext* context, 50 virtual void AddNewContents(content::BrowserContext* context,
51 content::WebContents* new_contents, 51 content::WebContents* new_contents,
52 WindowOpenDisposition disposition, 52 WindowOpenDisposition disposition,
53 const gfx::Rect& initial_pos, 53 const gfx::Rect& initial_rect,
54 bool user_gesture, 54 bool user_gesture,
55 bool* was_blocked) = 0; 55 bool* was_blocked) = 0;
56 56
57 // Feature support. 57 // Feature support.
58 virtual content::ColorChooser* ShowColorChooser( 58 virtual content::ColorChooser* ShowColorChooser(
59 content::WebContents* web_contents, 59 content::WebContents* web_contents,
60 SkColor initial_color) = 0; 60 SkColor initial_color) = 0;
61 virtual void RunFileChooser(content::WebContents* tab, 61 virtual void RunFileChooser(content::WebContents* tab,
62 const content::FileChooserParams& params) = 0; 62 const content::FileChooserParams& params) = 0;
63 virtual void RequestMediaAccessPermission( 63 virtual void RequestMediaAccessPermission(
(...skipping 12 matching lines...) Expand all
76 bool blocked) = 0; 76 bool blocked) = 0;
77 virtual bool IsWebContentsVisible(content::WebContents* web_contents) = 0; 77 virtual bool IsWebContentsVisible(content::WebContents* web_contents) = 0;
78 78
79 // |callback| will be called when the process is about to terminate. 79 // |callback| will be called when the process is about to terminate.
80 virtual void SetTerminatingCallback(const base::Closure& callback) = 0; 80 virtual void SetTerminatingCallback(const base::Closure& callback) = 0;
81 }; 81 };
82 82
83 } // namespace extensions 83 } // namespace extensions
84 84
85 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_ 85 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/test/test_web_contents.cc ('k') | extensions/browser/app_window/app_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698