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