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

Side by Side Diff: content/shell/browser/shell.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/public/browser/web_contents_delegate.h ('k') | content/shell/browser/shell.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 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 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_ 4 #ifndef CONTENT_SHELL_BROWSER_SHELL_H_
5 #define CONTENT_SHELL_BROWSER_SHELL_H_ 5 #define CONTENT_SHELL_BROWSER_SHELL_H_
6 6
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // Registers the Android Java to native methods. 108 // Registers the Android Java to native methods.
109 static bool Register(JNIEnv* env); 109 static bool Register(JNIEnv* env);
110 #endif 110 #endif
111 111
112 // WebContentsDelegate 112 // WebContentsDelegate
113 WebContents* OpenURLFromTab(WebContents* source, 113 WebContents* OpenURLFromTab(WebContents* source,
114 const OpenURLParams& params) override; 114 const OpenURLParams& params) override;
115 void AddNewContents(WebContents* source, 115 void AddNewContents(WebContents* source,
116 WebContents* new_contents, 116 WebContents* new_contents,
117 WindowOpenDisposition disposition, 117 WindowOpenDisposition disposition,
118 const gfx::Rect& initial_pos, 118 const gfx::Rect& initial_rect,
119 bool user_gesture, 119 bool user_gesture,
120 bool* was_blocked) override; 120 bool* was_blocked) override;
121 void LoadingStateChanged(WebContents* source, 121 void LoadingStateChanged(WebContents* source,
122 bool to_different_document) override; 122 bool to_different_document) override;
123 #if defined(OS_ANDROID) 123 #if defined(OS_ANDROID)
124 virtual void LoadProgressChanged(WebContents* source, 124 virtual void LoadProgressChanged(WebContents* source,
125 double progress) override; 125 double progress) override;
126 #endif 126 #endif
127 void EnterFullscreenModeForTab(WebContents* web_contents, 127 void EnterFullscreenModeForTab(WebContents* web_contents,
128 const GURL& origin) override; 128 const GURL& origin) override;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 static base::Callback<void(Shell*)> shell_created_callback_; 255 static base::Callback<void(Shell*)> shell_created_callback_;
256 256
257 // True if the destructur of Shell should post a quit closure on the current 257 // True if the destructur of Shell should post a quit closure on the current
258 // message loop if the destructed Shell object was the last one. 258 // message loop if the destructed Shell object was the last one.
259 static bool quit_message_loop_; 259 static bool quit_message_loop_;
260 }; 260 };
261 261
262 } // namespace content 262 } // namespace content
263 263
264 #endif // CONTENT_SHELL_BROWSER_SHELL_H_ 264 #endif // CONTENT_SHELL_BROWSER_SHELL_H_
OLDNEW
« no previous file with comments | « content/public/browser/web_contents_delegate.h ('k') | content/shell/browser/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698