OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 bool CanStartDragForView(View* sender, | 371 bool CanStartDragForView(View* sender, |
372 const gfx::Point& press_pt, | 372 const gfx::Point& press_pt, |
373 const gfx::Point& p) override; | 373 const gfx::Point& p) override; |
374 | 374 |
375 // gfx::AnimationDelegate: | 375 // gfx::AnimationDelegate: |
376 void AnimationProgressed(const gfx::Animation* animation) override; | 376 void AnimationProgressed(const gfx::Animation* animation) override; |
377 void AnimationEnded(const gfx::Animation* animation) override; | 377 void AnimationEnded(const gfx::Animation* animation) override; |
378 | 378 |
379 // ChromeOmniboxEditController: | 379 // ChromeOmniboxEditController: |
380 void OnChanged() override; | 380 void OnChanged() override; |
381 void OnSetFocus() override; | |
382 const ToolbarModel* GetToolbarModel() const override; | 381 const ToolbarModel* GetToolbarModel() const override; |
383 | 382 |
384 // DropdownBarHostDelegate: | 383 // DropdownBarHostDelegate: |
385 void SetFocusAndSelection(bool select_all) override; | 384 void SetFocusAndSelection(bool select_all) override; |
386 | 385 |
387 // TemplateURLServiceObserver: | 386 // TemplateURLServiceObserver: |
388 void OnTemplateURLServiceChanged() override; | 387 void OnTemplateURLServiceChanged() override; |
389 | 388 |
390 // The Browser this LocationBarView is in. Note that at least | 389 // The Browser this LocationBarView is in. Note that at least |
391 // chromeos::SimpleWebViewDialog uses a LocationBarView outside any browser | 390 // chromeos::SimpleWebViewDialog uses a LocationBarView outside any browser |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 BooleanPrefMember edit_bookmarks_enabled_; | 468 BooleanPrefMember edit_bookmarks_enabled_; |
470 | 469 |
471 // This is a debug state variable that stores if the WebContents was null | 470 // This is a debug state variable that stores if the WebContents was null |
472 // during the last RefreshPageAction. | 471 // during the last RefreshPageAction. |
473 bool web_contents_null_at_last_refresh_; | 472 bool web_contents_null_at_last_refresh_; |
474 | 473 |
475 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 474 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
476 }; | 475 }; |
477 | 476 |
478 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 477 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |