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

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

Issue 3012042: Revert 54560 - ... (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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void CallJavascriptFunction(const std::wstring& function_name, 109 void CallJavascriptFunction(const std::wstring& function_name,
110 const Value& arg); 110 const Value& arg);
111 void CallJavascriptFunction(const std::wstring& function_name, 111 void CallJavascriptFunction(const std::wstring& function_name,
112 const Value& arg1, 112 const Value& arg1,
113 const Value& arg2); 113 const Value& arg2);
114 114
115 ThemeProvider* GetThemeProvider() const; 115 ThemeProvider* GetThemeProvider() const;
116 116
117 TabContents* tab_contents() const { return tab_contents_; } 117 TabContents* tab_contents() const { return tab_contents_; }
118 118
119 Profile* GetProfile() const; 119 Profile* GetProfile();
120 120
121 protected: 121 protected:
122 void AddMessageHandler(DOMMessageHandler* handler); 122 void AddMessageHandler(DOMMessageHandler* handler);
123 123
124 // Options that may be overridden by individual DOM UI implementations. The 124 // Options that may be overridden by individual DOM UI implementations. The
125 // bool options default to false. See the public getters for more information. 125 // bool options default to false. See the public getters for more information.
126 bool hide_favicon_; 126 bool hide_favicon_;
127 bool force_bookmark_bar_visible_; 127 bool force_bookmark_bar_visible_;
128 bool force_extension_shelf_visible_; 128 bool force_extension_shelf_visible_;
129 bool focus_location_bar_by_default_; 129 bool focus_location_bar_by_default_;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 // Extract a string value from a list Value. 179 // Extract a string value from a list Value.
180 std::wstring ExtractStringValue(const Value* value); 180 std::wstring ExtractStringValue(const Value* value);
181 181
182 DOMUI* dom_ui_; 182 DOMUI* dom_ui_;
183 183
184 private: 184 private:
185 DISALLOW_COPY_AND_ASSIGN(DOMMessageHandler); 185 DISALLOW_COPY_AND_ASSIGN(DOMMessageHandler);
186 }; 186 };
187 187
188 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_H_ 188 #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