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

Side by Side Diff: chrome/browser/dom_ui/dom_ui.h

Issue 2819086: Removal of TabContentsDelegate::GetBrowser() interface method (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 4 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
« no previous file with comments | « chrome/browser/cocoa/tab_strip_controller_unittest.mm ('k') | chrome/browser/dom_ui/dom_ui.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_DOM_UI_DOM_UI_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_DOM_UI_H_
6 #define CHROME_BROWSER_DOM_UI_DOM_UI_H_ 6 #define CHROME_BROWSER_DOM_UI_DOM_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 const Value& arg2); 113 const Value& arg2);
114 void CallJavascriptFunction(const std::wstring& function_name, 114 void CallJavascriptFunction(const std::wstring& function_name,
115 const Value& arg1, 115 const Value& arg1,
116 const Value& arg2, 116 const Value& arg2,
117 const Value& arg3); 117 const Value& arg3);
118 118
119 ThemeProvider* GetThemeProvider() const; 119 ThemeProvider* GetThemeProvider() const;
120 120
121 TabContents* tab_contents() const { return tab_contents_; } 121 TabContents* tab_contents() const { return tab_contents_; }
122 122
123 Profile* GetProfile(); 123 Profile* GetProfile() const;
124 124
125 protected: 125 protected:
126 void AddMessageHandler(DOMMessageHandler* handler); 126 void AddMessageHandler(DOMMessageHandler* handler);
127 127
128 // Options that may be overridden by individual DOM UI implementations. The 128 // Options that may be overridden by individual DOM UI implementations. The
129 // bool options default to false. See the public getters for more information. 129 // bool options default to false. See the public getters for more information.
130 bool hide_favicon_; 130 bool hide_favicon_;
131 bool force_bookmark_bar_visible_; 131 bool force_bookmark_bar_visible_;
132 bool force_extension_shelf_visible_; 132 bool force_extension_shelf_visible_;
133 bool focus_location_bar_by_default_; 133 bool focus_location_bar_by_default_;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 // Extract a string value from a list Value. 183 // Extract a string value from a list Value.
184 std::wstring ExtractStringValue(const Value* value); 184 std::wstring ExtractStringValue(const Value* value);
185 185
186 DOMUI* dom_ui_; 186 DOMUI* dom_ui_;
187 187
188 private: 188 private:
189 DISALLOW_COPY_AND_ASSIGN(DOMMessageHandler); 189 DISALLOW_COPY_AND_ASSIGN(DOMMessageHandler);
190 }; 190 };
191 191
192 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_H_ 192 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/tab_strip_controller_unittest.mm ('k') | chrome/browser/dom_ui/dom_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698