| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_NATIVE_UI_CONTENTS_H__ | 5 #ifndef CHROME_BROWSER_NATIVE_UI_CONTENTS_H__ |
| 6 #define CHROME_BROWSER_NATIVE_UI_CONTENTS_H__ | 6 #define CHROME_BROWSER_NATIVE_UI_CONTENTS_H__ |
| 7 | 7 |
| 8 #include "chrome/browser/page_state.h" | 8 #include "chrome/browser/page_state.h" |
| 9 #include "chrome/browser/tab_contents.h" | 9 #include "chrome/browser/tab_contents.h" |
| 10 #include "chrome/views/background.h" | 10 #include "chrome/views/background.h" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 // FocusTraversable Implementation | 67 // FocusTraversable Implementation |
| 68 virtual views::View* FindNextFocusableView( | 68 virtual views::View* FindNextFocusableView( |
| 69 views::View* starting_view, | 69 views::View* starting_view, |
| 70 bool reverse, | 70 bool reverse, |
| 71 views::FocusTraversable::Direction direction, | 71 views::FocusTraversable::Direction direction, |
| 72 bool dont_loop, | 72 bool dont_loop, |
| 73 views::FocusTraversable** focus_traversable, | 73 views::FocusTraversable** focus_traversable, |
| 74 views::View** focus_traversable_view); | 74 views::View** focus_traversable_view); |
| 75 virtual views::RootView* GetContentsRootView() { return GetRootView(); } | 75 virtual views::RootView* GetContentsRootView() { return GetRootView(); } |
| 76 | 76 |
| 77 // Return the scheme used. We currently use nativeui: | 77 // Return the scheme used. We currently use chrome-nativeui: |
| 78 static std::string GetScheme(); | 78 static std::string GetScheme(); |
| 79 | 79 |
| 80 // Register a NativeUIFactory for a given path. | 80 // Register a NativeUIFactory for a given path. |
| 81 static void RegisterNativeUIFactory(const GURL& url, | 81 static void RegisterNativeUIFactory(const GURL& url, |
| 82 NativeUIFactory* factory); | 82 NativeUIFactory* factory); |
| 83 | 83 |
| 84 protected: | 84 protected: |
| 85 // Should be deleted via CloseContents. | 85 // Should be deleted via CloseContents. |
| 86 virtual ~NativeUIContents(); | 86 virtual ~NativeUIContents(); |
| 87 | 87 |
| (...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 views::TextField* search_field_; | 286 views::TextField* search_field_; |
| 287 views::NativeButton* search_button_; | 287 views::NativeButton* search_button_; |
| 288 views::ScrollView* scroll_view_; | 288 views::ScrollView* scroll_view_; |
| 289 views::Throbber* throbber_; | 289 views::Throbber* throbber_; |
| 290 | 290 |
| 291 DISALLOW_EVIL_CONSTRUCTORS(SearchableUIContainer); | 291 DISALLOW_EVIL_CONSTRUCTORS(SearchableUIContainer); |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 #endif // CHROME_BROWSER_NATIVE_UI_CONTENTS_H__ | 294 #endif // CHROME_BROWSER_NATIVE_UI_CONTENTS_H__ |
| 295 | 295 |
| OLD | NEW |