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

Side by Side Diff: chrome/browser/platform_util_android.cc

Issue 107033003: Stop using GetDefaultProfile() in Chrome OS implementation of platform_util::OpenExternal() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove is_valid check Created 7 years 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/platform_util.h ('k') | chrome/browser/platform_util_chromeos.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/logging.h" 5 #include "base/logging.h"
6 #include "chrome/browser/platform_util.h" 6 #include "chrome/browser/platform_util.h"
7 #include "ui/base/android/view_android.h" 7 #include "ui/base/android/view_android.h"
8 8
9 namespace platform_util { 9 namespace platform_util {
10 10
11 // TODO: crbug/115682 to track implementation of the following methods. 11 // TODO: crbug/115682 to track implementation of the following methods.
12 12
13 void ShowItemInFolder(const base::FilePath& full_path) { 13 void ShowItemInFolder(const base::FilePath& full_path) {
14 NOTIMPLEMENTED(); 14 NOTIMPLEMENTED();
15 } 15 }
16 16
17 void OpenItem(const base::FilePath& full_path) { 17 void OpenItem(const base::FilePath& full_path) {
18 NOTIMPLEMENTED(); 18 NOTIMPLEMENTED();
19 } 19 }
20 20
21 void OpenExternal(const GURL& url) { 21 void OpenExternal(Profile* profile, const GURL& url) {
22 NOTIMPLEMENTED(); 22 NOTIMPLEMENTED();
23 } 23 }
24 24
25 gfx::NativeWindow GetTopLevel(gfx::NativeView view) { 25 gfx::NativeWindow GetTopLevel(gfx::NativeView view) {
26 NOTIMPLEMENTED(); 26 NOTIMPLEMENTED();
27 return view->GetWindowAndroid(); 27 return view->GetWindowAndroid();
28 } 28 }
29 29
30 gfx::NativeView GetParent(gfx::NativeView view) { 30 gfx::NativeView GetParent(gfx::NativeView view) {
31 NOTIMPLEMENTED(); 31 NOTIMPLEMENTED();
32 return view; 32 return view;
33 } 33 }
34 34
35 bool IsWindowActive(gfx::NativeWindow window) { 35 bool IsWindowActive(gfx::NativeWindow window) {
36 NOTIMPLEMENTED(); 36 NOTIMPLEMENTED();
37 return false; 37 return false;
38 } 38 }
39 39
40 void ActivateWindow(gfx::NativeWindow window) { 40 void ActivateWindow(gfx::NativeWindow window) {
41 NOTIMPLEMENTED(); 41 NOTIMPLEMENTED();
42 } 42 }
43 43
44 bool IsVisible(gfx::NativeView view) { 44 bool IsVisible(gfx::NativeView view) {
45 NOTIMPLEMENTED(); 45 NOTIMPLEMENTED();
46 return true; 46 return true;
47 } 47 }
48 48
49 } // namespace platform_util 49 } // namespace platform_util
50
OLDNEW
« no previous file with comments | « chrome/browser/platform_util.h ('k') | chrome/browser/platform_util_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698