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

Side by Side Diff: chrome/browser/views/dom_view.h

Issue 21439: Fix for focus traversal issue in Gears dialogs (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/jsmessage_box_handler_win.cc ('k') | chrome/browser/views/dom_view.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // DOMView is a ChromeView that displays the content of a web DOM. 5 // DOMView is a ChromeView that displays the content of a web DOM.
6 // It should be used with data: URLs. 6 // It should be used with data: URLs.
7 7
8 #ifndef CHROME_BROWSER_VIEWS_DOM_VIEW_H_ 8 #ifndef CHROME_BROWSER_VIEWS_DOM_VIEW_H_
9 #define CHROME_BROWSER_VIEWS_DOM_VIEW_H_ 9 #define CHROME_BROWSER_VIEWS_DOM_VIEW_H_
10 10
(...skipping 10 matching lines...) Expand all
21 explicit DOMView(const GURL& contents); 21 explicit DOMView(const GURL& contents);
22 virtual ~DOMView(); 22 virtual ~DOMView();
23 23
24 // Initialize the view, causing it to load its contents. This should be 24 // Initialize the view, causing it to load its contents. This should be
25 // called once the view has been added to a container. 25 // called once the view has been added to a container.
26 // If |instance| is not null, then the view will be loaded in the same 26 // If |instance| is not null, then the view will be loaded in the same
27 // process as the given instance. 27 // process as the given instance.
28 bool Init(Profile* profile, SiteInstance* instance); 28 bool Init(Profile* profile, SiteInstance* instance);
29 29
30 protected: 30 protected:
31 virtual bool CanProcessTabKeyEvents() { return true; }
32
31 DOMUIHost* host_; 33 DOMUIHost* host_;
32 34
33 private: 35 private:
34 GURL contents_; 36 GURL contents_;
35 bool initialized_; 37 bool initialized_;
36 38
37 DISALLOW_COPY_AND_ASSIGN(DOMView); 39 DISALLOW_COPY_AND_ASSIGN(DOMView);
38 }; 40 };
39 41
40 #endif // CHROME_BROWSER_VIEWS_DOM_VIEW_H_ 42 #endif // CHROME_BROWSER_VIEWS_DOM_VIEW_H_
41 43
OLDNEW
« no previous file with comments | « chrome/browser/jsmessage_box_handler_win.cc ('k') | chrome/browser/views/dom_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698