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

Side by Side Diff: chrome/browser/extensions/extension_tab_util.h

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 class Browser; 11 class Browser;
12 class Profile; 12 class Profile;
13 class TabContents;
14 class TabContentsWrapper; 13 class TabContentsWrapper;
15 class TabStripModel; 14 class TabStripModel;
16 15
17 namespace base { 16 namespace base {
18 class DictionaryValue; 17 class DictionaryValue;
19 class ListValue; 18 class ListValue;
20 } 19 }
21 20
22 namespace content { 21 namespace content {
23 class WebContents; 22 class WebContents;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may 57 // Any out parameter (|browser|, |tab_strip|, |contents|, & |tab_index|) may
59 // be NULL and will not be set within the function. 58 // be NULL and will not be set within the function.
60 static bool GetTabById(int tab_id, Profile* profile, bool incognito_enabled, 59 static bool GetTabById(int tab_id, Profile* profile, bool incognito_enabled,
61 Browser** browser, 60 Browser** browser,
62 TabStripModel** tab_strip, 61 TabStripModel** tab_strip,
63 TabContentsWrapper** contents, 62 TabContentsWrapper** contents,
64 int* tab_index); 63 int* tab_index);
65 }; 64 };
66 65
67 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__ 66 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_TAB_UTIL_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698