OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "core/page/Chrome.h" | 42 #include "core/page/Chrome.h" |
43 #include "core/frame/Frame.h" | 43 #include "core/frame/Frame.h" |
44 #include "core/frame/FrameView.h" | 44 #include "core/frame/FrameView.h" |
45 #include "core/page/Page.h" | 45 #include "core/page/Page.h" |
46 #include "core/rendering/RenderTheme.h" | 46 #include "core/rendering/RenderTheme.h" |
47 #include "public/platform/WebString.h" | 47 #include "public/platform/WebString.h" |
48 #include "public/platform/WebVector.h" | 48 #include "public/platform/WebVector.h" |
49 | 49 |
50 using namespace WebCore; | 50 using namespace WebCore; |
51 | 51 |
52 namespace WebKit { | 52 namespace blink { |
53 | 53 |
54 AutofillPopupMenuClient::AutofillPopupMenuClient() | 54 AutofillPopupMenuClient::AutofillPopupMenuClient() |
55 : m_selectedIndex(-1) | 55 : m_selectedIndex(-1) |
56 , m_textField(0) | 56 , m_textField(0) |
57 , m_useLegacyBehavior(false) | 57 , m_useLegacyBehavior(false) |
58 { | 58 { |
59 } | 59 } |
60 | 60 |
61 AutofillPopupMenuClient::~AutofillPopupMenuClient() | 61 AutofillPopupMenuClient::~AutofillPopupMenuClient() |
62 { | 62 { |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 if (!style) { | 340 if (!style) { |
341 // It seems we can only have a 0 style in a TextField if the | 341 // It seems we can only have a 0 style in a TextField if the |
342 // node is detached, in which case we the popup should not be | 342 // node is detached, in which case we the popup should not be |
343 // showing. Please report this in http://crbug.com/7708 and | 343 // showing. Please report this in http://crbug.com/7708 and |
344 // include the page you were visiting. | 344 // include the page you were visiting. |
345 ASSERT_NOT_REACHED(); | 345 ASSERT_NOT_REACHED(); |
346 } | 346 } |
347 return style; | 347 return style; |
348 } | 348 } |
349 | 349 |
350 } // namespace WebKit | 350 } // namespace blink |
OLD | NEW |